[INFO] fetching crate on-off-sequence-output 0.2.0... [INFO] building on-off-sequence-output-0.2.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate on-off-sequence-output 0.2.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate on-off-sequence-output 0.2.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52afa58d80382d62b7c3443ae4bc75cb6341db1b181ad36013c9de9ee34c9c6a [INFO] running `Command { std: "docker" "start" "-a" "52afa58d80382d62b7c3443ae4bc75cb6341db1b181ad36013c9de9ee34c9c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52afa58d80382d62b7c3443ae4bc75cb6341db1b181ad36013c9de9ee34c9c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52afa58d80382d62b7c3443ae4bc75cb6341db1b181ad36013c9de9ee34c9c6a", kill_on_drop: false }` [INFO] [stdout] 52afa58d80382d62b7c3443ae4bc75cb6341db1b181ad36013c9de9ee34c9c6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a42080cd81e7da802da24140e193430a9004718ac93861a1929b20dff54c6234 [INFO] running `Command { std: "docker" "start" "-a" "a42080cd81e7da802da24140e193430a9004718ac93861a1929b20dff54c6234", 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.45s [INFO] running `Command { std: "docker" "inspect" "a42080cd81e7da802da24140e193430a9004718ac93861a1929b20dff54c6234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a42080cd81e7da802da24140e193430a9004718ac93861a1929b20dff54c6234", kill_on_drop: false }` [INFO] [stdout] a42080cd81e7da802da24140e193430a9004718ac93861a1929b20dff54c6234 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e89f4955253492503038543aa85b8712152a8421f1b29a489b2e0609208cb65 [INFO] running `Command { std: "docker" "start" "-a" "5e89f4955253492503038543aa85b8712152a8421f1b29a489b2e0609208cb65", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [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 bare-metal v0.2.5 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling stm32f4 v0.10.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling panic-semihosting v0.5.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling aligned v0.3.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/rustcorI9CU/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-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,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/rustcorI9CU/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.fa05ca45ca21721e-cgu.0.rcgu.o:(cortex_m::register::primask::read::h11964a3902d00446) [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.fa05ca45ca21721e-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h74fc0b7100eca633) [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.fa05ca45ca21721e-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h6071e34efb53e81f) [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/rustcoCQT2A/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-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,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/rustcoCQT2A/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.d75d5c581d8fc5fe-cgu.0.rcgu.o:(cortex_m::register::primask::read::hdfb276c3d7b387ec) [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.d75d5c581d8fc5fe-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h93f6eafd53ff5673) [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.d75d5c581d8fc5fe-cgu.0.rcgu.o:(cortex_m::interrupt::disable::he3931e00d80cfef8) [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" "5e89f4955253492503038543aa85b8712152a8421f1b29a489b2e0609208cb65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e89f4955253492503038543aa85b8712152a8421f1b29a489b2e0609208cb65", kill_on_drop: false }` [INFO] [stdout] 5e89f4955253492503038543aa85b8712152a8421f1b29a489b2e0609208cb65