[INFO] cloning repository https://github.com/sankantsu/rust-usb-driver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sankantsu/rust-usb-driver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankantsu%2Frust-usb-driver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankantsu%2Frust-usb-driver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb76440d927acf61b4587213b36846b2f9671967 [INFO] checking sankantsu/rust-usb-driver against try#dd2d87b6cc31907ae305875eb6be399783dc0256 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankantsu%2Frust-usb-driver" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sankantsu/rust-usb-driver [INFO] finished tweaking git repo https://github.com/sankantsu/rust-usb-driver [INFO] tweaked toml for git repo https://github.com/sankantsu/rust-usb-driver written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sankantsu/rust-usb-driver on toolchain dd2d87b6cc31907ae305875eb6be399783dc0256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sankantsu/rust-usb-driver 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" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking sankantsu/rust-usb-driver against try#dd2d87b6cc31907ae305875eb6be399783dc0256 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsankantsu%2Frust-usb-driver" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sankantsu/rust-usb-driver [INFO] finished tweaking git repo https://github.com/sankantsu/rust-usb-driver [INFO] tweaked toml for git repo https://github.com/sankantsu/rust-usb-driver written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sankantsu/rust-usb-driver on toolchain dd2d87b6cc31907ae305875eb6be399783dc0256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sankantsu/rust-usb-driver 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" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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 ptr_meta_derive v0.2.0 [INFO] [stderr] Downloaded xhci v0.9.2 [INFO] [stderr] Downloaded ptr_meta v0.2.0 [INFO] [stderr] Downloaded accessor v0.3.3 [INFO] [stderr] Downloaded uefi-raw v0.9.0 [INFO] [stderr] Downloaded x86_64 v0.14.13 [INFO] [stderr] Downloaded ucs2 v0.3.3 [INFO] [stderr] Downloaded uefi-macros v0.17.0 [INFO] [stderr] Downloaded uguid v2.2.0 [INFO] [stderr] Downloaded uefi v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80834f024854633357d2865c0bc8f9031f6245353d7f4d2bc535db131bb379e0 [INFO] running `Command { std: "docker" "start" "-a" "80834f024854633357d2865c0bc8f9031f6245353d7f4d2bc535db131bb379e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80834f024854633357d2865c0bc8f9031f6245353d7f4d2bc535db131bb379e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80834f024854633357d2865c0bc8f9031f6245353d7f4d2bc535db131bb379e0", kill_on_drop: false }` [INFO] [stdout] 80834f024854633357d2865c0bc8f9031f6245353d7f4d2bc535db131bb379e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7289fd4886b8842ff478d5818a087a1d1bd9f6b5fe3577f92a44ea720062420 [INFO] running `Command { std: "docker" "start" "-a" "f7289fd4886b8842ff478d5818a087a1d1bd9f6b5fe3577f92a44ea720062420", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking uguid v2.2.0 [INFO] [stderr] Checking volatile v0.4.6 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking accessor v0.3.3 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking ucs2 v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking x86_64 v0.14.13 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking uart_16550 v0.2.19 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Compiling uefi-macros v0.17.0 [INFO] [stderr] Compiling ptr_meta_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking ptr_meta v0.2.0 [INFO] [stderr] Checking uefi-raw v0.9.0 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Checking goblin v0.9.3 [INFO] [stderr] Checking xhci v0.9.2 [INFO] [stderr] Checking uefi v0.33.0 [INFO] [stderr] Checking kernel v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> kernel/src/serial.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | $crate::serial::_print(format_args!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: kernel/src/xhci.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | .unwrap_or_else(|s| crate::serial_println!("{}", s)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::serial_print` which comes from the expansion of the macro `crate::serial_println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> kernel/src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 12 | | serial_print!("Panic!: info: {}", info); [INFO] [stdout] 13 | | loop {} [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/dd2d87b6cc31907ae305875eb6be399783dc0256/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-54e42b35ab65fe3c.rlib [INFO] [stdout] = note: second definition in the local crate (`kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> kernel/src/serial.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | $crate::serial::_print(format_args!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: kernel/src/xhci.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | .unwrap_or_else(|s| crate::serial_println!("{}", s)); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::serial_print` which comes from the expansion of the macro `crate::serial_println` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [stderr] error: could not compile `kernel` (bin "kernel" test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> kernel/src/pci.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let addr = 0x10 + 4 * idx; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kernel/src/xhci.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut registers = unsafe { xhci::Registers::new(mmio_base, mapper.clone()) }; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usblegsup` [INFO] [stdout] --> kernel/src/xhci.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let usblegsup = loop { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usblegsup` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (bin "kernel") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f7289fd4886b8842ff478d5818a087a1d1bd9f6b5fe3577f92a44ea720062420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7289fd4886b8842ff478d5818a087a1d1bd9f6b5fe3577f92a44ea720062420", kill_on_drop: false }` [INFO] [stdout] f7289fd4886b8842ff478d5818a087a1d1bd9f6b5fe3577f92a44ea720062420