[INFO] cloning repository https://github.com/MatsDK/CLI_File_Explorer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MatsDK/CLI_File_Explorer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatsDK%2FCLI_File_Explorer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatsDK%2FCLI_File_Explorer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb93beefbe8d6dff45df0497f9c37595306138a2 [INFO] building MatsDK/CLI_File_Explorer against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatsDK%2FCLI_File_Explorer" "/workspace/builds/worker-82/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-82/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MatsDK/CLI_File_Explorer on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MatsDK/CLI_File_Explorer [INFO] finished tweaking git repo https://github.com/MatsDK/CLI_File_Explorer [INFO] tweaked toml for git repo https://github.com/MatsDK/CLI_File_Explorer written to /workspace/builds/worker-82/source/Cargo.toml [INFO] crate git repo https://github.com/MatsDK/CLI_File_Explorer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 250a9f060a3f812af586fc60a79e9e2df287271f21e9f4a9ab3d600188adbb9c [INFO] running `Command { std: "docker" "start" "-a" "250a9f060a3f812af586fc60a79e9e2df287271f21e9f4a9ab3d600188adbb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "250a9f060a3f812af586fc60a79e9e2df287271f21e9f4a9ab3d600188adbb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "250a9f060a3f812af586fc60a79e9e2df287271f21e9f4a9ab3d600188adbb9c", kill_on_drop: false }` [INFO] [stdout] 250a9f060a3f812af586fc60a79e9e2df287271f21e9f4a9ab3d600188adbb9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80292cbd98ce375a55c501314708a1ab1ca5b2e0d1a8e11893b8d4d351a6fe36 [INFO] running `Command { std: "docker" "start" "-a" "80292cbd98ce375a55c501314708a1ab1ca5b2e0d1a8e11893b8d4d351a6fe36", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rust-command-line-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 180 | ... for e in self.tree.root.iter() { [INFO] [stdout] | --------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 199 | / ... self.add_link(tree::Link { [INFO] [stdout] 200 | | ... path: Path::new(&format!("{}/{}", self.curr_path, path.file_name().unwrap().to_str().unwrap())).display().to_string(), [INFO] [stdout] 201 | | ... r#type: format!("{}", found.unwrap().r#type), [INFO] [stdout] | | ----- immutable borrow later used here [INFO] [stdout] 202 | | ... name: String::from(path.file_name().unwrap().to_str().unwrap()), [INFO] [stdout] ... | [INFO] [stdout] 205 | | ... [INFO] [stdout] 206 | | ... }, true); [INFO] [stdout] | |______________^ mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 08s [INFO] running `Command { std: "docker" "inspect" "80292cbd98ce375a55c501314708a1ab1ca5b2e0d1a8e11893b8d4d351a6fe36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80292cbd98ce375a55c501314708a1ab1ca5b2e0d1a8e11893b8d4d351a6fe36", kill_on_drop: false }` [INFO] [stdout] 80292cbd98ce375a55c501314708a1ab1ca5b2e0d1a8e11893b8d4d351a6fe36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0da13c056f834472b479ead38bfd0e54476579c43d110a3e06d552f306a5751e [INFO] running `Command { std: "docker" "start" "-a" "0da13c056f834472b479ead38bfd0e54476579c43d110a3e06d552f306a5751e", kill_on_drop: false }` [INFO] [stderr] Compiling rust-command-line-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 180 | ... for e in self.tree.root.iter() { [INFO] [stdout] | --------------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 199 | / ... self.add_link(tree::Link { [INFO] [stdout] 200 | | ... path: Path::new(&format!("{}/{}", self.curr_path, path.file_name().unwrap().to_str().unwrap())).display().to_string(), [INFO] [stdout] 201 | | ... r#type: format!("{}", found.unwrap().r#type), [INFO] [stdout] | | ----- immutable borrow later used here [INFO] [stdout] 202 | | ... name: String::from(path.file_name().unwrap().to_str().unwrap()), [INFO] [stdout] ... | [INFO] [stdout] 205 | | ... [INFO] [stdout] 206 | | ... }, true); [INFO] [stdout] | |______________^ mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.80s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_command_line_app-c4aee38ae857d8a2) [INFO] running `Command { std: "docker" "inspect" "0da13c056f834472b479ead38bfd0e54476579c43d110a3e06d552f306a5751e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da13c056f834472b479ead38bfd0e54476579c43d110a3e06d552f306a5751e", kill_on_drop: false }` [INFO] [stdout] 0da13c056f834472b479ead38bfd0e54476579c43d110a3e06d552f306a5751e