[INFO] fetching crate st7920 0.4.1... [INFO] testing st7920-0.4.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate st7920 0.4.1 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking crates.io crate st7920 0.4.1 [INFO] finished tweaking crates.io crate st7920 0.4.1 [INFO] tweaked toml for crates.io crate st7920 0.4.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate st7920 0.4.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate st7920 0.4.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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rt v0.7.3 [INFO] [stderr] Downloaded critical-section v1.1.2 [INFO] [stderr] Downloaded embedded-graphics-core v0.4.0 [INFO] [stderr] Downloaded embedded-hal-bus v0.1.0 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded stm32f4xx-hal v0.20.0 [INFO] [stderr] Downloaded document-features v0.2.8 [INFO] [stderr] Downloaded syn v1.0.14 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.7.0 [INFO] [stderr] Downloaded cortex-m-semihosting v0.5.0 [INFO] [stderr] Downloaded panic-semihosting v0.6.0 [INFO] [stderr] Downloaded embedded-dma v0.2.0 [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0 [INFO] [stderr] Downloaded embedded-storage v0.3.1 [INFO] [stderr] Downloaded fugit-timer v0.1.3 [INFO] [stderr] Downloaded micromath v2.1.0 [INFO] [stderr] Downloaded embedded-graphics v0.8.1 [INFO] [stderr] Downloaded stm32f4 v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21497410e6d3b7059d3e6bedbcec48d4e76b8078da96a039e42b94fd4fffe2c0 [INFO] running `Command { std: "docker" "start" "-a" "21497410e6d3b7059d3e6bedbcec48d4e76b8078da96a039e42b94fd4fffe2c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21497410e6d3b7059d3e6bedbcec48d4e76b8078da96a039e42b94fd4fffe2c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21497410e6d3b7059d3e6bedbcec48d4e76b8078da96a039e42b94fd4fffe2c0", kill_on_drop: false }` [INFO] [stdout] 21497410e6d3b7059d3e6bedbcec48d4e76b8078da96a039e42b94fd4fffe2c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f61222188722abd909403e63da3f20af7b98801a73adf46a08ed691fa48a716c [INFO] running `Command { std: "docker" "start" "-a" "f61222188722abd909403e63da3f20af7b98801a73adf46a08ed691fa48a716c", kill_on_drop: false }` [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling micromath v2.1.0 [INFO] [stderr] Compiling st7920 v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling embedded-graphics-core v0.4.0 [INFO] [stderr] Compiling embedded-graphics v0.8.1 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Instruction` [INFO] [stdout] 30 | enum Instruction { [INFO] [stdout] | ----------- `Instruction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.30s [INFO] running `Command { std: "docker" "inspect" "f61222188722abd909403e63da3f20af7b98801a73adf46a08ed691fa48a716c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f61222188722abd909403e63da3f20af7b98801a73adf46a08ed691fa48a716c", kill_on_drop: false }` [INFO] [stdout] f61222188722abd909403e63da3f20af7b98801a73adf46a08ed691fa48a716c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97849d11fc473d46b4d8356351b424c08cb42c251581351153298f5402d95bf0 [INFO] running `Command { std: "docker" "start" "-a" "97849d11fc473d46b4d8356351b424c08cb42c251581351153298f5402d95bf0", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling critical-section v1.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Compiling stm32f4 v0.15.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling stm32f4xx-hal v0.20.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling embedded-hal-bus v0.1.0 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling embedded-dma v0.2.0 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling embedded-storage v0.3.1 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Instruction` [INFO] [stdout] 30 | enum Instruction { [INFO] [stdout] | ----------- `Instruction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling fugit-timer v0.1.3 [INFO] [stderr] Compiling enumflags2 v0.7.8 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling panic-semihosting v0.6.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling st7920 v0.4.1 (/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/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Instruction` [INFO] [stdout] 30 | enum Instruction { [INFO] [stdout] | ----------- `Instruction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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/rustc4tv6L3/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libst7920-a0fa63d85e09402b,libembedded_hal_bus-6bda3e9713b2681c,libcritical_section-eb0a59835236119f,libembedded_graphics-ef81ab839afb54c2,libbyteorder-7df9ab1ae37e1368,libfloat_cmp-f18881dbf3bc0c0c,libnum_traits-56fbc612090db750,libmicromath-8def6f6ddfd261c8,libembedded_graphics_core-86abaf672ee23875,libaz-fbf8829fc7ff3962,libstm32f4xx_hal-9df10aa3615f162e,libfugit_timer-551b36cab2f3c52b,libtime-ca7da47a5c115b19,libtime_core-4e44e5dcd53c485d,libnum_conv-2c976fbf8b8f2899,libderanged-0cb265a44822f1d1,libpowerfmt-a0c185df26c26a22,libembedded_hal_nb-c6351c295e52f3ab,libembedded_storage-b929871147660e05,libembedded_dma-c096b0f5afd7cc19,libstable_deref_trait-5f51a5ca749ede17,librand_core-3c8eee2b567cdf8f,libfugit-dbf1c77b2c800327,libgcd-3c8133381d9a669f,libstm32f4-34b1e2fd269e3c02,libembedded_hal-c742198270301beb,libenumflags2-4f9ada75aab46747,libcortex_m_rt-59d8871a6dd7a956,libcortex_m-56f08fcb650ebd18,libembedded_hal-3298c875f81ec945,libvoid-9163cd71c286a90e,libnb-09b9e2afdb2ba10b,libnb-86f78d16dd59c3ce,libvolatile_register-cbbd2d3b5b351fec,libvcell-d64dabacbc42077e,libbare_metal-f581e6a1989c1687,libpanic_semihosting-ef68c6be58a214fe}.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-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc4tv6L3/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/st7920-7e375bf4a3a24daa/out" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-7c90d73e45b1c29d/out" "-L" "/opt/rustwide/target/debug/build/stm32f4-9d8c53910cceb12d/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/graphics-4114b5675af2c525" "-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.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/graphics-4114b5675af2c525.graphics.ea89fb914170a5ea-cgu.1.rcgu.o:(cortex_m::register::primask::read::h48c3cc5f190c5f9e) [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.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/graphics-4114b5675af2c525.graphics.ea89fb914170a5ea-cgu.1.rcgu.o:(cortex_m::interrupt::enable::ha1f8823c9eb61101) [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.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/graphics-4114b5675af2c525.graphics.ea89fb914170a5ea-cgu.1.rcgu.o:(cortex_m::interrupt::disable::hdc854fef5f49f7cc) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __dsb [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/graphics-4114b5675af2c525.graphics.ea89fb914170a5ea-cgu.0.rcgu.o:(cortex_m::asm::dsb::h1aa889f12ac86d3f) [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> stm32f4xx_hal-9df10aa3615f162e.stm32f4xx_hal.fcce21a3ab59d844-cgu.15.rcgu.o:(cortex_m::asm::dsb::ha3cfb578abb4b6c2) in archive /opt/rustwide/target/debug/deps/libstm32f4xx_hal-9df10aa3615f162e.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __delay [INFO] [stdout] >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.7/src/call_asm.rs:19) [INFO] [stdout] >>> stm32f4xx_hal-9df10aa3615f162e.stm32f4xx_hal.fcce21a3ab59d844-cgu.15.rcgu.o:(cortex_m::asm::delay::h07bebc5c6ca7afd1) in archive /opt/rustwide/target/debug/deps/libstm32f4xx_hal-9df10aa3615f162e.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `st7920` (example "graphics") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "97849d11fc473d46b4d8356351b424c08cb42c251581351153298f5402d95bf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97849d11fc473d46b4d8356351b424c08cb42c251581351153298f5402d95bf0", kill_on_drop: false }` [INFO] [stdout] 97849d11fc473d46b4d8356351b424c08cb42c251581351153298f5402d95bf0