[INFO] cloning repository https://github.com/nr-2/0-shell
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nr-2/0-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnr-2%2F0-shell", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnr-2%2F0-shell'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3f6d3eb446d9e6ed9bce25fd0b6075df1062253e
[INFO] checking nr-2/0-shell against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnr-2%2F0-shell" "/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/nr-2/0-shell
[INFO] finished tweaking git repo https://github.com/nr-2/0-shell
[INFO] tweaked toml for git repo https://github.com/nr-2/0-shell written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nr-2/0-shell on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nr-2/0-shell 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.64
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7ca5c36d2b020fc9388ba6c29f98e0468762de4fe0017213bf07379cebd12d5e
[INFO] running `Command { std: "docker" "start" "7ca5c36d2b020fc9388ba6c29f98e0468762de4fe0017213bf07379cebd12d5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ca5c36d2b020fc9388ba6c29f98e0468762de4fe0017213bf07379cebd12d5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ca5c36d2b020fc9388ba6c29f98e0468762de4fe0017213bf07379cebd12d5e" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ca5c36d2b020fc9388ba6c29f98e0468762de4fe0017213bf07379cebd12d5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ca5c36d2b020fc9388ba6c29f98e0468762de4fe0017213bf07379cebd12d5e" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking shell v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `print_error` is never used
[INFO] [stdout]   --> src/builtins/mod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn print_error<T: Display>(err: 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: function `shell_pgid` is never used
[INFO] [stdout]    --> src/job_control.rs:289:8
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub fn shell_pgid() -> Pid {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shell_pid` is never used
[INFO] [stdout]    --> src/job_control.rs:293:8
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn shell_pid() -> Pid {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FunctionCall` is never constructed
[INFO] [stdout]   --> src/parser.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Statement {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 32 |     FunctionCall {
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_command` is never used
[INFO] [stdout]    --> src/parser.rs:394:4
[INFO] [stdout]     |
[INFO] [stdout] 394 | fn build_command(parts: Vec<String>, background: bool) -> Command {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `current_dir` is never read
[INFO] [stdout]   --> src/scripting.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ShellState {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     current_dir: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ShellState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_current_dir` and `current_dir` are never used
[INFO] [stdout]   --> src/scripting.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl ShellState {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn set_current_dir(&mut self, path: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn current_dir(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_path` is never used
[INFO] [stdout]    --> src/scripting.rs:605:8
[INFO] [stdout]     |
[INFO] [stdout] 605 | pub fn resolve_path(input: &str, state: &ShellState) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize_path` is never used
[INFO] [stdout]    --> src/scripting.rs:617:4
[INFO] [stdout]     |
[INFO] [stdout] 617 | fn normalize_path(input: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_error` is never used
[INFO] [stdout]   --> src/builtins/mod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn print_error<T: Display>(err: 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: function `shell_pgid` is never used
[INFO] [stdout]    --> src/job_control.rs:289:8
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub fn shell_pgid() -> Pid {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shell_pid` is never used
[INFO] [stdout]    --> src/job_control.rs:293:8
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub fn shell_pid() -> Pid {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FunctionCall` is never constructed
[INFO] [stdout]   --> src/parser.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Statement {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 32 |     FunctionCall {
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_command` is never used
[INFO] [stdout]    --> src/parser.rs:394:4
[INFO] [stdout]     |
[INFO] [stdout] 394 | fn build_command(parts: Vec<String>, background: bool) -> Command {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.83s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.29.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "7ca5c36d2b020fc9388ba6c29f98e0468762de4fe0017213bf07379cebd12d5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ca5c36d2b020fc9388ba6c29f98e0468762de4fe0017213bf07379cebd12d5e", kill_on_drop: false }`
[INFO] [stdout] 7ca5c36d2b020fc9388ba6c29f98e0468762de4fe0017213bf07379cebd12d5e
