[INFO] fetching crate mcwr 0.2.3... [INFO] testing mcwr-0.2.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate mcwr 0.2.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate mcwr 0.2.3 [INFO] finished tweaking crates.io crate mcwr 0.2.3 [INFO] tweaked toml for crates.io crate mcwr 0.2.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mcwr 0.2.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mcwr 0.2.3 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edfd8cbcfe9bd5d0bd11d7699560634c52c72c9988a2f509c0105aca8f5a69f0 [INFO] running `Command { std: "docker" "start" "-a" "edfd8cbcfe9bd5d0bd11d7699560634c52c72c9988a2f509c0105aca8f5a69f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edfd8cbcfe9bd5d0bd11d7699560634c52c72c9988a2f509c0105aca8f5a69f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edfd8cbcfe9bd5d0bd11d7699560634c52c72c9988a2f509c0105aca8f5a69f0", kill_on_drop: false }` [INFO] [stdout] edfd8cbcfe9bd5d0bd11d7699560634c52c72c9988a2f509c0105aca8f5a69f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3a639fd15b7b11db8303de486998fff9e45d574bc63a5b2597cc255368bd5a4 [INFO] running `Command { std: "docker" "start" "-a" "a3a639fd15b7b11db8303de486998fff9e45d574bc63a5b2597cc255368bd5a4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling value-bag v1.10.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling libnghttp2-sys v0.1.11+1.64.0 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling curl-sys v0.4.80+curl-8.12.1 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling curl v0.4.47 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling bzip2-sys v0.1.12+1.0.8 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling async-process v2.3.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling xattr v1.4.0 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling jiff v0.2.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling smol v2.0.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling dwldutil v1.1.0 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling mclr v3.0.0 [INFO] [stderr] Compiling translateutil v0.1.0 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling mcwr v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `modpack` [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "modpack")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `console`, `default`, `dialoguer`, `en`, `es`, `export`, `indicatif`, `interactive`, and `translateutil` [INFO] [stdout] = help: consider adding `modpack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/cline.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `run` [INFO] [stdout] --> src/cline.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | run, [INFO] [stdout] | ^^^ help: try ignoring the field: `run: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `silent` [INFO] [stdout] --> src/cline.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | silent, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `silent: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/interactive.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | fn configurations(term: &Term) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/interactive.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | fn select_version(term: &Term) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvers.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | let mut binding = std::process::Command::new(self.java_home.as_str()); [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: method `get_map` is never used [INFO] [stdout] --> src/config.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Types { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn get_map(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WORLD` and `SERVER` are never constructed [INFO] [stdout] --> src/mvers.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub enum RunType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 243 | WORLD(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 244 | SERVER(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ram`, `event`, and `err_event` are never read [INFO] [stdout] --> src/mvers.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct Command { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 255 | pub ram: CommandRamConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] 256 | pub event: fn(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 257 | pub err_event: fn(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bin` and `logger` are never read [INFO] [stdout] --> src/mvers.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct CommandResourcesConfig { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 264 | pub bin: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 265 | pub logger: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `xmx` and `xms` are never read [INFO] [stdout] --> src/mvers.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct CommandRamConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 268 | pub xmx: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 269 | pub xms: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 09s [INFO] running `Command { std: "docker" "inspect" "a3a639fd15b7b11db8303de486998fff9e45d574bc63a5b2597cc255368bd5a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3a639fd15b7b11db8303de486998fff9e45d574bc63a5b2597cc255368bd5a4", kill_on_drop: false }` [INFO] [stdout] a3a639fd15b7b11db8303de486998fff9e45d574bc63a5b2597cc255368bd5a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0b789ba634fd87cd829f9fac83faac21520d33f85f6d73f26d1a413a5c4079f [INFO] running `Command { std: "docker" "start" "-a" "b0b789ba634fd87cd829f9fac83faac21520d33f85f6d73f26d1a413a5c4079f", kill_on_drop: false }` [INFO] [stderr] Compiling mcwr v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `modpack` [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "modpack")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `console`, `default`, `dialoguer`, `en`, `es`, `export`, `indicatif`, `interactive`, and `translateutil` [INFO] [stdout] = help: consider adding `modpack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/cline.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `run` [INFO] [stdout] --> src/cline.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | run, [INFO] [stdout] | ^^^ help: try ignoring the field: `run: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `silent` [INFO] [stdout] --> src/cline.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | silent, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `silent: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/interactive.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | fn configurations(term: &Term) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/interactive.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | fn select_version(term: &Term) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mvers.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | let mut binding = std::process::Command::new(self.java_home.as_str()); [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: method `get_map` is never used [INFO] [stdout] --> src/config.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Types { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn get_map(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `WORLD` and `SERVER` are never constructed [INFO] [stdout] --> src/mvers.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub enum RunType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 243 | WORLD(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 244 | SERVER(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ram`, `event`, and `err_event` are never read [INFO] [stdout] --> src/mvers.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct Command { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 255 | pub ram: CommandRamConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] 256 | pub event: fn(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 257 | pub err_event: fn(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bin` and `logger` are never read [INFO] [stdout] --> src/mvers.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct CommandResourcesConfig { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 264 | pub bin: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 265 | pub logger: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `xmx` and `xms` are never read [INFO] [stdout] --> src/mvers.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 267 | pub struct CommandRamConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 268 | pub xmx: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 269 | pub xms: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.41s [INFO] running `Command { std: "docker" "inspect" "b0b789ba634fd87cd829f9fac83faac21520d33f85f6d73f26d1a413a5c4079f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b789ba634fd87cd829f9fac83faac21520d33f85f6d73f26d1a413a5c4079f", kill_on_drop: false }` [INFO] [stdout] b0b789ba634fd87cd829f9fac83faac21520d33f85f6d73f26d1a413a5c4079f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c0f95c66ad1d27cc54761a161bf158c4819ff28981cb0a0ee98048981bf050d5 [INFO] running `Command { std: "docker" "start" "-a" "c0f95c66ad1d27cc54761a161bf158c4819ff28981cb0a0ee98048981bf050d5", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `modpack` [INFO] [stderr] --> src/main.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(feature = "modpack")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `console`, `default`, `dialoguer`, `en`, `es`, `export`, `indicatif`, `interactive`, and `translateutil` [INFO] [stderr] = help: consider adding `modpack` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::format` [INFO] [stderr] --> src/cline.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::fmt::format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `run` [INFO] [stderr] --> src/cline.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | run, [INFO] [stderr] | ^^^ help: try ignoring the field: `run: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `silent` [INFO] [stderr] --> src/cline.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | silent, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `silent: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `term` [INFO] [stderr] --> src/interactive.rs:93:19 [INFO] [stderr] | [INFO] [stderr] 93 | fn configurations(term: &Term) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `term` [INFO] [stderr] --> src/interactive.rs:192:19 [INFO] [stderr] | [INFO] [stderr] 192 | fn select_version(term: &Term) -> String { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/mvers.rs:304:13 [INFO] [stderr] | [INFO] [stderr] 304 | let mut binding = std::process::Command::new(self.java_home.as_str()); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_map` is never used [INFO] [stderr] --> src/config.rs:346:12 [INFO] [stderr] | [INFO] [stderr] 53 | impl Types { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 346 | pub fn get_map(&self) -> HashMap { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `WORLD` and `SERVER` are never constructed [INFO] [stderr] --> src/mvers.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 242 | pub enum RunType { [INFO] [stderr] | ------- variants in this enum [INFO] [stderr] 243 | WORLD(String), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 244 | SERVER(String), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `ram`, `event`, and `err_event` are never read [INFO] [stderr] --> src/mvers.rs:255:9 [INFO] [stderr] | [INFO] [stderr] 248 | pub struct Command { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 255 | pub ram: CommandRamConfig, [INFO] [stderr] | ^^^ [INFO] [stderr] 256 | pub event: fn(String), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 257 | pub err_event: fn(String), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `bin` and `logger` are never read [INFO] [stderr] --> src/mvers.rs:264:9 [INFO] [stderr] | [INFO] [stderr] 261 | pub struct CommandResourcesConfig { [INFO] [stderr] | ---------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 264 | pub bin: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 265 | pub logger: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `xmx` and `xms` are never read [INFO] [stderr] --> src/mvers.rs:268:9 [INFO] [stderr] | [INFO] [stderr] 267 | pub struct CommandRamConfig { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 268 | pub xmx: i32, [INFO] [stderr] | ^^^ [INFO] [stderr] 269 | pub xms: i32, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `mcwr` (bin "mcwr" test) generated 12 warnings (run `cargo fix --bin "mcwr" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mcwr-bffd475e04999bfb) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::config_serialize ... ok [INFO] [stdout] test tests::config_string_parse ... ok [INFO] [stdout] test tests::config_deserialize ... ok [INFO] [stdout] test tests::config_vec_parse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c0f95c66ad1d27cc54761a161bf158c4819ff28981cb0a0ee98048981bf050d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0f95c66ad1d27cc54761a161bf158c4819ff28981cb0a0ee98048981bf050d5", kill_on_drop: false }` [INFO] [stdout] c0f95c66ad1d27cc54761a161bf158c4819ff28981cb0a0ee98048981bf050d5