[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 try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 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-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mindstorm38/mc-dev-tool on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-1/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 586c914a41cd06313b3623e7ade0d7ac3b812a23f8a1f33513c1556448b3c736 [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" "586c914a41cd06313b3623e7ade0d7ac3b812a23f8a1f33513c1556448b3c736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "586c914a41cd06313b3623e7ade0d7ac3b812a23f8a1f33513c1556448b3c736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "586c914a41cd06313b3623e7ade0d7ac3b812a23f8a1f33513c1556448b3c736", kill_on_drop: false }` [INFO] [stdout] 586c914a41cd06313b3623e7ade0d7ac3b812a23f8a1f33513c1556448b3c736 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 648f742160dc59ddb81af1250af69d4511ec9e47856b21eabf1402a710d5f517 [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" "648f742160dc59ddb81af1250af69d4511ec9e47856b21eabf1402a710d5f517", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling curl v0.4.26 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling isahc v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling libnghttp2-sys v0.1.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling curl-sys v0.4.28+curl-7.69.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling num-integer v0.1.42 [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" "648f742160dc59ddb81af1250af69d4511ec9e47856b21eabf1402a710d5f517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648f742160dc59ddb81af1250af69d4511ec9e47856b21eabf1402a710d5f517", kill_on_drop: false }` [INFO] [stdout] 648f742160dc59ddb81af1250af69d4511ec9e47856b21eabf1402a710d5f517