[INFO] cloning repository https://github.com/Earthcomputer/generate_mcserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Earthcomputer/generate_mcserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEarthcomputer%2Fgenerate_mcserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEarthcomputer%2Fgenerate_mcserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5552e2616e02ec38e29e091ee3c313ab192fcf4 [INFO] building Earthcomputer/generate_mcserver/d5552e2616e02ec38e29e091ee3c313ab192fcf4 against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEarthcomputer%2Fgenerate_mcserver" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Earthcomputer/generate_mcserver [INFO] finished tweaking git repo https://github.com/Earthcomputer/generate_mcserver [INFO] tweaked toml for git repo https://github.com/Earthcomputer/generate_mcserver written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Earthcomputer/generate_mcserver on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Earthcomputer/generate_mcserver 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lockfree-object-pool v0.1.6 [INFO] [stderr] Downloaded deflate64 v0.1.8 [INFO] [stderr] Downloaded zstd-safe v7.1.0 [INFO] [stderr] Downloaded zstd v0.13.1 [INFO] [stderr] Downloaded anstyle-query v1.0.3 [INFO] [stderr] Downloaded colorchoice v1.0.1 [INFO] [stderr] Downloaded anstyle-parse v0.2.4 [INFO] [stderr] Downloaded winreg v0.52.0 [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded native-tls v0.2.11 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded zip v2.1.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.83 [INFO] [stderr] Downloaded anstream v0.6.14 [INFO] [stderr] Downloaded clap_derive v4.5.4 [INFO] [stderr] Downloaded clap_builder v4.5.2 [INFO] [stderr] Downloaded h2 v0.4.5 [INFO] [stderr] Downloaded reqwest v0.12.4 [INFO] [stderr] Downloaded unicode-width v0.1.12 [INFO] [stderr] Downloaded syn v2.0.65 [INFO] [stderr] Downloaded rustls-pemfile v2.1.2 [INFO] [stderr] Downloaded displaydoc v0.2.4 [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.0 [INFO] [stderr] Downloaded constcat v0.5.0 [INFO] [stderr] Downloaded anstyle-wincon v3.0.3 [INFO] [stderr] Downloaded anstyle v1.0.7 [INFO] [stderr] Downloaded clap_lex v0.7.0 [INFO] [stderr] Downloaded hex-literal v0.4.1 [INFO] [stderr] Downloaded derive_arbitrary v1.3.2 [INFO] [stderr] Downloaded zopfli v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a8e663a3defce341c2b480ac23f35e712ab481202220920f07fdde1a01ccd77 [INFO] running `Command { std: "docker" "start" "-a" "3a8e663a3defce341c2b480ac23f35e712ab481202220920f07fdde1a01ccd77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a8e663a3defce341c2b480ac23f35e712ab481202220920f07fdde1a01ccd77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a8e663a3defce341c2b480ac23f35e712ab481202220920f07fdde1a01ccd77", kill_on_drop: false }` [INFO] [stdout] 3a8e663a3defce341c2b480ac23f35e712ab481202220920f07fdde1a01ccd77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9c2b408aaea8dc4a0dab8583adb31f557365e8bf38266374b9e9184928d8db1 [INFO] running `Command { std: "docker" "start" "-a" "a9c2b408aaea8dc4a0dab8583adb31f557365e8bf38266374b9e9184928d8db1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling zip v2.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling deflate64 v0.1.8 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling generate_mcserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling constcat v0.5.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stdout] warning: field `cache_dir` is never read [INFO] [stdout] --> src/commands/add.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct AddModArgs<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub cache_dir: &'a Path, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `server_side`, and `project_type` are never read [INFO] [stdout] --> src/mod_provider/modrinth.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 373 | struct Project { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 376 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 377 | server_side: SideRequirement, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 378 | project_type: ProjectType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/mod_provider/modrinth.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 393 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 396 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_type`, `project_id`, and `versions` are never read [INFO] [stdout] --> src/mod_provider/modrinth.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 405 | struct SearchHit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 410 | project_type: ProjectType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 411 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 412 | author: String, [INFO] [stdout] 413 | versions: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchHit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version_number`, `dependencies`, and `game_versions` are never read [INFO] [stdout] --> src/mod_provider/modrinth.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 467 | struct ProjectVersion { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 468 | name: String, [INFO] [stdout] 469 | version_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 470 | dependencies: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 471 | game_versions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version_id`, `project_id`, `file_name`, and `dependency_type` are never read [INFO] [stdout] --> src/mod_provider/modrinth.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 478 | struct ProjectDependency { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 479 | #[serde(default)] [INFO] [stdout] 480 | version_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 481 | #[serde(default)] [INFO] [stdout] 482 | project_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 483 | #[serde(default)] [INFO] [stdout] 484 | file_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 485 | dependency_type: ProjectDependencyType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `snapshot` is never read [INFO] [stdout] --> src/mojang.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct LatestVersions { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 29 | pub release: String, [INFO] [stdout] 30 | pub snapshot: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LatestVersions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/mojang.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ManifestVersion { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub typ: VersionType, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManifestVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/commands/new.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn escaped_java_exe_name(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn escaped_java_exe_name(&self) -> anyhow::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/commands/new.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 171 | fn escape_executable_name(exe_name: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 171 | fn escape_executable_name(exe_name: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.35s [INFO] running `Command { std: "docker" "inspect" "a9c2b408aaea8dc4a0dab8583adb31f557365e8bf38266374b9e9184928d8db1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c2b408aaea8dc4a0dab8583adb31f557365e8bf38266374b9e9184928d8db1", kill_on_drop: false }` [INFO] [stdout] a9c2b408aaea8dc4a0dab8583adb31f557365e8bf38266374b9e9184928d8db1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b18f4aca1e0f5665a1756406f778a9a1a2be1dc5449035ee1d2aca45da6dba6a [INFO] running `Command { std: "docker" "start" "-a" "b18f4aca1e0f5665a1756406f778a9a1a2be1dc5449035ee1d2aca45da6dba6a", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling generate_mcserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `cache_dir` is never read [INFO] [stdout] --> src/commands/add.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct AddModArgs<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub cache_dir: &'a Path, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `server_side`, and `project_type` are never read [INFO] [stdout] --> src/mod_provider/modrinth.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 373 | struct Project { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 376 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 377 | server_side: SideRequirement, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 378 | project_type: ProjectType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/mod_provider/modrinth.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 393 | struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 396 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_type`, `project_id`, and `versions` are never read [INFO] [stdout] --> src/mod_provider/modrinth.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 405 | struct SearchHit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 410 | project_type: ProjectType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 411 | project_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 412 | author: String, [INFO] [stdout] 413 | versions: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchHit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version_number`, `dependencies`, and `game_versions` are never read [INFO] [stdout] --> src/mod_provider/modrinth.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 467 | struct ProjectVersion { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 468 | name: String, [INFO] [stdout] 469 | version_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 470 | dependencies: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 471 | game_versions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version_id`, `project_id`, `file_name`, and `dependency_type` are never read [INFO] [stdout] --> src/mod_provider/modrinth.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 478 | struct ProjectDependency { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 479 | #[serde(default)] [INFO] [stdout] 480 | version_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 481 | #[serde(default)] [INFO] [stdout] 482 | project_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 483 | #[serde(default)] [INFO] [stdout] 484 | file_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 485 | dependency_type: ProjectDependencyType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectDependency` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `snapshot` is never read [INFO] [stdout] --> src/mojang.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct LatestVersions { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 29 | pub release: String, [INFO] [stdout] 30 | pub snapshot: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LatestVersions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/mojang.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ManifestVersion { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub typ: VersionType, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManifestVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/commands/new.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn escaped_java_exe_name(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn escaped_java_exe_name(&self) -> anyhow::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/commands/new.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 171 | fn escape_executable_name(exe_name: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 171 | fn escape_executable_name(exe_name: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.71s [INFO] running `Command { std: "docker" "inspect" "b18f4aca1e0f5665a1756406f778a9a1a2be1dc5449035ee1d2aca45da6dba6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b18f4aca1e0f5665a1756406f778a9a1a2be1dc5449035ee1d2aca45da6dba6a", kill_on_drop: false }` [INFO] [stdout] b18f4aca1e0f5665a1756406f778a9a1a2be1dc5449035ee1d2aca45da6dba6a