[INFO] fetching crate on-off-sequence-output 0.2.0... [INFO] testing on-off-sequence-output-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate on-off-sequence-output 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate on-off-sequence-output 0.2.0 [INFO] finished tweaking crates.io crate on-off-sequence-output 0.2.0 [INFO] tweaked toml for crates.io crate on-off-sequence-output 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate on-off-sequence-output 0.2.0 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 on-off-sequence-output 0.2.0 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5a832eee91b44f1226b10a1635bd5e1915cdddee3d7a6dfdf2cd55d7d68b0bfc [INFO] running `Command { std: "docker" "start" "-a" "5a832eee91b44f1226b10a1635bd5e1915cdddee3d7a6dfdf2cd55d7d68b0bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a832eee91b44f1226b10a1635bd5e1915cdddee3d7a6dfdf2cd55d7d68b0bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a832eee91b44f1226b10a1635bd5e1915cdddee3d7a6dfdf2cd55d7d68b0bfc", kill_on_drop: false }` [INFO] [stdout] 5a832eee91b44f1226b10a1635bd5e1915cdddee3d7a6dfdf2cd55d7d68b0bfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 911745a14011c0063af4d2832b9a84ca69bc1873e4cb0e27e5cef16924d3f3e1 [INFO] running `Command { std: "docker" "start" "-a" "911745a14011c0063af4d2832b9a84ca69bc1873e4cb0e27e5cef16924d3f3e1", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.5 [INFO] [stderr] Compiling on-off-sequence-output v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "911745a14011c0063af4d2832b9a84ca69bc1873e4cb0e27e5cef16924d3f3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "911745a14011c0063af4d2832b9a84ca69bc1873e4cb0e27e5cef16924d3f3e1", kill_on_drop: false }` [INFO] [stdout] 911745a14011c0063af4d2832b9a84ca69bc1873e4cb0e27e5cef16924d3f3e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 94ebf5a3b8b60b45ea1c8e8d0bd169310ce441bb890677f0dbc84f45b9793281 [INFO] running `Command { std: "docker" "start" "-a" "94ebf5a3b8b60b45ea1c8e8d0bd169310ce441bb890677f0dbc84f45b9793281", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling stm32f4 v0.10.0 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling panic-semihosting v0.5.6 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling aligned v0.3.4 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling stm32f4xx-hal v0.7.0 [INFO] [stderr] Compiling on-off-sequence-output v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tests.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MockedOutputPinError` [INFO] [stdout] 13 | #[fail(display = "An error occurred")] [INFO] [stdout] 14 | pub struct MockedOutputPinError; [INFO] [stdout] | -------------------- `MockedOutputPinError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/tests.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MockedOutputPinError` [INFO] [stdout] 13 | #[fail(display = "An error occurred")] [INFO] [stdout] 14 | pub struct MockedOutputPinError; [INFO] [stdout] | -------------------- `MockedOutputPinError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcrnseze/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstm32f4xx_hal-00b010c97e8b563d,libcast-aa6a6e2efd101732,libstm32f4-42e0d75ae7ddfcbd,libon_off_sequence_output-7ea3b84edf35d548,libpanic_semihosting-c71d7883e9cba725}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libcortex_m_rt-c24ff8502a580f7b,libr0-98c2ece3e96462d7,libcortex_m-d6573c387732d1ad,libcortex_m-6307db4b4144716f,libembedded_hal-8c84c994caf03b85,libvoid-9163cd71c286a90e,libnb-84c23787cc8af287,libnb-50c6ba2667b3d02b,libvolatile_register-cbbd2d3b5b351fec,libvcell-d64dabacbc42077e,libbare_metal-f581e6a1989c1687,libaligned-3a60c9832c71c0cc,libas_slice-46e58cae3f1cfc28,libstable_deref_trait-5f51a5ca749ede17,libgeneric_array-3d707386d915f719,libgeneric_array-d6acd72a038c8ffc,libgeneric_array-67c3d934e4a4fd89,libtypenum-6faf34acd2cfd55f}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcrnseze/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-341a40e5fd58a6a1/out" "-L" "/opt/rustwide/target/debug/build/stm32f4-b66460ff6760fc16/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/show_rust_is_good-280bddfb5c002145" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: __primask_r [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/show_rust_is_good-280bddfb5c002145.show_rust_is_good.d3e0de8bdde62189-cgu.0.rcgu.o:(cortex_m::register::primask::read::he864852148342c71) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsid [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/show_rust_is_good-280bddfb5c002145.show_rust_is_good.d3e0de8bdde62189-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h02d950e8e5ca2c08) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsie [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/show_rust_is_good-280bddfb5c002145.show_rust_is_good.d3e0de8bdde62189-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h11d29da69d6eefff) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `on-off-sequence-output` (example "show-rust-is-good") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcvTCth2/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstm32f4xx_hal-00b010c97e8b563d,libcast-aa6a6e2efd101732,libstm32f4-42e0d75ae7ddfcbd,libon_off_sequence_output-7ea3b84edf35d548,libpanic_semihosting-c71d7883e9cba725}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libcortex_m_rt-c24ff8502a580f7b,libr0-98c2ece3e96462d7,libcortex_m-d6573c387732d1ad,libcortex_m-6307db4b4144716f,libembedded_hal-8c84c994caf03b85,libvoid-9163cd71c286a90e,libnb-84c23787cc8af287,libnb-50c6ba2667b3d02b,libvolatile_register-cbbd2d3b5b351fec,libvcell-d64dabacbc42077e,libbare_metal-f581e6a1989c1687,libaligned-3a60c9832c71c0cc,libas_slice-46e58cae3f1cfc28,libstable_deref_trait-5f51a5ca749ede17,libgeneric_array-3d707386d915f719,libgeneric_array-d6acd72a038c8ffc,libgeneric_array-67c3d934e4a4fd89,libtypenum-6faf34acd2cfd55f}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcvTCth2/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-341a40e5fd58a6a1/out" "-L" "/opt/rustwide/target/debug/build/stm32f4-b66460ff6760fc16/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/show_led_output-518fb820a76df2c8" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: __primask_r [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/show_led_output-518fb820a76df2c8.show_led_output.157bb679bf299e48-cgu.0.rcgu.o:(cortex_m::register::primask::read::hd6132a1f1e3eac17) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsid [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/show_led_output-518fb820a76df2c8.show_led_output.157bb679bf299e48-cgu.0.rcgu.o:(cortex_m::interrupt::disable::hfdc311de31b7c17f) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __cpsie [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/show_led_output-518fb820a76df2c8.show_led_output.157bb679bf299e48-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h0ee4ad54780b6d9b) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `on-off-sequence-output` (example "show-led-output") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "94ebf5a3b8b60b45ea1c8e8d0bd169310ce441bb890677f0dbc84f45b9793281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94ebf5a3b8b60b45ea1c8e8d0bd169310ce441bb890677f0dbc84f45b9793281", kill_on_drop: false }` [INFO] [stdout] 94ebf5a3b8b60b45ea1c8e8d0bd169310ce441bb890677f0dbc84f45b9793281