[INFO] fetching crate linker-sections 0.2.1... [INFO] testing linker-sections-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate linker-sections 0.2.1 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate linker-sections 0.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded with_builtin_macros-proc_macros v0.1.0 [INFO] [stderr] Downloaded with_builtin_macros v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b20003439547e5a503acad86c0e7d7502374775ccc1b25ecaf3652e098234bb8 [INFO] running `Command { std: "docker" "start" "-a" "b20003439547e5a503acad86c0e7d7502374775ccc1b25ecaf3652e098234bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b20003439547e5a503acad86c0e7d7502374775ccc1b25ecaf3652e098234bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b20003439547e5a503acad86c0e7d7502374775ccc1b25ecaf3652e098234bb8", kill_on_drop: false }` [INFO] [stdout] b20003439547e5a503acad86c0e7d7502374775ccc1b25ecaf3652e098234bb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f84e172c8e838c19f83f3b9156d2933d67a85e1de4be8d1d4d9cb0e76fb1fd3f [INFO] running `Command { std: "docker" "start" "-a" "f84e172c8e838c19f83f3b9156d2933d67a85e1de4be8d1d4d9cb0e76fb1fd3f", 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.40s [INFO] running `Command { std: "docker" "inspect" "f84e172c8e838c19f83f3b9156d2933d67a85e1de4be8d1d4d9cb0e76fb1fd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84e172c8e838c19f83f3b9156d2933d67a85e1de4be8d1d4d9cb0e76fb1fd3f", kill_on_drop: false }` [INFO] [stdout] f84e172c8e838c19f83f3b9156d2933d67a85e1de4be8d1d4d9cb0e76fb1fd3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29ea555d281bf7abdb37a13a4c12e6f98b51ee84eedbc08267be3cec7750618c [INFO] running `Command { std: "docker" "start" "-a" "29ea555d281bf7abdb37a13a4c12e6f98b51ee84eedbc08267be3cec7750618c", 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.38s [INFO] running `Command { std: "docker" "inspect" "29ea555d281bf7abdb37a13a4c12e6f98b51ee84eedbc08267be3cec7750618c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29ea555d281bf7abdb37a13a4c12e6f98b51ee84eedbc08267be3cec7750618c", kill_on_drop: false }` [INFO] [stdout] 29ea555d281bf7abdb37a13a4c12e6f98b51ee84eedbc08267be3cec7750618c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 293be8ea4103a08712f749d8ae05b2c27ef2731ebeca2e5c3c4fdbf550a7e841 [INFO] running `Command { std: "docker" "start" "-a" "293be8ea4103a08712f749d8ae05b2c27ef2731ebeca2e5c3c4fdbf550a7e841", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/linker_sections-eb87af8508697f0d) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests linker_sections [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 173) ... 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 - (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections (line 152) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections_with_prefixes (line 206) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections_with_prefixes (line 209) ... FAILED [INFO] [stdout] test src/lib.rs - (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections (line 155) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections (line 149) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 174 | init_sections_with_prefixes!(custom_data(__s, __e, __si)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 173 + 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_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] 204 | 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] 203 + 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] 15 | init_sections!(buffers, sram2, sram3); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + 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 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] 23 | init_sections_with_prefixes!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 22 + 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] 153 | init_sections!(section_a, section_b, section_c,); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 152 + 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 119) stdout ---- [INFO] [stdout] error: cannot find macro `init_sections` in this scope [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | init_sections!(custom_data) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 119 + 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 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] 207 | init_sections_with_prefixes!(section_a(__s,__e,__si),); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 206 + 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_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] 210 | init_sections_with_prefixes!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 209 + 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 62) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `defmt_rtt`, `panic_probe` [INFO] [stdout] --> src/lib.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | 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] 80 | #[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] 84 | 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] 75 | #[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 (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] 156 | init_sections!(section_a section_b section_c); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 155 + 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] 150 | init_sections!(section_a, section_b, section_c); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 149 + 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.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "293be8ea4103a08712f749d8ae05b2c27ef2731ebeca2e5c3c4fdbf550a7e841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "293be8ea4103a08712f749d8ae05b2c27ef2731ebeca2e5c3c4fdbf550a7e841", kill_on_drop: false }` [INFO] [stdout] 293be8ea4103a08712f749d8ae05b2c27ef2731ebeca2e5c3c4fdbf550a7e841