[INFO] fetching crate penguincrab 0.1.63... [INFO] checking penguincrab-0.1.63 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate penguincrab 0.1.63 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate penguincrab 0.1.63 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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.30.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1c499b84374c0333e86a2e2d51f70391cf915ddee4020f64c44be419edc438c [INFO] running `Command { std: "docker" "start" "-a" "a1c499b84374c0333e86a2e2d51f70391cf915ddee4020f64c44be419edc438c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1c499b84374c0333e86a2e2d51f70391cf915ddee4020f64c44be419edc438c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1c499b84374c0333e86a2e2d51f70391cf915ddee4020f64c44be419edc438c", kill_on_drop: false }` [INFO] [stdout] a1c499b84374c0333e86a2e2d51f70391cf915ddee4020f64c44be419edc438c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d64213b7ba9fe5bcc396c4780a1957860a7694f4c1a4a7aa71bb9c076c0c2fd4 [INFO] running `Command { std: "docker" "start" "-a" "d64213b7ba9fe5bcc396c4780a1957860a7694f4c1a4a7aa71bb9c076c0c2fd4", kill_on_drop: false }` [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)]` 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)]` 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)]` 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)]` 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:31 [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)]` 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:31 [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 4.43s [INFO] running `Command { std: "docker" "inspect" "d64213b7ba9fe5bcc396c4780a1957860a7694f4c1a4a7aa71bb9c076c0c2fd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d64213b7ba9fe5bcc396c4780a1957860a7694f4c1a4a7aa71bb9c076c0c2fd4", kill_on_drop: false }` [INFO] [stdout] d64213b7ba9fe5bcc396c4780a1957860a7694f4c1a4a7aa71bb9c076c0c2fd4