[INFO] fetching crate rustworks 0.0.1... [INFO] testing rustworks-0.0.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rustworks 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate rustworks 0.0.1 [INFO] finished tweaking crates.io crate rustworks 0.0.1 [INFO] tweaked toml for crates.io crate rustworks 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustworks 0.0.1 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 rustworks 0.0.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cast v0.2.5 [INFO] [stderr] Downloaded cortex-m-rt v0.6.13 [INFO] [stderr] Downloaded display-interface-parallel-gpio v0.6.0 [INFO] [stderr] Downloaded embedded-can v0.3.0 [INFO] [stderr] Downloaded rtcc v0.2.0 [INFO] [stderr] Downloaded atomic-polyfill v0.1.2 [INFO] [stderr] Downloaded rtic-core v0.3.1 [INFO] [stderr] Downloaded cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Downloaded rtic-syntax v0.4.0 [INFO] [stderr] Downloaded heapless v0.7.0 [INFO] [stderr] Downloaded defmt v0.2.1 [INFO] [stderr] Downloaded bxcan v0.5.0 [INFO] [stderr] Downloaded cortex-m-rtic v0.5.6 [INFO] [stderr] Downloaded embedded-text v0.4.1 [INFO] [stderr] Downloaded stm32f7xx-hal v0.3.0 [INFO] [stderr] Downloaded display-interface v0.4.1 [INFO] [stderr] Downloaded defmt-macros v0.2.0 [INFO] [stderr] Downloaded embedded-hal v0.2.5 [INFO] [stderr] Downloaded st7789 v0.5.0 [INFO] [stderr] Downloaded stm32f7 v0.11.0 [INFO] [stderr] Downloaded defmt-parser v0.2.0 [INFO] [stderr] Downloaded cortex-m v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cf747206118d665f5e11631a054c29490b10e52ad83c6484c3ffcba0e83941d8 [INFO] running `Command { std: "docker" "start" "-a" "cf747206118d665f5e11631a054c29490b10e52ad83c6484c3ffcba0e83941d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf747206118d665f5e11631a054c29490b10e52ad83c6484c3ffcba0e83941d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf747206118d665f5e11631a054c29490b10e52ad83c6484c3ffcba0e83941d8", kill_on_drop: false }` [INFO] [stdout] cf747206118d665f5e11631a054c29490b10e52ad83c6484c3ffcba0e83941d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9a0d59d2352e961586f618720fd4d9b868ef5179dd59d93828f7f09f44dff054 [INFO] running `Command { std: "docker" "start" "-a" "9a0d59d2352e961586f618720fd4d9b868ef5179dd59d93828f7f09f44dff054", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling embedded-hal v0.2.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling defmt-parser v0.2.0 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling stm32f7 v0.11.0 [INFO] [stderr] Compiling embedded-graphics v0.6.2 [INFO] [stderr] Compiling embedded-can v0.3.0 [INFO] [stderr] Compiling heapless v0.7.0 [INFO] [stderr] Compiling stm32f7xx-hal v0.3.0 [INFO] [stderr] Compiling display-interface v0.4.1 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling micromath v1.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rtic-core v0.3.1 [INFO] [stderr] Compiling display-interface-parallel-gpio v0.6.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling embedded-text v0.4.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cortex-m-rtic v0.5.6 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling rtt-target v0.3.1 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling aligned v0.3.4 [INFO] [stderr] Compiling defmt v0.2.1 [INFO] [stderr] Compiling st7789 v0.5.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rtcc v0.2.0 [INFO] [stderr] Compiling rtic-syntax v0.4.0 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling defmt-macros v0.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling cortex-m-rtic-macros v0.5.2 [INFO] [stderr] Compiling bxcan v0.5.0 [INFO] [stderr] Compiling rustworks v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `core` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[app(device = stm32f7xx_hal::pac, peripherals = true)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `app` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `app` may come from an old version of the `cortex_m_rtic_macros` crate, try updating your dependency with `cargo update -p cortex_m_rtic_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `app` (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/keypad.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Copy, Eq, PartialEq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Key` [INFO] [stdout] 16 | #[repr(u8)] [INFO] [stdout] 17 | pub enum Key { [INFO] [stdout] | --- `Key` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` 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 `FromPrimitive` (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" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-*.rlib" "-L" "/tmp/rustchGw3TH/raw-dylibs" "-Wl,-Bdynamic" "-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-fecc1043b0188c99/out" "-L" "/opt/rustwide/target/debug/build/stm32f7xx-hal-44e6886cbc368b2d/out" "-L" "/opt/rustwide/target/debug/build/defmt-66f7c20c1bd4031b/out" "-L" "/opt/rustwide/target/debug/build/stm32f7-4380732a3cc23667/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rustworks-640e82ff05656e29" "-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: __libc_start_main [INFO] [stdout] >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: memcpy [INFO] [stdout] >>> referenced by batch.rs:42 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/st7789-0.5.0/src/batch.rs:42) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(_$LT$$RF$embedded_text..StyledTextBox$LT$C$C$F$C$A$C$V$C$H$GT$$u20$as$u20$embedded_graphics..drawable..Drawable$LT$C$GT$$GT$::draw::h348a9d3fa7b8bc06) [INFO] [stdout] >>> referenced by batch.rs:42 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/st7789-0.5.0/src/batch.rs:42) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(_$LT$$RF$embedded_text..StyledTextBox$LT$C$C$F$C$A$C$V$C$H$GT$$u20$as$u20$embedded_graphics..drawable..Drawable$LT$C$GT$$GT$::draw::h348a9d3fa7b8bc06) [INFO] [stdout] >>> referenced by option.rs:2192 (/rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/option.rs:2192) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(_$LT$$RF$embedded_text..StyledTextBox$LT$C$C$F$C$A$C$V$C$H$GT$$u20$as$u20$embedded_graphics..drawable..Drawable$LT$C$GT$$GT$::draw::h348a9d3fa7b8bc06) [INFO] [stdout] >>> referenced 5 more times [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: bcmp [INFO] [stdout] >>> referenced by cmp.rs:152 (/rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/slice/cmp.rs:152) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(embedded_text::TextBox::into_styled::hcdbe95cda6a225ed) [INFO] [stdout] >>> referenced by cmp.rs:152 (/rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/slice/cmp.rs:152) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(core::ops::function::FnOnce::call_once::h1d5b6faa5bd1a780) [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/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(main) [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/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(main) [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/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(main) [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] [INFO] [stdout] 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/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(main) [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/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(main) [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/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(main) [INFO] [stdout] >>> referenced 1 more times [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/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(main) [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/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(main) [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/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(main) [INFO] [stdout] >>> referenced 1 more times [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.2/src/call_asm.rs:19) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/rustworks-640e82ff05656e29.rustworks.1130257d105a8e3d-cgu.0.rcgu.o:(main) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustworks` (bin "rustworks") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9a0d59d2352e961586f618720fd4d9b868ef5179dd59d93828f7f09f44dff054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a0d59d2352e961586f618720fd4d9b868ef5179dd59d93828f7f09f44dff054", kill_on_drop: false }` [INFO] [stdout] 9a0d59d2352e961586f618720fd4d9b868ef5179dd59d93828f7f09f44dff054