[INFO] cloning 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" "clone" "--bare" "https://github.com/mindstorm38/mc-dev-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindstorm38%2Fmc-dev-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindstorm38%2Fmc-dev-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23a6af7ef711ed88449aa119893886cfee289b5f [INFO] testing mindstorm38/mc-dev-tool against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindstorm38%2Fmc-dev-tool" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mindstorm38/mc-dev-tool on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-7/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded curl v0.4.26 [INFO] [stderr] Downloaded curl-sys v0.4.28+curl-7.69.0 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.3 [INFO] [stderr] Downloaded isahc v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98a669510871d8019fcffef2921d92ae7b8ffdbceeea6490ecf61e83b1951030 [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" "98a669510871d8019fcffef2921d92ae7b8ffdbceeea6490ecf61e83b1951030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98a669510871d8019fcffef2921d92ae7b8ffdbceeea6490ecf61e83b1951030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a669510871d8019fcffef2921d92ae7b8ffdbceeea6490ecf61e83b1951030", kill_on_drop: false }` [INFO] [stdout] 98a669510871d8019fcffef2921d92ae7b8ffdbceeea6490ecf61e83b1951030 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 245f7c99a0c048cb7dd9662e78955d61d84b51025861e31099435f3386310e48 [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" "245f7c99a0c048cb7dd9662e78955d61d84b51025861e31099435f3386310e48", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling curl v0.4.26 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling isahc v0.8.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling libnghttp2-sys v0.1.3 [INFO] [stderr] Compiling curl-sys v0.4.28+curl-7.69.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.48 [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:13 [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:13 [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] 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] 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: 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` due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "245f7c99a0c048cb7dd9662e78955d61d84b51025861e31099435f3386310e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "245f7c99a0c048cb7dd9662e78955d61d84b51025861e31099435f3386310e48", kill_on_drop: false }` [INFO] [stdout] 245f7c99a0c048cb7dd9662e78955d61d84b51025861e31099435f3386310e48