[INFO] fetching crate on-off-sequence-output 0.2.0... [INFO] testing on-off-sequence-output-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate on-off-sequence-output 0.2.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate on-off-sequence-output 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aligned v0.3.4 [INFO] [stderr] Downloaded cast v0.2.6 [INFO] [stderr] Downloaded cortex-m-rt v0.6.14 [INFO] [stderr] Downloaded stm32f4xx-hal v0.7.0 [INFO] [stderr] Downloaded stm32f4 v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 780d2275a7c4c766c12fbf8631742f01967fa765969f3d97c51efb37f983d962 [INFO] running `Command { std: "docker" "start" "-a" "780d2275a7c4c766c12fbf8631742f01967fa765969f3d97c51efb37f983d962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "780d2275a7c4c766c12fbf8631742f01967fa765969f3d97c51efb37f983d962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "780d2275a7c4c766c12fbf8631742f01967fa765969f3d97c51efb37f983d962", kill_on_drop: false }` [INFO] [stdout] 780d2275a7c4c766c12fbf8631742f01967fa765969f3d97c51efb37f983d962 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca63f3ad0e261730e273b062aaa8e0094781dc32a307a534aa329cae6df99b97 [INFO] running `Command { std: "docker" "start" "-a" "ca63f3ad0e261730e273b062aaa8e0094781dc32a307a534aa329cae6df99b97", kill_on_drop: false }` [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.52s [INFO] running `Command { std: "docker" "inspect" "ca63f3ad0e261730e273b062aaa8e0094781dc32a307a534aa329cae6df99b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca63f3ad0e261730e273b062aaa8e0094781dc32a307a534aa329cae6df99b97", kill_on_drop: false }` [INFO] [stdout] ca63f3ad0e261730e273b062aaa8e0094781dc32a307a534aa329cae6df99b97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5da3e7a78cb06af0f0fe6efbf36575754541546358bd021de0639d48b704d962 [INFO] running `Command { std: "docker" "start" "-a" "5da3e7a78cb06af0f0fe6efbf36575754541546358bd021de0639d48b704d962", kill_on_drop: false }` [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 volatile-register v0.2.0 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Compiling stm32f4 v0.10.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling panic-semihosting v0.5.6 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling aligned v0.3.4 [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 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc5jHmbr/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/rustc5jHmbr/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.e780a3c4c89c5d68-cgu.0.rcgu.o:(cortex_m::register::primask::read::hcd6edfaa5bcb7236) [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.e780a3c4c89c5d68-cgu.0.rcgu.o:(cortex_m::interrupt::enable::hacebfdb7d3ea1b97) [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.e780a3c4c89c5d68-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h897cf3fc2da89d12) [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] [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/rustcKO9Vxa/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/rustcKO9Vxa/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.ef7c8092afb3a2cc-cgu.0.rcgu.o:(cortex_m::register::primask::read::hacb7ed1f736281bd) [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.ef7c8092afb3a2cc-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h7a02364d90a5ab09) [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.ef7c8092afb3a2cc-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h26dcf7b54e3498fe) [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] [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] running `Command { std: "docker" "inspect" "5da3e7a78cb06af0f0fe6efbf36575754541546358bd021de0639d48b704d962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5da3e7a78cb06af0f0fe6efbf36575754541546358bd021de0639d48b704d962", kill_on_drop: false }` [INFO] [stdout] 5da3e7a78cb06af0f0fe6efbf36575754541546358bd021de0639d48b704d962