[INFO] cloning repository https://github.com/lylythechosenone/lyly-os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lylythechosenone/lyly-os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flylythechosenone%2Flyly-os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flylythechosenone%2Flyly-os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fa2a51e83e36d2608dde17578aef141e0b36524 [INFO] testing lylythechosenone/lyly-os against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flylythechosenone%2Flyly-os" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/lylythechosenone/lyly-os [INFO] finished tweaking git repo https://github.com/lylythechosenone/lyly-os [INFO] tweaked toml for git repo https://github.com/lylythechosenone/lyly-os written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lylythechosenone/lyly-os on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lylythechosenone/lyly-os 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cea4bb06be5b93af8a4a833c3dc858e36052ff36582931bf9afbe8af707b9405 [INFO] running `Command { std: "docker" "start" "-a" "cea4bb06be5b93af8a4a833c3dc858e36052ff36582931bf9afbe8af707b9405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cea4bb06be5b93af8a4a833c3dc858e36052ff36582931bf9afbe8af707b9405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cea4bb06be5b93af8a4a833c3dc858e36052ff36582931bf9afbe8af707b9405", kill_on_drop: false }` [INFO] [stdout] cea4bb06be5b93af8a4a833c3dc858e36052ff36582931bf9afbe8af707b9405 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3744888158f153206aed37cdff36db5d6552562d4587197d63eb963e6a045c55 [INFO] running `Command { std: "docker" "start" "-a" "3744888158f153206aed37cdff36db5d6552562d4587197d63eb963e6a045c55", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling stivale-boot v0.2.6 [INFO] [stderr] Compiling lyly-os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_ffi_c` has been stable since 1.64.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core_ffi_c)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 62 | let pmm = unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 63 | PhysicalMemoryManager::new( [INFO] [stdout] 64 | unsafe { core::mem::transmute(base.expect("Failed to find usable memory")) }, [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bitmap`, `free`, `alloc`, and `is_free` are never used [INFO] [stdout] --> src/memory/physical.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl PhysicalMemoryManager { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 8 | fn bitmap(&self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn free(&mut self, page: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn alloc(&mut self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_free(&self, page: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `outb` is never used [INFO] [stdout] --> src/port.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn outb(port: u16, value: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inb` is never used [INFO] [stdout] --> src/port.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn inb(port: u16) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance [INFO] [stdout] --> src/main.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe { core::mem::transmute(base.expect("Failed to find usable memory")) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is dangerous because dereferencing the resulting pointer is undefined behavior [INFO] [stdout] = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance [INFO] [stdout] = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut` [INFO] [stdout] = help: for more information about transmute, see [INFO] [stdout] = help: for more information about exposed provenance, see [INFO] [stdout] = note: `#[warn(integer_to_ptr_transmutes)]` on by default [INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance [INFO] [stdout] | [INFO] [stdout] 64 - unsafe { core::mem::transmute(base.expect("Failed to find usable memory")) }, [INFO] [stdout] 64 + unsafe { std::ptr::with_exposed_provenance_mut::(base.expect("Failed to find usable memory")) }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcnYJEp7/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstivale_boot-ba4495c71cebc937,libbitflags-2adfc4d1345ba0b9,libnumtoa-e8c49afa3168b4bf}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcnYJEp7/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" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/lyly_os-1072ab85ab596c22" "-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] [INFO] [stdout] 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: memset [INFO] [stdout] >>> referenced by main.rs:71 (src/main.rs:71) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/lyly_os-1072ab85ab596c22.lyly_os.9adb7357fd46b561-cgu.0.rcgu.o:(lyly_os::stivale2_main::h878cd7b056bd6e2d) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: memcpy [INFO] [stdout] >>> referenced by mod.rs:547 (/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ptr/mod.rs:547) [INFO] [stdout] >>> numtoa-e8c49afa3168b4bf.numtoa.d2824704863d5cf7-cgu.0.rcgu.o:(core::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::copy_from_slice::he256cf1f30d4523c) in archive /opt/rustwide/target/debug/deps/libnumtoa-e8c49afa3168b4bf.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: rust_eh_personality [INFO] [stdout] >>> referenced by core.38c16e7222b5e709-cgu.0 [INFO] [stdout] >>> core-5fc89b42ad57ec54.core.38c16e7222b5e709-cgu.0.rcgu.o:(DW.ref.rust_eh_personality) in archive /opt/rustwide/rustup-home/toolchains/c2e32f1c9652b13ed99608599c1e855462f421f3/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5fc89b42ad57ec54.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lyly-os` (bin "lyly-os") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3744888158f153206aed37cdff36db5d6552562d4587197d63eb963e6a045c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3744888158f153206aed37cdff36db5d6552562d4587197d63eb963e6a045c55", kill_on_drop: false }` [INFO] [stdout] 3744888158f153206aed37cdff36db5d6552562d4587197d63eb963e6a045c55