[INFO] fetching crate linker-sections 0.2.1... [INFO] testing linker-sections-0.2.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate linker-sections 0.2.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate linker-sections 0.2.1 [INFO] finished tweaking crates.io crate linker-sections 0.2.1 [INFO] tweaked toml for crates.io crate linker-sections 0.2.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate linker-sections 0.2.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate linker-sections 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6233e5bc0c7d9775e56ddb011c80595b3823f1c153d219f2e79095ef9e58538f [INFO] running `Command { std: "docker" "start" "-a" "6233e5bc0c7d9775e56ddb011c80595b3823f1c153d219f2e79095ef9e58538f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6233e5bc0c7d9775e56ddb011c80595b3823f1c153d219f2e79095ef9e58538f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6233e5bc0c7d9775e56ddb011c80595b3823f1c153d219f2e79095ef9e58538f", kill_on_drop: false }` [INFO] [stdout] 6233e5bc0c7d9775e56ddb011c80595b3823f1c153d219f2e79095ef9e58538f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88ea9b7bde83fcbcb8398dfe061df5e6cd29f6a2b0349ef53bcfc47bf90d63b4 [INFO] running `Command { std: "docker" "start" "-a" "88ea9b7bde83fcbcb8398dfe061df5e6cd29f6a2b0349ef53bcfc47bf90d63b4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling with_builtin_macros-proc_macros v0.1.0 [INFO] [stderr] Compiling with_builtin_macros v0.1.0 [INFO] [stderr] Compiling linker-sections v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.38s [INFO] running `Command { std: "docker" "inspect" "88ea9b7bde83fcbcb8398dfe061df5e6cd29f6a2b0349ef53bcfc47bf90d63b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88ea9b7bde83fcbcb8398dfe061df5e6cd29f6a2b0349ef53bcfc47bf90d63b4", kill_on_drop: false }` [INFO] [stdout] 88ea9b7bde83fcbcb8398dfe061df5e6cd29f6a2b0349ef53bcfc47bf90d63b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43d30f53b9a8f8783f71cbde544770f9d2f07704d9df58a3d02702c65c20facb [INFO] running `Command { std: "docker" "start" "-a" "43d30f53b9a8f8783f71cbde544770f9d2f07704d9df58a3d02702c65c20facb", kill_on_drop: false }` [INFO] [stderr] Compiling linker-sections v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "43d30f53b9a8f8783f71cbde544770f9d2f07704d9df58a3d02702c65c20facb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43d30f53b9a8f8783f71cbde544770f9d2f07704d9df58a3d02702c65c20facb", kill_on_drop: false }` [INFO] [stdout] 43d30f53b9a8f8783f71cbde544770f9d2f07704d9df58a3d02702c65c20facb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6c231231b374c20c7399f8fe7622f4defb967dd53f513c1d2fb2ae3465d32d0d [INFO] running `Command { std: "docker" "start" "-a" "6c231231b374c20c7399f8fe7622f4defb967dd53f513c1d2fb2ae3465d32d0d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/linker_sections-eb87af8508697f0d) [INFO] [stderr] Doc-tests linker_sections [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - init_sections_with_prefixes (line 209) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections_with_prefixes (line 206) ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections (line 152) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections_with_prefixes (line 203) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections (line 149) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections_with_prefixes (line 173) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections (line 155) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - init_sections_with_prefixes (line 209) stdout ---- [INFO] [stdout] error: cannot find macro `init_sections_with_prefixes` in this scope [INFO] [stdout] --> src/lib.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 3 | init_sections_with_prefixes!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use linker_sections::init_sections_with_prefixes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init_sections (line 119) stdout ---- [INFO] [stdout] error: cannot find macro `init_sections` in this scope [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 3 | init_sections!(custom_data) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use linker_sections::init_sections; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 62) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `defmt_rtt`, `panic_probe` [INFO] [stdout] --> src/lib.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 9 | use {defmt_rtt as _, panic_probe as _}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no external crate `panic_probe` [INFO] [stdout] | | [INFO] [stdout] | no external crate `defmt_rtt` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] --> src/lib.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[cortex_m_rt::entry] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `defmt` [INFO] [stdout] --> src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 24 | defmt::info!("STATIC_VARIABLE = 0x{:08X}", STATIC_VARIABLE); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `defmt` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] --> src/lib.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[cortex_m_rt::pre_init] [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt` [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init_sections_with_prefixes (line 206) stdout ---- [INFO] [stdout] error: cannot find macro `init_sections_with_prefixes` in this scope [INFO] [stdout] --> src/lib.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 3 | init_sections_with_prefixes!(section_a(__s,__e,__si),); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use linker_sections::init_sections_with_prefixes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] error: cannot find macro `init_sections_with_prefixes` in this scope [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 3 | init_sections_with_prefixes!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use linker_sections::init_sections_with_prefixes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init_sections (line 152) stdout ---- [INFO] [stdout] error: cannot find macro `init_sections` in this scope [INFO] [stdout] --> src/lib.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 3 | init_sections!(section_a, section_b, section_c,); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use linker_sections::init_sections; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init_sections_with_prefixes (line 203) stdout ---- [INFO] [stdout] error: cannot find macro `init_sections_with_prefixes` in this scope [INFO] [stdout] --> src/lib.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 3 | init_sections_with_prefixes!(section_a(__s, __e __si), section_b(__s, __e, __si)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use linker_sections::init_sections_with_prefixes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error: cannot find macro `init_sections` in this scope [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 3 | init_sections!(buffers, sram2, sram3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use linker_sections::init_sections; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init_sections (line 149) stdout ---- [INFO] [stdout] error: cannot find macro `init_sections` in this scope [INFO] [stdout] --> src/lib.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 3 | init_sections!(section_a, section_b, section_c); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use linker_sections::init_sections; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init_sections_with_prefixes (line 173) stdout ---- [INFO] [stdout] error: cannot find macro `init_sections_with_prefixes` in this scope [INFO] [stdout] --> src/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 3 | init_sections_with_prefixes!(custom_data(__s, __e, __si)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use linker_sections::init_sections_with_prefixes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init_sections (line 155) stdout ---- [INFO] [stdout] error: cannot find macro `init_sections` in this scope [INFO] [stdout] --> src/lib.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 3 | init_sections!(section_a section_b section_c); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use linker_sections::init_sections; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 22) [INFO] [stdout] src/lib.rs - (line 62) [INFO] [stdout] src/lib.rs - init_sections (line 119) [INFO] [stdout] src/lib.rs - init_sections (line 149) [INFO] [stdout] src/lib.rs - init_sections (line 152) [INFO] [stdout] src/lib.rs - init_sections (line 155) [INFO] [stdout] src/lib.rs - init_sections_with_prefixes (line 173) [INFO] [stdout] src/lib.rs - init_sections_with_prefixes (line 203) [INFO] [stdout] src/lib.rs - init_sections_with_prefixes (line 206) [INFO] [stdout] src/lib.rs - init_sections_with_prefixes (line 209) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6c231231b374c20c7399f8fe7622f4defb967dd53f513c1d2fb2ae3465d32d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c231231b374c20c7399f8fe7622f4defb967dd53f513c1d2fb2ae3465d32d0d", kill_on_drop: false }` [INFO] [stdout] 6c231231b374c20c7399f8fe7622f4defb967dd53f513c1d2fb2ae3465d32d0d