[INFO] cloning repository https://github.com/MelvinTo/fork-tree
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MelvinTo/fork-tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMelvinTo%2Ffork-tree", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMelvinTo%2Ffork-tree'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc3bae81cda50c8125a4b7211295267ee3ea1e43
[INFO] checking MelvinTo/fork-tree against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMelvinTo%2Ffork-tree" "/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/MelvinTo/fork-tree
[INFO] finished tweaking git repo https://github.com/MelvinTo/fork-tree
[INFO] tweaked toml for git repo https://github.com/MelvinTo/fork-tree written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MelvinTo/fork-tree on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MelvinTo/fork-tree 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f6a3a092daaa11e6f27e9b20f2decc2689a1a8dff6f0607dc13b78fd7b9ed889
[INFO] running `Command { std: "docker" "start" "-a" "f6a3a092daaa11e6f27e9b20f2decc2689a1a8dff6f0607dc13b78fd7b9ed889", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f6a3a092daaa11e6f27e9b20f2decc2689a1a8dff6f0607dc13b78fd7b9ed889", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6a3a092daaa11e6f27e9b20f2decc2689a1a8dff6f0607dc13b78fd7b9ed889", kill_on_drop: false }`
[INFO] [stdout] f6a3a092daaa11e6f27e9b20f2decc2689a1a8dff6f0607dc13b78fd7b9ed889
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ba29b62228ac7dfd141186838a492600c576634a223cd1dc8368fd3886054b7
[INFO] running `Command { std: "docker" "start" "-a" "2ba29b62228ac7dfd141186838a492600c576634a223cd1dc8368fd3886054b7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]     Checking regex-syntax v0.6.26
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking serde_json v1.0.81
[INFO] [stderr]     Checking fork-tree v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:204:13
[INFO] [stdout]     |
[INFO] [stdout] 204 |         let mut p = self.get_process_mut(&ctxt.pid).ok_or(MyError::InvalidProcess)?;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut p = self.get_process_mut(&ctxt.pid).ok_or(MyError::InvalidProcess)?;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `MyResult` is never used
[INFO] [stdout]   --> src/main.rs:33:6
[INFO] [stdout]    |
[INFO] [stdout] 33 | type MyResult<T> = Result<T, Box<dyn std::error::Error>>;
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `root` and `processes` are never read
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct ForkTree {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 37 |     root: ForkProcess,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 38 |     processes: HashMap<u64, ForkProcess>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ForkTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct ForkProcess {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 43 |     cmd: String,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 44 |     pid: u64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 45 |     duration: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 46 |     start_time: f64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 47 |     ppid: Option<u64>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 48 |     args: Vec<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 49 |     cpids: Vec<u64>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ForkProcess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Context` is never constructed
[INFO] [stdout]   --> src/main.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct Context {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MyError` is never used
[INFO] [stdout]   --> src/main.rs:61:6
[INFO] [stdout]    |
[INFO] [stdout] 61 | enum MyError {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Syscall` is never used
[INFO] [stdout]   --> src/main.rs:75:6
[INFO] [stdout]    |
[INFO] [stdout] 75 | enum Syscall {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/main.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl ForkTree {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn get_process(&self, pid: &u64) -> Option<&ForkProcess> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn get_process_mut(&mut self, pid: &u64) -> Option<&mut ForkProcess> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn process_line(&mut self, line: &str) -> MyResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     fn parse_context(line: &str) -> Option<Context> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     fn process_clone_line(&mut self, ctxt: &Context) -> MyResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     fn process_exec_line(&mut self, ctxt: &Context) -> MyResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn process_exit_line(&mut self, ctxt: &Context) -> MyResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 |     fn print_fork_tree(&self, pid: u64) -> MyResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_with_ppid`, `new_with_pid`, and `add_child_process` are never used
[INFO] [stdout]    --> src/main.rs:263:8
[INFO] [stdout]     |
[INFO] [stdout] 250 | impl ForkProcess {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 263 |     fn new_with_ppid(pid: u64, ppid: u64) -> ForkProcess {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 275 |     fn new_with_pid(pid: u64) -> ForkProcess {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 287 |     fn add_child_process(&mut self, cpid: u64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.48s
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:204:13
[INFO] [stdout]     |
[INFO] [stdout] 204 |         let mut p = self.get_process_mut(&ctxt.pid).ok_or(MyError::InvalidProcess)?;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut p = self.get_process_mut(&ctxt.pid).ok_or(MyError::InvalidProcess)?;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `root` is never read
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct ForkTree {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] 37 |     root: ForkProcess,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ForkTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pid` and `ppid` are never read
[INFO] [stdout]   --> src/main.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct ForkProcess {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 43 |     cmd: String,
[INFO] [stdout] 44 |     pid: u64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     ppid: Option<u64>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ForkProcess` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:375:13
[INFO] [stdout]     |
[INFO] [stdout] 375 |             ft.process_line(&line);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 375 |             let _ = ft.process_line(&line);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:378:9
[INFO] [stdout]     |
[INFO] [stdout] 378 |         ft.print_fork_tree(14991);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 378 |         let _ = ft.print_fork_tree(14991);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2ba29b62228ac7dfd141186838a492600c576634a223cd1dc8368fd3886054b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ba29b62228ac7dfd141186838a492600c576634a223cd1dc8368fd3886054b7", kill_on_drop: false }`
[INFO] [stdout] 2ba29b62228ac7dfd141186838a492600c576634a223cd1dc8368fd3886054b7
