[INFO] cloning repository https://github.com/EasyCanadianGamer/emos
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EasyCanadianGamer/emos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEasyCanadianGamer%2Femos", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEasyCanadianGamer%2Femos'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c97b073f06efc623f199c6575a19cbbb8ca61a52
[INFO] testing EasyCanadianGamer/emos against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEasyCanadianGamer%2Femos" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/EasyCanadianGamer/emos
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/EasyCanadianGamer/emos
[INFO] tweaked toml for git repo https://github.com/EasyCanadianGamer/emos written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/EasyCanadianGamer/emos on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/EasyCanadianGamer/emos 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uart_16550 v0.2.19
[INFO] [stderr]   Downloaded spinning_top v0.2.5
[INFO] [stderr]   Downloaded volatile v0.2.7
[INFO] [stderr]   Downloaded conquer-once v0.2.1
[INFO] [stderr]   Downloaded conquer-util v0.2.0
[INFO] [stderr]   Downloaded linked_list_allocator v0.9.1
[INFO] [stderr]   Downloaded bootloader v0.9.33
[INFO] [stderr]   Downloaded pic8259 v0.10.4
[INFO] [stderr]   Downloaded pc-keyboard v0.7.0
[INFO] [stderr]   Downloaded x86_64 v0.14.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 297be00adbf71b6cbf345489c964821773e0628ab14576e788f9896abc0fe453
[INFO] running `Command { std: "docker" "start" "-a" "297be00adbf71b6cbf345489c964821773e0628ab14576e788f9896abc0fe453", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "297be00adbf71b6cbf345489c964821773e0628ab14576e788f9896abc0fe453", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "297be00adbf71b6cbf345489c964821773e0628ab14576e788f9896abc0fe453", kill_on_drop: false }`
[INFO] [stdout] 297be00adbf71b6cbf345489c964821773e0628ab14576e788f9896abc0fe453
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b2fb00f8584f0c5da83803ba393c4ea602817683e8a3817cd570bcd15b7c9f2b
[INFO] running `Command { std: "docker" "start" "-a" "b2fb00f8584f0c5da83803ba393c4ea602817683e8a3817cd570bcd15b7c9f2b", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling volatile v0.4.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling bit_field v0.10.3
[INFO] [stderr]    Compiling bootloader v0.9.33
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling conquer-util v0.2.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling pc-keyboard v0.7.0
[INFO] [stderr]    Compiling volatile v0.2.7
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling conquer-once v0.2.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling spinning_top v0.2.5
[INFO] [stderr]    Compiling linked_list_allocator v0.9.1
[INFO] [stderr]    Compiling x86_64 v0.14.13
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling uart_16550 v0.2.19
[INFO] [stderr]    Compiling pic8259 v0.10.4
[INFO] [stderr]    Compiling emos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `FrameAllocator`, `OffsetPageTable`, and `Size4KiB`
[INFO] [stdout]  --> src/services/memory_service.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 |     structures::paging::{FrameAllocator, OffsetPageTable, Size4KiB},
[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: `ToString`
[INFO] [stdout]  --> src/services/file_system_service.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use alloc::string::{String, ToString};
[INFO] [stdout]   |                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::vec`
[INFO] [stdout]  --> src/services/file_system_service.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use alloc::vec;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::vec`
[INFO] [stdout]   --> src/tests.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | use alloc::vec;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub mod tests;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `set_process_priority`
[INFO] [stdout]   --> src/interactive_tests.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 |     get_current_process, schedule_next_process, set_process_priority
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/lib.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub mod interactive_tests;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/scheduler.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut queue = TASK_QUEUE.lock();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `region` is assigned to, but never used
[INFO] [stdout]   --> src/services/memory_service.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 82 |         if let Some(mut region) = self.allocated_regions.remove(&region_id) {
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_region` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `region` is never read
[INFO] [stdout]   --> src/services/memory_service.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             region.is_allocated = false;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pid2`
[INFO] [stdout]   --> src/tests.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let pid2 = match create_process("test_proc2".to_string(), ProcessPriority::High, 4096, 8192) {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_pid2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `region2`
[INFO] [stdout]    --> src/tests.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |     let region2 = match allocate_memory(2048, MemoryPermissions::ReadOnly) {
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_region2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start_time`
[INFO] [stdout]    --> src/tests.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |     let start_time = 0; // In real implementation, use system timer
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/tests.rs:355:9
[INFO] [stdout]     |
[INFO] [stdout] 355 |     for i in 0..20 {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/interactive_tests.rs:271:9
[INFO] [stdout]     |
[INFO] [stdout] 271 |     for i in 0..100 {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `kernel_stack` is never read
[INFO] [stdout]   --> src/process/context.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ContextManager {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout]  9 |     current_process: Option<ProcessId>,
[INFO] [stdout] 10 |     kernel_stack: u64, // Kernel stack pointer
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/allocator.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn lock(&self) -> spin::MutexGuard<A> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn lock(&self) -> spin::MutexGuard<'_, A> {
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustc6WlGiM/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libemos-ed4fedfb0e21b7b9,liblinked_list_allocator-026b9b5a92a08f47,libspinning_top-1471f2afd4056029,liblock_api-a0b465d61ee46d8d,libscopeguard-9a40176085421c5a,libpc_keyboard-6b723bea1c4c8afc,libfutures_util-ac2927c599ef8c2c,libpin_project_lite-213c3df85d06c5c7,libfutures_task-bc4ef77c4f3cb5bf,libpin_utils-744ea91339b26b2e,libfutures_core-df2b4460e88a2e87,libconquer_once-0f9d8dc58db42d4d,libvolatile-926b17ead2a07695,libcrossbeam_queue-f007518b54ad2a7a,libcrossbeam_utils-7047d199f6883c3d,libuart_16550-ee51464dfd20a44b,libbitflags-2adfc4d1345ba0b9,libbootloader-41c09322c12e4063,libspin-9807f654e4818911,libpic8259-0462baa1491cdac1,liblazy_static-69181a648937a2a4,libspin-7ba7aebe17adef4b,libx86_64-0e40678677019e8a,libvolatile-b912d1a5128efae1,libbitflags-afc5f00b1e8f885b,libbit_field-c6d2739f8f5636c8}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc6WlGiM/raw-dylibs" "-Wl,-Bdynamic" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/emos-7897ac7af033dd5c" "-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: duplicate symbol: _start
[INFO] [stdout]           >>> defined at /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o:(_start)
[INFO] [stdout]           >>> defined at lib.rs:35 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bootloader-0.9.33/src/lib.rs:35)
[INFO] [stdout]           >>>            /opt/rustwide/target/debug/deps/emos-7897ac7af033dd5c.emos.221f71a6fb985dad-cgu.0.rcgu.o:(.text._start+0x0)
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `emos` (bin "emos") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "b2fb00f8584f0c5da83803ba393c4ea602817683e8a3817cd570bcd15b7c9f2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2fb00f8584f0c5da83803ba393c4ea602817683e8a3817cd570bcd15b7c9f2b", kill_on_drop: false }`
[INFO] [stdout] b2fb00f8584f0c5da83803ba393c4ea602817683e8a3817cd570bcd15b7c9f2b
