[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#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnanpuyue%2Frshell" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nanpuyue/rshell on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-openssl v0.6.3 [INFO] [stderr] Downloaded tokio-fd v0.3.0 [INFO] [stderr] Downloaded clap_derive v3.2.7 [INFO] [stderr] Downloaded clap v3.2.8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6c4611329f3b1bbbfd495faf315d621ec4dd71b916ce24afaa8769fa8601367 [INFO] running `Command { std: "docker" "start" "-a" "d6c4611329f3b1bbbfd495faf315d621ec4dd71b916ce24afaa8769fa8601367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6c4611329f3b1bbbfd495faf315d621ec4dd71b916ce24afaa8769fa8601367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c4611329f3b1bbbfd495faf315d621ec4dd71b916ce24afaa8769fa8601367", kill_on_drop: false }` [INFO] [stdout] d6c4611329f3b1bbbfd495faf315d621ec4dd71b916ce24afaa8769fa8601367 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feb52a392a0017bbb2797af421208af091c43d7958fcb1ad7a7bdade7c701034 [INFO] running `Command { std: "docker" "start" "-a" "feb52a392a0017bbb2797af421208af091c43d7958fcb1ad7a7bdade7c701034", kill_on_drop: false }` [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 log v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking hashbrown v0.12.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.15.0 [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 mio v0.8.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking indexmap v1.9.1 [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 8.27s [INFO] running `Command { std: "docker" "inspect" "feb52a392a0017bbb2797af421208af091c43d7958fcb1ad7a7bdade7c701034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb52a392a0017bbb2797af421208af091c43d7958fcb1ad7a7bdade7c701034", kill_on_drop: false }` [INFO] [stdout] feb52a392a0017bbb2797af421208af091c43d7958fcb1ad7a7bdade7c701034