[INFO] fetching crate os_essentials 0.0.3... [INFO] testing os_essentials-0.0.3 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate os_essentials 0.0.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate os_essentials 0.0.3 [INFO] finished tweaking crates.io crate os_essentials 0.0.3 [INFO] tweaked toml for crates.io crate os_essentials 0.0.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate os_essentials 0.0.3 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding heapless v0.8.0 (available: v0.9.1) [INFO] [stderr] Adding spin v0.9.8 (available: v0.10.0) [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] Downloading crates ... [INFO] [stderr] Downloaded volatile v0.4.6 [INFO] [stderr] Downloaded x86_64 v0.15.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 02c8f820a3152d1727bfc402d88ca8f22b591f4f23ac2dee203da5ed36ef5f41 [INFO] running `Command { std: "docker" "start" "-a" "02c8f820a3152d1727bfc402d88ca8f22b591f4f23ac2dee203da5ed36ef5f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02c8f820a3152d1727bfc402d88ca8f22b591f4f23ac2dee203da5ed36ef5f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02c8f820a3152d1727bfc402d88ca8f22b591f4f23ac2dee203da5ed36ef5f41", kill_on_drop: false }` [INFO] [stdout] 02c8f820a3152d1727bfc402d88ca8f22b591f4f23ac2dee203da5ed36ef5f41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 551714414f0fdb5ccd00ffa65c46a6dbd4424e278de976981710521435fef09b [INFO] running `Command { std: "docker" "start" "-a" "551714414f0fdb5ccd00ffa65c46a6dbd4424e278de976981710521435fef09b", kill_on_drop: false }` [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling volatile v0.4.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling x86_64 v0.15.2 [INFO] [stderr] Compiling os_essentials v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering` [INFO] [stdout] --> src/vga.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr::null_mut` [INFO] [stdout] --> src/vga.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use core::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> src/uxstring.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> src/osalloc.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_cell` [INFO] [stdout] --> src/vga.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let current_cell = unsafe { VGA_MEMORY.add(offset).read_volatile() }; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 60 | let _current_cell = unsafe { VGA_MEMORY.add(offset).read_volatile() }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PS2_COMMAND_PORT` [INFO] [stdout] | [INFO] [stdout] 60 - let current_cell = unsafe { VGA_MEMORY.add(offset).read_volatile() }; [INFO] [stdout] 60 + let ps2key::PS2_COMMAND_PORT = unsafe { VGA_MEMORY.add(offset).read_volatile() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_size` [INFO] [stdout] --> src/vga.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let line_size = VGA_WIDTH; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 176 | let _line_size = VGA_WIDTH; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VGA_HEIGHT` [INFO] [stdout] | [INFO] [stdout] 176 - let line_size = VGA_WIDTH; [INFO] [stdout] 176 + let vga::textmode::VGA_HEIGHT = VGA_WIDTH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.60s [INFO] running `Command { std: "docker" "inspect" "551714414f0fdb5ccd00ffa65c46a6dbd4424e278de976981710521435fef09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551714414f0fdb5ccd00ffa65c46a6dbd4424e278de976981710521435fef09b", kill_on_drop: false }` [INFO] [stdout] 551714414f0fdb5ccd00ffa65c46a6dbd4424e278de976981710521435fef09b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] efe98c5f5c0ba217a1f479f7c4f3f63de146bb413294cb57ea6ac4853f37c0af [INFO] running `Command { std: "docker" "start" "-a" "efe98c5f5c0ba217a1f479f7c4f3f63de146bb413294cb57ea6ac4853f37c0af", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering` [INFO] [stdout] --> src/vga.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr::null_mut` [INFO] [stdout] --> src/vga.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use core::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> src/uxstring.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> src/osalloc.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_cell` [INFO] [stdout] --> src/vga.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let current_cell = unsafe { VGA_MEMORY.add(offset).read_volatile() }; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 60 | let _current_cell = unsafe { VGA_MEMORY.add(offset).read_volatile() }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PS2_COMMAND_PORT` [INFO] [stdout] | [INFO] [stdout] 60 - let current_cell = unsafe { VGA_MEMORY.add(offset).read_volatile() }; [INFO] [stdout] 60 + let ps2key::PS2_COMMAND_PORT = unsafe { VGA_MEMORY.add(offset).read_volatile() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_size` [INFO] [stdout] --> src/vga.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let line_size = VGA_WIDTH; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 176 | let _line_size = VGA_WIDTH; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VGA_HEIGHT` [INFO] [stdout] | [INFO] [stdout] 176 - let line_size = VGA_WIDTH; [INFO] [stdout] 176 + let vga::textmode::VGA_HEIGHT = VGA_WIDTH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling os_essentials v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering` [INFO] [stdout] --> src/vga.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use core::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr::null_mut` [INFO] [stdout] --> src/vga.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use core::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> src/uxstring.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![no_std]` attribute can only be used at the crate root [INFO] [stdout] --> src/osalloc.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_cell` [INFO] [stdout] --> src/vga.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let current_cell = unsafe { VGA_MEMORY.add(offset).read_volatile() }; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 60 | let _current_cell = unsafe { VGA_MEMORY.add(offset).read_volatile() }; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PS2_COMMAND_PORT` [INFO] [stdout] | [INFO] [stdout] 60 - let current_cell = unsafe { VGA_MEMORY.add(offset).read_volatile() }; [INFO] [stdout] 60 + let ps2key::PS2_COMMAND_PORT = unsafe { VGA_MEMORY.add(offset).read_volatile() }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_size` [INFO] [stdout] --> src/vga.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let line_size = VGA_WIDTH; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 176 | let _line_size = VGA_WIDTH; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `VGA_HEIGHT` [INFO] [stdout] | [INFO] [stdout] 176 - let line_size = VGA_WIDTH; [INFO] [stdout] 176 + let vga::textmode::VGA_HEIGHT = VGA_WIDTH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcYJUK58/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,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/{libspin-a7074d2123874c66,liblock_api-0826b5028eacedf5,libscopeguard-d52bd00767847e44,libx86_64-c5a5ca21cb20207d,libvolatile-0f8215778742703b,libbitflags-ae83ff7d8b19c6be,libbit_field-04a02c08921d3c68}.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/rustcYJUK58/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/os_essentials-c3e93b92ce6ae476" "-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 `os_essentials` (lib test) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "efe98c5f5c0ba217a1f479f7c4f3f63de146bb413294cb57ea6ac4853f37c0af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efe98c5f5c0ba217a1f479f7c4f3f63de146bb413294cb57ea6ac4853f37c0af", kill_on_drop: false }` [INFO] [stdout] efe98c5f5c0ba217a1f479f7c4f3f63de146bb413294cb57ea6ac4853f37c0af