[INFO] cloning repository https://github.com/nanpuyue/rshell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nanpuyue/rshell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanpuyue%2Frshell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanpuyue%2Frshell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 834a1c84a92ac893b42b4a0137c0bf777911fbb9 [INFO] checking nanpuyue/rshell against master#35d55b34bffd51384ac430cc20852b7d16dd5a90 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanpuyue%2Frshell" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nanpuyue/rshell [INFO] finished tweaking git repo https://github.com/nanpuyue/rshell [INFO] tweaked toml for git repo https://github.com/nanpuyue/rshell written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nanpuyue/rshell on toolchain 35d55b34bffd51384ac430cc20852b7d16dd5a90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nanpuyue/rshell 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" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-fd v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39af8e1af6acb2d89dae67f0cb6c11e376500187e6fb86c76a1a682d6e166dd6 [INFO] running `Command { std: "docker" "start" "-a" "39af8e1af6acb2d89dae67f0cb6c11e376500187e6fb86c76a1a682d6e166dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39af8e1af6acb2d89dae67f0cb6c11e376500187e6fb86c76a1a682d6e166dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39af8e1af6acb2d89dae67f0cb6c11e376500187e6fb86c76a1a682d6e166dd6", kill_on_drop: false }` [INFO] [stdout] 39af8e1af6acb2d89dae67f0cb6c11e376500187e6fb86c76a1a682d6e166dd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51e26ee6e170d9276bab5f9fa06be8e9cc414cc1a13a813ffd43f1865e2daca4 [INFO] running `Command { std: "docker" "start" "-a" "51e26ee6e170d9276bab5f9fa06be8e9cc414cc1a13a813ffd43f1865e2daca4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.12.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking clap v3.2.8 [INFO] [stderr] Checking tokio-fd v0.3.0 [INFO] [stderr] Checking trsh v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `as_ptr` is never used [INFO] [stdout] --> src/util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait AsPtr { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 12 | fn as_ptr(&self) -> *const T; [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 mutable reference to mutable static [INFO] [stdout] --> src/term.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(termios) = unsafe { ORIGINAL_TERMIOS.take() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_ptr` is never used [INFO] [stdout] --> src/util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait AsPtr { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 12 | fn as_ptr(&self) -> *const T; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.01s [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/term.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(termios) = unsafe { ORIGINAL_TERMIOS.take() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "51e26ee6e170d9276bab5f9fa06be8e9cc414cc1a13a813ffd43f1865e2daca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51e26ee6e170d9276bab5f9fa06be8e9cc414cc1a13a813ffd43f1865e2daca4", kill_on_drop: false }` [INFO] [stdout] 51e26ee6e170d9276bab5f9fa06be8e9cc414cc1a13a813ffd43f1865e2daca4