[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 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEarthcomputer%2Fgenerate_mcserver" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Earthcomputer/generate_mcserver on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zstd v0.13.1 [INFO] [stderr] Downloaded lzma-rs v0.3.0 [INFO] [stderr] Downloaded displaydoc v0.2.4 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded tower-layer v0.3.2 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] [stderr] Downloaded rustls-pemfile v2.1.2 [INFO] [stderr] Downloaded utf8parse v0.2.1 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded clap_lex v0.7.0 [INFO] [stderr] Downloaded clap_derive v4.5.4 [INFO] [stderr] Downloaded anstyle-query v1.0.3 [INFO] [stderr] Downloaded bzip2 v0.4.4 [INFO] [stderr] Downloaded tower v0.4.13 [INFO] [stderr] Downloaded syn v2.0.65 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded encode_unicode v0.3.6 [INFO] [stderr] Downloaded clap_builder v4.5.2 [INFO] [stderr] Downloaded reqwest v0.12.4 [INFO] [stderr] Downloaded h2 v0.4.5 [INFO] [stderr] Downloaded hyper v1.3.1 [INFO] [stderr] Downloaded hyper-util v0.1.3 [INFO] [stderr] Downloaded zip v2.1.3 [INFO] [stderr] Downloaded console v0.15.8 [INFO] [stderr] Downloaded unicode-width v0.1.12 [INFO] [stderr] Downloaded indicatif v0.17.8 [INFO] [stderr] Downloaded native-tls v0.2.11 [INFO] [stderr] Downloaded winreg v0.52.0 [INFO] [stderr] Downloaded portable-atomic v1.6.0 [INFO] [stderr] Downloaded deflate64 v0.1.8 [INFO] [stderr] Downloaded zopfli v0.8.1 [INFO] [stderr] Downloaded constcat v0.5.0 [INFO] [stderr] Downloaded bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Downloaded http-body-util v0.1.1 [INFO] [stderr] Downloaded http-body v1.0.0 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded lockfree-object-pool v0.1.6 [INFO] [stderr] Downloaded zstd-safe v7.1.0 [INFO] [stderr] Downloaded zstd-sys v2.0.10+zstd.1.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b40e1ef9976af6fdc180678e605481cdc6ee40790d32fd8efe73205d8a06501 [INFO] running `Command { std: "docker" "start" "-a" "7b40e1ef9976af6fdc180678e605481cdc6ee40790d32fd8efe73205d8a06501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b40e1ef9976af6fdc180678e605481cdc6ee40790d32fd8efe73205d8a06501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b40e1ef9976af6fdc180678e605481cdc6ee40790d32fd8efe73205d8a06501", kill_on_drop: false }` [INFO] [stdout] 7b40e1ef9976af6fdc180678e605481cdc6ee40790d32fd8efe73205d8a06501 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8afb72084cd155374a4c5180fcda788f39b753d6f528af36b51bb1a5a6b32e5d [INFO] running `Command { std: "docker" "start" "-a" "8afb72084cd155374a4c5180fcda788f39b753d6f528af36b51bb1a5a6b32e5d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling log v0.4.21 [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 subtle v2.5.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling zip v2.1.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling jobserver v0.1.31 [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 getrandom v0.2.15 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.8.5 [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 ipnet v2.9.0 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling deflate64 v0.1.8 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling generate_mcserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling constcat v0.5.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 indicatif v0.17.8 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling bzip2 v0.4.4 [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 thiserror-impl v1.0.61 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [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 hyper-tls v0.6.0 [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 1m 06s [INFO] running `Command { std: "docker" "inspect" "8afb72084cd155374a4c5180fcda788f39b753d6f528af36b51bb1a5a6b32e5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8afb72084cd155374a4c5180fcda788f39b753d6f528af36b51bb1a5a6b32e5d", kill_on_drop: false }` [INFO] [stdout] 8afb72084cd155374a4c5180fcda788f39b753d6f528af36b51bb1a5a6b32e5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79b53ba6930428d279d6426e26bf8087c979d172f2c39ff320b4871de983bd14 [INFO] running `Command { std: "docker" "start" "-a" "79b53ba6930428d279d6426e26bf8087c979d172f2c39ff320b4871de983bd14", 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.97s [INFO] running `Command { std: "docker" "inspect" "79b53ba6930428d279d6426e26bf8087c979d172f2c39ff320b4871de983bd14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b53ba6930428d279d6426e26bf8087c979d172f2c39ff320b4871de983bd14", kill_on_drop: false }` [INFO] [stdout] 79b53ba6930428d279d6426e26bf8087c979d172f2c39ff320b4871de983bd14