[INFO] updating cached repository https://github.com/mindstorm38/mc-dev-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23a6af7ef711ed88449aa119893886cfee289b5f [INFO] testing mindstorm38/mc-dev-tool against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindstorm38%2Fmc-dev-tool" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mindstorm38/mc-dev-tool on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mindstorm38/mc-dev-tool [INFO] finished tweaking git repo https://github.com/mindstorm38/mc-dev-tool [INFO] tweaked toml for git repo https://github.com/mindstorm38/mc-dev-tool written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/mindstorm38/mc-dev-tool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d30ae6b990c7dc7e7e9e7d8c2c116a966c7eab747ab51b5acf3782da412450d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4d30ae6b990c7dc7e7e9e7d8c2c116a966c7eab747ab51b5acf3782da412450d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d30ae6b990c7dc7e7e9e7d8c2c116a966c7eab747ab51b5acf3782da412450d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d30ae6b990c7dc7e7e9e7d8c2c116a966c7eab747ab51b5acf3782da412450d", kill_on_drop: false }` [INFO] [stdout] 4d30ae6b990c7dc7e7e9e7d8c2c116a966c7eab747ab51b5acf3782da412450d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe7d01de019af3de8903e7225a61c0b9cff0718b96e9d2174a58895a437f90c3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fe7d01de019af3de8903e7225a61c0b9cff0718b96e9d2174a58895a437f90c3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling curl v0.4.26 [INFO] [stderr] Compiling isahc v0.8.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling libnghttp2-sys v0.1.3 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.28+curl-7.69.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling sluice v0.5.2 [INFO] [stderr] Compiling mc-mapping-helper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/app/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/app/command/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/app/command/help.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `versions` [INFO] [stdout] --> src/app/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut versions: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_versions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version_meta` [INFO] [stdout] --> src/app/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut version_meta: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/app/command/basic.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | fn execute(&mut self, args: &[&str], manager: &CommandManager) -> CmdResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut running = true; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut versions: Option = None; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut version_meta: Option = None; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/app/command/mod.rs:68:59 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(cmd) = self.commands.get_mut(&cmd_name) { [INFO] [stdout] | ------------- mutable borrow occurs here [INFO] [stdout] 67 | [INFO] [stdout] 68 | if let Err(msg) = cmd.execute(&args[1..], self) { [INFO] [stdout] | ------- ^^^^ immutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mc-mapping-helper`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "fe7d01de019af3de8903e7225a61c0b9cff0718b96e9d2174a58895a437f90c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe7d01de019af3de8903e7225a61c0b9cff0718b96e9d2174a58895a437f90c3", kill_on_drop: false }` [INFO] [stdout] fe7d01de019af3de8903e7225a61c0b9cff0718b96e9d2174a58895a437f90c3