Compilation fails when sccache is enabled and the project is using both tokio
and tower
.
After a successful build attempt (like without sccache
enabled), you need to run cargo clean
before building again to trigger the failure.
If you do not have sccache enabled on your machine, you can enable it by configuring .cargo/config.toml
in this workspace.
rustc --version
rustc 1.52.1 (9bc8c42bb 2021-05-09)
cargo --version
cargo 1.52.0 (69767412a 2021-04-21)
cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
cargo build
Compiling tracing-attributes v0.1.15
Compiling pin-project-internal v1.0.7
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.0.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.1.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.10.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.11.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.12.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.13.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.14.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.15.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.2.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.3.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.4.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.5.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.6.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.7.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.8.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.tracing_attributes.76vscsrw-cgu.9.rcgu.o" "-o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libtracing_attributes-9bbd77c54f3a9727.so" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.fxh67xdllci1njl.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/tracing_attributes-9bbd77c54f3a9727.2w8dnia51mvu0u4s.rcgu.o" "-Wl,--gc-sections" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps" "-L" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libquote-ffca3a575e03fcae.rlib" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libproc_macro2-7c27e3daa2151974.rlib" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libunicode_xid-f3fc87338660d4fb.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-6b77e8a32e7454ae.rlib" "-Wl,--start-group" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0a9489cf400f65e4.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ff5dc44c66f8c479.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3317c66a83501f9c.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-5d8dec11fc25537d.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3af2a9328550e2a6.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-3092e2ecef0f49f1.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-29b776c021389465.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8873bd287db0d28.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-1171b49d77e47426.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c29894d22dc88b51.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-796a7750df3d8218.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ff7772d803d3e0de.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-dae3eac9cfa44200.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0fa02f580e987af5.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7f7254233be843ed.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1395c6db3d116086.rlib" "-Wl,--end-group" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b4bd87926720b651.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
= note: /home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.0.rcgu.o): In function `core::option::Option<T>::map':
/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:487: undefined reference to `syn::attr::Attribute::parse_meta::{{closure}}'
/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.0.rcgu.o): In function `core::option::Option<T>::filter':
/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:757: undefined reference to `syn::lit::value::to_literal::{{closure}}::{{closure}}'
/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.0.rcgu.o): In function `core::option::Option<T>::filter':
/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:757: undefined reference to `syn::lit::value::to_literal::{{closure}}::{{closure}}'
/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.10.rcgu.o): In function `<alloc::string::String as core::ops::index::Index<core::ops::range::RangeFull>>::index':
/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/string.rs:2126: undefined reference to `core::str::converts::from_utf8_unchecked'
/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.10.rcgu.o): In function `<alloc::string::String as core::ops::deref::Deref>::deref':
/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/string.rs:2197: undefined reference to `core::str::converts::from_utf8_unchecked'
/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.10.rcgu.o): In function `<proc_macro2::Group as syn::token::Token>::peek':
/home/mike/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.72/src/token.rs:173: undefined reference to `<proc_macro2::Group as syn::token::Token>::peek::peek'
/usr/bin/ld: /home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.10.rcgu.o): relocation R_X86_64_PC32 against undefined hidden symbol `_ZN56_$LT$proc_macro2..Group$u20$as$u20$syn..token..Token$GT$4peek4peek17h4df7377f7fa83a26E' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: could not compile `tracing-attributes`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.0.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.1.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.10.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.11.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.12.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.13.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.14.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.15.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.2.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.3.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.4.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.5.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.6.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.7.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.8.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.pin_project_internal.4fpmhzhm-cgu.9.rcgu.o" "-o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libpin_project_internal-8b30c5dd30e74baa.so" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.4iw8il4huabth3s6.rcgu.o" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/pin_project_internal-8b30c5dd30e74baa.10v20ktbykrxt0a7.rcgu.o" "-Wl,--gc-sections" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps" "-L" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libquote-ffca3a575e03fcae.rlib" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libproc_macro2-7c27e3daa2151974.rlib" "/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libunicode_xid-f3fc87338660d4fb.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-6b77e8a32e7454ae.rlib" "-Wl,--start-group" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0a9489cf400f65e4.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ff5dc44c66f8c479.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3317c66a83501f9c.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-5d8dec11fc25537d.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3af2a9328550e2a6.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-3092e2ecef0f49f1.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-29b776c021389465.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8873bd287db0d28.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-1171b49d77e47426.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c29894d22dc88b51.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-796a7750df3d8218.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ff7772d803d3e0de.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-dae3eac9cfa44200.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0fa02f580e987af5.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7f7254233be843ed.rlib" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1395c6db3d116086.rlib" "-Wl,--end-group" "/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b4bd87926720b651.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
= note: /home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.0.rcgu.o): In function `core::option::Option<T>::map':
/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:487: undefined reference to `syn::attr::Attribute::parse_meta::{{closure}}'
/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.0.rcgu.o): In function `core::option::Option<T>::filter':
/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:757: undefined reference to `syn::lit::value::to_literal::{{closure}}::{{closure}}'
/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.0.rcgu.o): In function `core::option::Option<T>::filter':
/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:757: undefined reference to `syn::lit::value::to_literal::{{closure}}::{{closure}}'
/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.10.rcgu.o): In function `<alloc::string::String as core::ops::index::Index<core::ops::range::RangeFull>>::index':
/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/string.rs:2126: undefined reference to `core::str::converts::from_utf8_unchecked'
/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.10.rcgu.o): In function `<alloc::string::String as core::ops::deref::Deref>::deref':
/home/mike/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/string.rs:2197: undefined reference to `core::str::converts::from_utf8_unchecked'
/home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.10.rcgu.o): In function `<proc_macro2::Group as syn::token::Token>::peek':
/home/mike/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.72/src/token.rs:173: undefined reference to `<proc_macro2::Group as syn::token::Token>::peek::peek'
/usr/bin/ld: /home/mike/workspace/rust-tutorials/compile-test/target/debug/deps/libsyn-d9a1ac4d5375de48.rlib(syn-d9a1ac4d5375de48.syn.3r20z0rz-cgu.10.rcgu.o): relocation R_X86_64_PC32 against undefined hidden symbol `_ZN56_$LT$proc_macro2..Group$u20$as$u20$syn..token..Token$GT$4peek4peek17h4df7377f7fa83a26E' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: build failed