[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#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanpuyue%2Frshell" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nanpuyue/rshell on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-fd v0.3.0 [INFO] [stderr] Downloaded tokio-openssl v0.6.3 [INFO] [stderr] Downloaded clap_derive v3.2.7 [INFO] [stderr] Downloaded openssl-sys v0.9.74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 802e1bde01a98ef4d454be542a4a3bb9c1b5a047776a7e39d9dc093a03e94bf3 [INFO] running `Command { std: "docker" "start" "-a" "802e1bde01a98ef4d454be542a4a3bb9c1b5a047776a7e39d9dc093a03e94bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "802e1bde01a98ef4d454be542a4a3bb9c1b5a047776a7e39d9dc093a03e94bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "802e1bde01a98ef4d454be542a4a3bb9c1b5a047776a7e39d9dc093a03e94bf3", kill_on_drop: false }` [INFO] [stdout] 802e1bde01a98ef4d454be542a4a3bb9c1b5a047776a7e39d9dc093a03e94bf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a71ca9ecb83b2d6ae3719f7ec90dd913b918c0c127192ed3fdf5f0e06ac62829 [INFO] running `Command { std: "docker" "start" "-a" "a71ca9ecb83b2d6ae3719f7ec90dd913b918c0c127192ed3fdf5f0e06ac62829", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling openssl v0.10.40 [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] Checking mio v0.8.4 [INFO] [stderr] Checking hashbrown v0.12.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.18s [INFO] running `Command { std: "docker" "inspect" "a71ca9ecb83b2d6ae3719f7ec90dd913b918c0c127192ed3fdf5f0e06ac62829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a71ca9ecb83b2d6ae3719f7ec90dd913b918c0c127192ed3fdf5f0e06ac62829", kill_on_drop: false }` [INFO] [stdout] a71ca9ecb83b2d6ae3719f7ec90dd913b918c0c127192ed3fdf5f0e06ac62829