[INFO] cloning repository https://github.com/DAC098/rust-file-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DAC098/rust-file-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDAC098%2Frust-file-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDAC098%2Frust-file-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eccd01f018f1ec4bf2d3ff58ee0639f09e491c1c [INFO] building DAC098/rust-file-server against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDAC098%2Frust-file-server" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DAC098/rust-file-server [INFO] finished tweaking git repo https://github.com/DAC098/rust-file-server [INFO] tweaked toml for git repo https://github.com/DAC098/rust-file-server written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DAC098/rust-file-server on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DAC098/rust-file-server 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/dac098/shape-rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v2.1.0 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded futures-io v0.3.17 [INFO] [stderr] Downloaded tokio-tar v0.3.0 [INFO] [stderr] Downloaded filetime v0.2.15 [INFO] [stderr] Downloaded simple_asn1 v0.4.1 [INFO] [stderr] Downloaded postgres-types v0.2.2 [INFO] [stderr] Downloaded pest_meta v2.1.3 [INFO] [stderr] Downloaded tower v0.4.12 [INFO] [stderr] Downloaded env_logger v0.9.0 [INFO] [stderr] Downloaded pem v0.8.3 [INFO] [stderr] Downloaded array-init v2.0.0 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded bb8 v0.7.1 [INFO] [stderr] Downloaded ucd-trie v0.1.3 [INFO] [stderr] Downloaded generic-array v0.12.4 [INFO] [stderr] Downloaded pest v2.1.3 [INFO] [stderr] Downloaded handlebars v4.1.4 [INFO] [stderr] Downloaded bumpalo v3.8.0 [INFO] [stderr] Downloaded reqwest v0.11.8 [INFO] [stderr] Downloaded fake-simd v0.1.2 [INFO] [stderr] Downloaded jsonwebtoken v7.2.0 [INFO] [stderr] Downloaded inotify v0.9.5 [INFO] [stderr] Downloaded kqueue v1.0.4 [INFO] [stderr] Downloaded serde_yaml v0.8.21 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded sha-1 v0.8.2 [INFO] [stderr] Downloaded notify v5.0.0-pre.13 [INFO] [stderr] Downloaded sha2 v0.9.8 [INFO] [stderr] Downloaded bb8-postgres v0.7.0 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded digest v0.8.1 [INFO] [stderr] Downloaded pest_generator v2.1.3 [INFO] [stderr] Downloaded kqueue-sys v1.0.3 [INFO] [stderr] Downloaded phf v0.10.0 [INFO] [stderr] Downloaded fsevent-sys v4.0.0 [INFO] [stderr] Downloaded futures-executor v0.3.17 [INFO] [stderr] Downloaded hmac v0.11.0 [INFO] [stderr] Downloaded md-5 v0.9.1 [INFO] [stderr] Downloaded postgres-protocol v0.6.2 [INFO] [stderr] Downloaded opaque-debug v0.2.3 [INFO] [stderr] Downloaded pest_derive v2.1.0 [INFO] [stderr] Downloaded futures v0.3.17 [INFO] [stderr] Downloaded siphasher v0.3.7 [INFO] [stderr] Downloaded crypto-mac v0.11.1 [INFO] [stderr] Downloaded tokio-postgres v0.7.4 [INFO] [stderr] Downloaded futures-macro v0.3.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fda61b51390fc4e9b2959f3985e8d35a1ddaab3c6f78349efb66d17048aae465 [INFO] running `Command { std: "docker" "start" "-a" "fda61b51390fc4e9b2959f3985e8d35a1ddaab3c6f78349efb66d17048aae465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fda61b51390fc4e9b2959f3985e8d35a1ddaab3c6f78349efb66d17048aae465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda61b51390fc4e9b2959f3985e8d35a1ddaab3c6f78349efb66d17048aae465", kill_on_drop: false }` [INFO] [stdout] fda61b51390fc4e9b2959f3985e8d35a1ddaab3c6f78349efb66d17048aae465 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85aca6819d9297246c5c8c0845a6c8d85260e4f777d3aa2b0991f40b9e00a8ff [INFO] running `Command { std: "docker" "start" "-a" "85aca6819d9297246c5c8c0845a6c8d85260e4f777d3aa2b0991f40b9e00a8ff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling array-init v2.0.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling inotify v0.9.5 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling phf v0.10.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling shape-rs v0.1.0 (https://github.com/dac098/shape-rs#a26c0920) [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rust-argon2 v0.8.3 [INFO] [stderr] Compiling postgres-protocol v0.6.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling otp v0.1.0 (/opt/rustwide/workdir/otp) [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling bb8 v0.7.1 [INFO] [stderr] Compiling h2 v0.3.6 [INFO] [stderr] Compiling tokio-tar v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling notify v5.0.0-pre.13 [INFO] [stderr] Compiling handlebars v4.1.4 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling lib v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stderr] Compiling tokio-postgres v0.7.4 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling bb8-postgres v0.7.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.8 [INFO] [stderr] Compiling rust-file-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `enable`, `from`, `username`, `password`, and `relay` are never read [INFO] [stdout] --> src/config/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EmailConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 48 | pub enable: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub password: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub relay: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmailConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `secure`, `origin`, and `name` are never read [INFO] [stdout] --> src/config/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ServerInfoConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 81 | pub secure: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | pub origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerInfoConfig` 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 `enable`, `key`, and `cert` are never read [INFO] [stdout] --> src/config/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct SslConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 137 | pub enable: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 138 | pub key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 139 | pub cert: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SslConfig` 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 `enable` is never read [INFO] [stdout] --> src/config/mod.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct WatcherConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 164 | pub enable: bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WatcherConfig` 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 `secret` is never read [INFO] [stdout] --> src/config/mod.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct SecurityConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 267 | pub secret: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecurityConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 291 | pub backlog: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 292 | pub threads: usize, [INFO] [stdout] 293 | pub max_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 294 | pub max_connection_rate: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub email: EmailConfig, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 298 | pub info: ServerInfoConfig, [INFO] [stdout] | ^^^^ [INFO] [stdout] 299 | pub ssl: SslConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] 300 | pub template: TemplateConfig, [INFO] [stdout] 301 | pub watcher: WatcherConfig, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 302 | pub security: SecurityConfig, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` 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 `0` is never read [INFO] [stdout] --> src/db/record/users.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InvalidAlgorithm(i16); [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `InvalidAlgorithm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/config/shape.rs:271:37 [INFO] [stdout] | [INFO] [stdout] 271 | let mut with_root = conf_dir.clone().to_owned(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 271 - let mut with_root = conf_dir.clone().to_owned(); [INFO] [stdout] 271 + let mut with_root = conf_dir.to_owned(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "85aca6819d9297246c5c8c0845a6c8d85260e4f777d3aa2b0991f40b9e00a8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85aca6819d9297246c5c8c0845a6c8d85260e4f777d3aa2b0991f40b9e00a8ff", kill_on_drop: false }` [INFO] [stdout] 85aca6819d9297246c5c8c0845a6c8d85260e4f777d3aa2b0991f40b9e00a8ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08f3d8c08ae493c71ea4d28772e7f23e70ccd4dd7065e21797c8b456e6c5acfa [INFO] running `Command { std: "docker" "start" "-a" "08f3d8c08ae493c71ea4d28772e7f23e70ccd4dd7065e21797c8b456e6c5acfa", kill_on_drop: false }` [INFO] [stderr] Compiling rust-file-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `enable`, `from`, `username`, `password`, and `relay` are never read [INFO] [stdout] --> src/config/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EmailConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 48 | pub enable: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | pub from: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub password: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 52 | pub relay: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmailConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `secure`, `origin`, and `name` are never read [INFO] [stdout] --> src/config/mod.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct ServerInfoConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 81 | pub secure: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 82 | pub origin: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | pub name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerInfoConfig` 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 `enable`, `key`, and `cert` are never read [INFO] [stdout] --> src/config/mod.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct SslConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 137 | pub enable: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 138 | pub key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 139 | pub cert: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SslConfig` 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 `enable` is never read [INFO] [stdout] --> src/config/mod.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct WatcherConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 164 | pub enable: bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WatcherConfig` 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 `secret` is never read [INFO] [stdout] --> src/config/mod.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct SecurityConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 267 | pub secret: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecurityConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/config/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct ServerConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 291 | pub backlog: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 292 | pub threads: usize, [INFO] [stdout] 293 | pub max_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 294 | pub max_connection_rate: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub email: EmailConfig, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 298 | pub info: ServerInfoConfig, [INFO] [stdout] | ^^^^ [INFO] [stdout] 299 | pub ssl: SslConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] 300 | pub template: TemplateConfig, [INFO] [stdout] 301 | pub watcher: WatcherConfig, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 302 | pub security: SecurityConfig, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` 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 `0` is never read [INFO] [stdout] --> src/db/record/users.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InvalidAlgorithm(i16); [INFO] [stdout] | ---------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `InvalidAlgorithm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/config/shape.rs:271:37 [INFO] [stdout] | [INFO] [stdout] 271 | let mut with_root = conf_dir.clone().to_owned(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 271 - let mut with_root = conf_dir.clone().to_owned(); [INFO] [stdout] 271 + let mut with_root = conf_dir.to_owned(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.68s [INFO] running `Command { std: "docker" "inspect" "08f3d8c08ae493c71ea4d28772e7f23e70ccd4dd7065e21797c8b456e6c5acfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08f3d8c08ae493c71ea4d28772e7f23e70ccd4dd7065e21797c8b456e6c5acfa", kill_on_drop: false }` [INFO] [stdout] 08f3d8c08ae493c71ea4d28772e7f23e70ccd4dd7065e21797c8b456e6c5acfa