[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDAC098%2Frust-file-server" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DAC098/rust-file-server 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/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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 filetime v0.2.15
[INFO] [stderr]   Downloaded fsevent-sys v4.0.0
[INFO] [stderr]   Downloaded tokio-macros v1.5.0
[INFO] [stderr]   Downloaded kqueue-sys v1.0.3
[INFO] [stderr]   Downloaded kqueue v1.0.4
[INFO] [stderr]   Downloaded postgres-types v0.2.2
[INFO] [stderr]   Downloaded bb8 v0.7.1
[INFO] [stderr]   Downloaded socket2 v0.4.2
[INFO] [stderr]   Downloaded tokio-tar v0.3.0
[INFO] [stderr]   Downloaded notify v5.0.0-pre.13
[INFO] [stderr]   Downloaded serde_yaml v0.8.21
[INFO] [stderr]   Downloaded handlebars v4.1.4
[INFO] [stderr]   Downloaded tower v0.4.12
[INFO] [stderr]   Downloaded h2 v0.3.6
[INFO] [stderr]   Downloaded tokio-postgres v0.7.4
[INFO] [stderr]   Downloaded reqwest v0.11.8
[INFO] [stderr]   Downloaded hyper v0.14.13
[INFO] [stderr]   Downloaded postgres-protocol v0.6.2
[INFO] [stderr]   Downloaded bb8-postgres v0.7.0
[INFO] [stderr]   Downloaded inotify v0.9.5
[INFO] [stderr]   Downloaded array-init v2.0.0
[INFO] [stderr]   Downloaded md-5 v0.9.1
[INFO] [stderr]   Downloaded tokio v1.12.0
[INFO] [stderr]   Downloaded phf v0.10.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b13f7219c0f2c96b64a85eed92125e079b64863ba111332d9266d7123ab77ae0
[INFO] running `Command { std: "docker" "start" "-a" "b13f7219c0f2c96b64a85eed92125e079b64863ba111332d9266d7123ab77ae0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b13f7219c0f2c96b64a85eed92125e079b64863ba111332d9266d7123ab77ae0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b13f7219c0f2c96b64a85eed92125e079b64863ba111332d9266d7123ab77ae0", kill_on_drop: false }`
[INFO] [stdout] b13f7219c0f2c96b64a85eed92125e079b64863ba111332d9266d7123ab77ae0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c2463471c2a90fae53b6df146462753636f84d8b76423f3ac8cc88f77eae9ddd
[INFO] running `Command { std: "docker" "start" "-a" "c2463471c2a90fae53b6df146462753636f84d8b76423f3ac8cc88f77eae9ddd", 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 smallvec v1.7.0
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling tokio v1.12.0
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling tinyvec v1.5.0
[INFO] [stderr]    Compiling serde_json v1.0.68
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling openssl v0.10.38
[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 crypto-mac v0.11.1
[INFO] [stderr]    Compiling ucd-trie v0.1.3
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling sha2 v0.9.8
[INFO] [stderr]    Compiling md-5 v0.9.1
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling siphasher v0.3.7
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling array-init v2.0.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling phf v0.10.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling tower-layer v0.3.1
[INFO] [stderr]    Compiling blake2b_simd v0.5.11
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling shape-rs v0.1.0 (https://github.com/dac098/shape-rs#a26c0920)
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling socket2 v0.4.2
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling filetime v0.2.15
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling inotify v0.9.5
[INFO] [stderr]    Compiling xattr v0.2.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rust-argon2 v0.8.3
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling http-body v0.4.3
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling urlencoding v2.1.0
[INFO] [stderr]    Compiling postgres-protocol v0.6.2
[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 otp v0.1.0 (/opt/rustwide/workdir/otp)
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling tokio-macros v1.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling async-trait v0.1.51
[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 serde v1.0.130
[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 tokio-tar v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.6
[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 notify v5.0.0-pre.13
[INFO] [stderr]    Compiling serde_yaml v0.8.21
[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 jsonwebtoken v7.2.0
[INFO] [stderr]    Compiling tokio-postgres v0.7.4
[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<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 50 |     pub username: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 51 |     pub password: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 52 |     pub relay: Option<String>
[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<PathBuf>,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 139 |     pub cert: Option<PathBuf>
[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] [stderr]  WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) }
[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 04s
[INFO] running `Command { std: "docker" "inspect" "c2463471c2a90fae53b6df146462753636f84d8b76423f3ac8cc88f77eae9ddd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2463471c2a90fae53b6df146462753636f84d8b76423f3ac8cc88f77eae9ddd", kill_on_drop: false }`
[INFO] [stdout] c2463471c2a90fae53b6df146462753636f84d8b76423f3ac8cc88f77eae9ddd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 300b9b994d8d59ef6a53fa306d5c66a80dcfd8128812e3793d822ee94fd8625a
[INFO] running `Command { std: "docker" "start" "-a" "300b9b994d8d59ef6a53fa306d5c66a80dcfd8128812e3793d822ee94fd8625a", 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<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 50 |     pub username: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 51 |     pub password: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 52 |     pub relay: Option<String>
[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<PathBuf>,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 139 |     pub cert: Option<PathBuf>
[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] [stderr]  WARN rustc_errors::emitter Invalid span /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/std/src/path.rs" }) }
[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 5.78s
[INFO] running `Command { std: "docker" "inspect" "300b9b994d8d59ef6a53fa306d5c66a80dcfd8128812e3793d822ee94fd8625a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "300b9b994d8d59ef6a53fa306d5c66a80dcfd8128812e3793d822ee94fd8625a", kill_on_drop: false }`
[INFO] [stdout] 300b9b994d8d59ef6a53fa306d5c66a80dcfd8128812e3793d822ee94fd8625a
