[INFO] fetching crate linker-sections 0.2.1... [INFO] testing linker-sections-0.2.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate linker-sections 0.2.1 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate linker-sections 0.2.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4906c091b3663cedc583a9074a4b811cd0c83e1607f67d6f887cb26b474f4336 [INFO] running `Command { std: "docker" "start" "-a" "4906c091b3663cedc583a9074a4b811cd0c83e1607f67d6f887cb26b474f4336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4906c091b3663cedc583a9074a4b811cd0c83e1607f67d6f887cb26b474f4336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4906c091b3663cedc583a9074a4b811cd0c83e1607f67d6f887cb26b474f4336", kill_on_drop: false }` [INFO] [stdout] 4906c091b3663cedc583a9074a4b811cd0c83e1607f67d6f887cb26b474f4336 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16070e897f9a655b26b991f966ee4349cc9605031bba856707a02c3c7ddf7872 [INFO] running `Command { std: "docker" "start" "-a" "16070e897f9a655b26b991f966ee4349cc9605031bba856707a02c3c7ddf7872", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [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 2.96s [INFO] running `Command { std: "docker" "inspect" "16070e897f9a655b26b991f966ee4349cc9605031bba856707a02c3c7ddf7872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16070e897f9a655b26b991f966ee4349cc9605031bba856707a02c3c7ddf7872", kill_on_drop: false }` [INFO] [stdout] 16070e897f9a655b26b991f966ee4349cc9605031bba856707a02c3c7ddf7872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16121649302cfe1650a933fb21eab7a46f9a7c496f6207d3c51e413d554f638e [INFO] running `Command { std: "docker" "start" "-a" "16121649302cfe1650a933fb21eab7a46f9a7c496f6207d3c51e413d554f638e", 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.10s [INFO] running `Command { std: "docker" "inspect" "16121649302cfe1650a933fb21eab7a46f9a7c496f6207d3c51e413d554f638e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16121649302cfe1650a933fb21eab7a46f9a7c496f6207d3c51e413d554f638e", kill_on_drop: false }` [INFO] [stdout] 16121649302cfe1650a933fb21eab7a46f9a7c496f6207d3c51e413d554f638e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 56f0f0a915d7d3927801ec00e266db6b7ffc4595309b5a5a5f7daf64efdd35b6 [INFO] running `Command { std: "docker" "start" "-a" "56f0f0a915d7d3927801ec00e266db6b7ffc4595309b5a5a5f7daf64efdd35b6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/linker_sections-496205c5486a8c2b) [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] [stderr] Doc-tests linker_sections [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - init_sections (line 149) ... FAILED [INFO] [stdout] test src/lib.rs - (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections (line 152) ... FAILED [INFO] [stdout] test src/lib.rs - (line 14) ... 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 203) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections (line 155) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections_with_prefixes (line 209) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections_with_prefixes (line 173) ... FAILED [INFO] [stdout] test src/lib.rs - init_sections (line 119) ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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]: cannot find module or crate `cortex_m_rt` in this scope [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]: cannot find module or crate `defmt` in this scope [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]: cannot find module or crate `cortex_m_rt` in this scope [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 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 - (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 - 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 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 - 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_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 - 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 (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 - (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] [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.05s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "56f0f0a915d7d3927801ec00e266db6b7ffc4595309b5a5a5f7daf64efdd35b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f0f0a915d7d3927801ec00e266db6b7ffc4595309b5a5a5f7daf64efdd35b6", kill_on_drop: false }` [INFO] [stdout] 56f0f0a915d7d3927801ec00e266db6b7ffc4595309b5a5a5f7daf64efdd35b6