[INFO] fetching crate gc9a01 0.2.0... [INFO] testing gc9a01-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate gc9a01 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate gc9a01 0.2.0 [INFO] finished tweaking crates.io crate gc9a01 0.2.0 [INFO] tweaked toml for crates.io crate gc9a01 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gc9a01 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding defmt v0.3.100 (available: v1.0.1) [INFO] [stderr] Adding embedded-graphics v0.7.1 (available: v0.8.1) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding panic-probe v0.3.2 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5453fa5e3c92d3063d57ba09cc07d601fbe2eb2a5f9ba7732d3153665c0c2ad7 [INFO] running `Command { std: "docker" "start" "-a" "5453fa5e3c92d3063d57ba09cc07d601fbe2eb2a5f9ba7732d3153665c0c2ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5453fa5e3c92d3063d57ba09cc07d601fbe2eb2a5f9ba7732d3153665c0c2ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5453fa5e3c92d3063d57ba09cc07d601fbe2eb2a5f9ba7732d3153665c0c2ad7", kill_on_drop: false }` [INFO] [stdout] 5453fa5e3c92d3063d57ba09cc07d601fbe2eb2a5f9ba7732d3153665c0c2ad7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea07b832598b248c76c4f4a124817437d6a36b3238df4918f4706b58bc76d56b [INFO] running `Command { std: "docker" "start" "-a" "ea07b832598b248c76c4f4a124817437d6a36b3238df4918f4706b58bc76d56b", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling panic-probe v0.3.2 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling micromath v1.1.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling embedded-graphics-core v0.3.3 [INFO] [stderr] Compiling embedded-graphics v0.7.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Compiling defmt v0.3.100 [INFO] [stderr] Compiling gc9a01 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `GC9A01_INV_OFF` is never used [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const GC9A01_INV_OFF: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_INV_ON_L` is never used [INFO] [stdout] --> src/lib.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const GC9A01_INV_ON_L: u8 = 0x21; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_MAD_CTL_MY` is never used [INFO] [stdout] --> src/lib.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const GC9A01_MAD_CTL_MY: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_MAD_CTL_MX` is never used [INFO] [stdout] --> src/lib.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const GC9A01_MAD_CTL_MX: u8 = 0x40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_MAD_CTL_MV` is never used [INFO] [stdout] --> src/lib.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const GC9A01_MAD_CTL_MV: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_MAD_CTL_RGB` is never used [INFO] [stdout] --> src/lib.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const GC9A01_MAD_CTL_RGB: u8 = 0x00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fill_rect` is never used [INFO] [stdout] --> src/lib.rs:850:8 [INFO] [stdout] | [INFO] [stdout] 804 | / impl GC9A01 [INFO] [stdout] 805 | | where [INFO] [stdout] 806 | | SPI: spi::Write, [INFO] [stdout] 807 | | CS: OutputPin, [INFO] [stdout] 808 | | DC: OutputPin, [INFO] [stdout] | |____________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 850 | fn fill_rect(&mut self, x: u16, y: u16, w: u16, h: u16, color: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.24s [INFO] running `Command { std: "docker" "inspect" "ea07b832598b248c76c4f4a124817437d6a36b3238df4918f4706b58bc76d56b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea07b832598b248c76c4f4a124817437d6a36b3238df4918f4706b58bc76d56b", kill_on_drop: false }` [INFO] [stdout] ea07b832598b248c76c4f4a124817437d6a36b3238df4918f4706b58bc76d56b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f695e08febaec4cd34bc49d99390cdc28c82e87ab547305c770511e8ca000fb [INFO] running `Command { std: "docker" "start" "-a" "6f695e08febaec4cd34bc49d99390cdc28c82e87ab547305c770511e8ca000fb", kill_on_drop: false }` [INFO] [stdout] warning: constant `GC9A01_INV_OFF` is never used [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const GC9A01_INV_OFF: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_INV_ON_L` is never used [INFO] [stdout] --> src/lib.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const GC9A01_INV_ON_L: u8 = 0x21; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_MAD_CTL_MY` is never used [INFO] [stdout] --> src/lib.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const GC9A01_MAD_CTL_MY: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_MAD_CTL_MX` is never used [INFO] [stdout] --> src/lib.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const GC9A01_MAD_CTL_MX: u8 = 0x40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_MAD_CTL_MV` is never used [INFO] [stdout] --> src/lib.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const GC9A01_MAD_CTL_MV: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gc9a01 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `GC9A01_MAD_CTL_RGB` is never used [INFO] [stdout] --> src/lib.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const GC9A01_MAD_CTL_RGB: u8 = 0x00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fill_rect` is never used [INFO] [stdout] --> src/lib.rs:850:8 [INFO] [stdout] | [INFO] [stdout] 804 | / impl GC9A01 [INFO] [stdout] 805 | | where [INFO] [stdout] 806 | | SPI: spi::Write, [INFO] [stdout] 807 | | CS: OutputPin, [INFO] [stdout] 808 | | DC: OutputPin, [INFO] [stdout] | |____________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 850 | fn fill_rect(&mut self, x: u16, y: u16, w: u16, h: u16, color: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_INV_OFF` is never used [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const GC9A01_INV_OFF: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_INV_ON_L` is never used [INFO] [stdout] --> src/lib.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const GC9A01_INV_ON_L: u8 = 0x21; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_MAD_CTL_MY` is never used [INFO] [stdout] --> src/lib.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const GC9A01_MAD_CTL_MY: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_MAD_CTL_MX` is never used [INFO] [stdout] --> src/lib.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const GC9A01_MAD_CTL_MX: u8 = 0x40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_MAD_CTL_MV` is never used [INFO] [stdout] --> src/lib.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const GC9A01_MAD_CTL_MV: u8 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GC9A01_MAD_CTL_RGB` is never used [INFO] [stdout] --> src/lib.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const GC9A01_MAD_CTL_RGB: u8 = 0x00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fill_rect` is never used [INFO] [stdout] --> src/lib.rs:850:8 [INFO] [stdout] | [INFO] [stdout] 804 | / impl GC9A01 [INFO] [stdout] 805 | | where [INFO] [stdout] 806 | | SPI: spi::Write, [INFO] [stdout] 807 | | CS: OutputPin, [INFO] [stdout] 808 | | DC: OutputPin, [INFO] [stdout] | |____________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 850 | fn fill_rect(&mut self, x: u16, y: u16, w: u16, h: u16, color: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcJXGeQT/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*,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/{libembedded_hal-3298c875f81ec945,libvoid-9163cd71c286a90e,libnb-09b9e2afdb2ba10b,libnb-86f78d16dd59c3ce,libembedded_graphics-34a7e4a530b2e84a,libbyteorder-7df9ab1ae37e1368,libfloat_cmp-c161f1d193696864,libnum_traits-6a9f211205bd6663,libmicromath-133c35a8a6948ac0,libembedded_graphics_core-b2dae080e62c09f8,libaz-fbf8829fc7ff3962}.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/rustcJXGeQT/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-75c30422914395b2/out" "-L" "/opt/rustwide/target/debug/build/defmt-157f970da26e19de/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/gc9a01-6a68af2bedf3cecc" "-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: main [INFO] [stdout] >>> referenced by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gc9a01` (lib test) due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f695e08febaec4cd34bc49d99390cdc28c82e87ab547305c770511e8ca000fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f695e08febaec4cd34bc49d99390cdc28c82e87ab547305c770511e8ca000fb", kill_on_drop: false }` [INFO] [stdout] 6f695e08febaec4cd34bc49d99390cdc28c82e87ab547305c770511e8ca000fb