[INFO] cloning repository https://github.com/yalikes/tos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yalikes/tos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyalikes%2Ftos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyalikes%2Ftos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe7a948e3b9db29e7598f8e1b5d1cf364646409f [INFO] testing yalikes/tos against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyalikes%2Ftos" "/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/yalikes/tos [INFO] finished tweaking git repo https://github.com/yalikes/tos [INFO] tweaked toml for git repo https://github.com/yalikes/tos written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yalikes/tos on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yalikes/tos 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing yalikes/tos against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyalikes%2Ftos" "/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/yalikes/tos [INFO] finished tweaking git repo https://github.com/yalikes/tos [INFO] tweaked toml for git repo https://github.com/yalikes/tos written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yalikes/tos on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yalikes/tos 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uart_16550 v0.2.18 [INFO] [stderr] Downloaded spinning_top v0.2.4 [INFO] [stderr] Downloaded volatile v0.4.6 [INFO] [stderr] Downloaded linked_list_allocator v0.9.1 [INFO] [stderr] Downloaded x86_64 v0.14.10 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71a67cc830bcd8ac271b3fcfec4aeff62b4cee39d0f7219d531428966adf3200 [INFO] running `Command { std: "docker" "start" "-a" "71a67cc830bcd8ac271b3fcfec4aeff62b4cee39d0f7219d531428966adf3200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71a67cc830bcd8ac271b3fcfec4aeff62b4cee39d0f7219d531428966adf3200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71a67cc830bcd8ac271b3fcfec4aeff62b4cee39d0f7219d531428966adf3200", kill_on_drop: false }` [INFO] [stdout] 71a67cc830bcd8ac271b3fcfec4aeff62b4cee39d0f7219d531428966adf3200 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 974580a41ed52a5779ad28379d9195090bad84461f30012750962ab3caf1b27c [INFO] running `Command { std: "docker" "start" "-a" "974580a41ed52a5779ad28379d9195090bad84461f30012750962ab3caf1b27c", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling volatile v0.4.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling spinning_top v0.2.4 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling linked_list_allocator v0.9.1 [INFO] [stderr] Compiling x86_64 v0.14.10 [INFO] [stderr] Compiling uart_16550 v0.2.18 [INFO] [stderr] Compiling tos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::println` [INFO] [stdout] --> src/virtio/virtio_blk.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::println; [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: `println` [INFO] [stdout] --> src/vm.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{println, riscv::*, ALLOCATOR}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pci` [INFO] [stdout] --> src/virtio_gpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::pci; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | loop {} [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 76 | proc::scheduler(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trap.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut p = unsafe { &mut proc[proc_index] }; [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: unused variable: `index` [INFO] [stdout] --> src/pci/msix.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_table_entry(&self, index: u32) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bar2` [INFO] [stdout] --> src/pci.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | let bar2 = bar0.wrapping_add(2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bar2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pba_addr` [INFO] [stdout] --> src/pci.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | let pba_addr = bar_content + pba_offset; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pba_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bar_base_addr` [INFO] [stdout] --> src/pci.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | let bar_base_addr = black_box(&(header.base_address_registers[0]) as *const u8 as usize); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bar_base_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bar` is never read [INFO] [stdout] --> src/pci.rs:363:34 [INFO] [stdout] | [INFO] [stdout] 363 | let mut bar: Option = None; [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: value assigned to `offset` is never read [INFO] [stdout] --> src/pci.rs:364:37 [INFO] [stdout] | [INFO] [stdout] 364 | let mut offset: Option = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_addr` [INFO] [stdout] --> src/pci.rs:406:28 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn get_bar_region_size(config_addr: usize, bar: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bar` [INFO] [stdout] --> src/pci.rs:406:48 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn get_bar_region_size(config_addr: usize, bar: usize) -> usize { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/virtio/virtio_blk.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | let mut avail_ref = unsafe { &mut *disk_ref.avail }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tos` (bin "tos") due to 1 previous error; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "974580a41ed52a5779ad28379d9195090bad84461f30012750962ab3caf1b27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974580a41ed52a5779ad28379d9195090bad84461f30012750962ab3caf1b27c", kill_on_drop: false }` [INFO] [stdout] 974580a41ed52a5779ad28379d9195090bad84461f30012750962ab3caf1b27c