[INFO] cloning repository https://github.com/dolphjs/rust_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dolphjs/rust_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdolphjs%2Frust_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdolphjs%2Frust_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db24ae200914d4746302f1035ae3f0c011e692ef [INFO] checking dolphjs/rust_cli against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdolphjs%2Frust_cli" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dolphjs/rust_cli [INFO] finished tweaking git repo https://github.com/dolphjs/rust_cli [INFO] tweaked toml for git repo https://github.com/dolphjs/rust_cli written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dolphjs/rust_cli on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dolphjs/rust_cli 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded notify-types v2.0.0 [INFO] [stderr] Downloaded inotify v0.11.0 [INFO] [stderr] Downloaded console v0.15.10 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded tempfile v3.15.0 [INFO] [stderr] Downloaded notify v8.0.0 [INFO] [stderr] Downloaded serde_json v1.0.135 [INFO] [stderr] Downloaded syn v2.0.95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd49a84d6111b3583b00d659f6b3108c398b978d25f4fb8f6d13c342fd007263 [INFO] running `Command { std: "docker" "start" "-a" "dd49a84d6111b3583b00d659f6b3108c398b978d25f4fb8f6d13c342fd007263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd49a84d6111b3583b00d659f6b3108c398b978d25f4fb8f6d13c342fd007263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd49a84d6111b3583b00d659f6b3108c398b978d25f4fb8f6d13c342fd007263", kill_on_drop: false }` [INFO] [stdout] dd49a84d6111b3583b00d659f6b3108c398b978d25f4fb8f6d13c342fd007263 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b94e3f882b4d5a138372be73329051c51120fa08839d4c343199a3d940940647 [INFO] running `Command { std: "docker" "start" "-a" "b94e3f882b4d5a138372be73329051c51120fa08839d4c343199a3d940940647", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking bitflags v2.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking log v0.4.24 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking notify-types v2.0.0 [INFO] [stderr] Checking notify v8.0.0 [INFO] [stderr] Checking tempfile v3.15.0 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking cli_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> src/daemon/runner.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{path::PathBuf, process::Command}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/init.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> src/writers/datasource_config_writer.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | use super::config_writers::{find_base_directory, Database}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> src/daemon/runner.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{path::PathBuf, process::Command}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/init.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Database` [INFO] [stdout] --> src/writers/datasource_config_writer.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | use super::config_writers::{find_base_directory, Database}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/writers/db_config_writer.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_db_config(name: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matchess` [INFO] [stdout] --> src/main.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | } else if let Some(matchess) = matches.subcommand_matches("build") { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matchess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/daemon/configs.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl CommandConfig { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 38 | pub fn new(program: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/properties.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl DefaultConfig { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 27 | pub fn new(config: DefaultConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_server` is never used [INFO] [stdout] --> src/properties.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 37 | impl Generator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub async fn generate_server(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `socket_component_writer` is never used [INFO] [stdout] --> src/writers/socket_component_writer.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn socket_component_writer(){} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `jsonLimit` should have a snake case name [INFO] [stdout] --> src/writers/config_writers.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub jsonLimit: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `json_limit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/writers/db_config_writer.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn write_db_config(name: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matchess` [INFO] [stdout] --> src/main.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | } else if let Some(matchess) = matches.subcommand_matches("build") { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matchess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/daemon/configs.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl CommandConfig { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 38 | pub fn new(program: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/properties.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl DefaultConfig { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 27 | pub fn new(config: DefaultConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_server` is never used [INFO] [stdout] --> src/properties.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 37 | impl Generator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub async fn generate_server(&self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `socket_component_writer` is never used [INFO] [stdout] --> src/writers/socket_component_writer.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn socket_component_writer(){} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `jsonLimit` should have a snake case name [INFO] [stdout] --> src/writers/config_writers.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub jsonLimit: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `json_limit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.96s [INFO] running `Command { std: "docker" "inspect" "b94e3f882b4d5a138372be73329051c51120fa08839d4c343199a3d940940647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b94e3f882b4d5a138372be73329051c51120fa08839d4c343199a3d940940647", kill_on_drop: false }` [INFO] [stdout] b94e3f882b4d5a138372be73329051c51120fa08839d4c343199a3d940940647