[INFO] fetching crate penguincrab 0.1.63... [INFO] checking penguincrab-0.1.63 against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146 [INFO] extracting crate penguincrab 0.1.63 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate penguincrab 0.1.63 [INFO] finished tweaking crates.io crate penguincrab 0.1.63 [INFO] tweaked toml for crates.io crate penguincrab 0.1.63 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate penguincrab 0.1.63 on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding nix v0.25.1 (available: v0.31.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded more-asserts v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a52c105f2ebbf77656cfbc0837faa94b8c3fb64c92935c131a4ffcdad0faac5 [INFO] running `Command { std: "docker" "start" "-a" "0a52c105f2ebbf77656cfbc0837faa94b8c3fb64c92935c131a4ffcdad0faac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a52c105f2ebbf77656cfbc0837faa94b8c3fb64c92935c131a4ffcdad0faac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a52c105f2ebbf77656cfbc0837faa94b8c3fb64c92935c131a4ffcdad0faac5", kill_on_drop: false }` [INFO] [stdout] 0a52c105f2ebbf77656cfbc0837faa94b8c3fb64c92935c131a4ffcdad0faac5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78a1f00cc336da236898debcfacd787dece7a8bb52506559fadfea1c8368d128 [INFO] running `Command { std: "docker" "start" "-a" "78a1f00cc336da236898debcfacd787dece7a8bb52506559fadfea1c8368d128", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling penguincrab v0.1.63 (/opt/rustwide/workdir) [INFO] [stderr] Checking more-asserts v0.3.1 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lkl/syscall_wrappers.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::lkl::lklh::consts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `LKL_ITIMER_REAL` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 4 | pub use crate::lkl::lklh::syscall_nos::*; [INFO] [stdout] | -------------------------------- but the name `LKL_ITIMER_REAL` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lkl/syscall_wrappers.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::lkl::lklh::consts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `LKL_PERF_RECORD_MISC_MMAP_DATA` in the value namespace is first re-exported here [INFO] [stdout] 2 | pub use crate::lkl::lklh::lkl_specific::*; [INFO] [stdout] 3 | pub use crate::lkl::lklh::rest::*; [INFO] [stdout] | ------------------------- but the name `LKL_PERF_RECORD_MISC_MMAP_DATA` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lkl/syscall_wrappers.rs:128:54 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn lkl_sys_fstat(fd: i32, stat: &mut stat => |s| (s as *mut _)); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 128 - pub fn lkl_sys_fstat(fd: i32, stat: &mut stat => |s| (s as *mut _)); } [INFO] [stdout] 128 + pub fn lkl_sys_fstat(fd: i32, stat: &mut stat => |s| s as *mut _ ); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lkl/syscall_wrappers.rs:180:30 [INFO] [stdout] | [INFO] [stdout] 180 | dirent: &mut dirent64 => |s| (s as *mut _), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - dirent: &mut dirent64 => |s| (s as *mut _), [INFO] [stdout] 180 + dirent: &mut dirent64 => |s| s as *mut _ , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lkl/syscall_wrappers.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::lkl::lklh::consts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `LKL_ITIMER_REAL` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 4 | pub use crate::lkl::lklh::syscall_nos::*; [INFO] [stdout] | -------------------------------- but the name `LKL_ITIMER_REAL` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lkl/syscall_wrappers.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::lkl::lklh::consts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `LKL_PERF_RECORD_MISC_MMAP_DATA` in the value namespace is first re-exported here [INFO] [stdout] 2 | pub use crate::lkl::lklh::lkl_specific::*; [INFO] [stdout] 3 | pub use crate::lkl::lklh::rest::*; [INFO] [stdout] | ------------------------- but the name `LKL_PERF_RECORD_MISC_MMAP_DATA` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lkl/syscall_wrappers.rs:128:54 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn lkl_sys_fstat(fd: i32, stat: &mut stat => |s| (s as *mut _)); } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 128 - pub fn lkl_sys_fstat(fd: i32, stat: &mut stat => |s| (s as *mut _)); } [INFO] [stdout] 128 + pub fn lkl_sys_fstat(fd: i32, stat: &mut stat => |s| s as *mut _ ); } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lkl/syscall_wrappers.rs:180:30 [INFO] [stdout] | [INFO] [stdout] 180 | dirent: &mut dirent64 => |s| (s as *mut _), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - dirent: &mut dirent64 => |s| (s as *mut _), [INFO] [stdout] 180 + dirent: &mut dirent64 => |s| s as *mut _ , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_test` is never used [INFO] [stdout] --> src/lib.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn setup_test() -> LklSetup { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | lkl_init(&lkl_host_ops); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 50 | lkl_init(&raw const lkl_host_ops); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | lkl_start_kernel(&lkl_host_ops, boot_arg); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 52 | lkl_start_kernel(&raw const lkl_host_ops, boot_arg); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lkl/syscall_wrappers.rs:20:49 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn to_cstr<'a>(rust_str: &'a str) -> Option<&CStr> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn to_cstr<'a>(rust_str: &'a str) -> Option<&'a CStr> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | lkl_init(&lkl_host_ops); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 50 | lkl_init(&raw const lkl_host_ops); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | lkl_start_kernel(&lkl_host_ops, boot_arg); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 52 | lkl_start_kernel(&raw const lkl_host_ops, boot_arg); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lkl/syscall_wrappers.rs:20:49 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn to_cstr<'a>(rust_str: &'a str) -> Option<&CStr> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn to_cstr<'a>(rust_str: &'a str) -> Option<&'a CStr> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.47s [INFO] running `Command { std: "docker" "inspect" "78a1f00cc336da236898debcfacd787dece7a8bb52506559fadfea1c8368d128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78a1f00cc336da236898debcfacd787dece7a8bb52506559fadfea1c8368d128", kill_on_drop: false }` [INFO] [stdout] 78a1f00cc336da236898debcfacd787dece7a8bb52506559fadfea1c8368d128