[INFO] cloning repository https://github.com/mickjohn/friendly_file_server_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mickjohn/friendly_file_server_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickjohn%2Ffriendly_file_server_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickjohn%2Ffriendly_file_server_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8f2b9b3e6bf11c6566a433c3a987ab7537d1a7a1
[INFO] testing mickjohn/friendly_file_server_rust against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickjohn%2Ffriendly_file_server_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mickjohn/friendly_file_server_rust
[INFO] finished tweaking git repo https://github.com/mickjohn/friendly_file_server_rust
[INFO] tweaked toml for git repo https://github.com/mickjohn/friendly_file_server_rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mickjohn/friendly_file_server_rust on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mickjohn/friendly_file_server_rust 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4be3d72c4b748f21abad87a012a506a68586dcac9eb6fe3b24f0d745af94a9e2
[INFO] running `Command { std: "docker" "start" "-a" "4be3d72c4b748f21abad87a012a506a68586dcac9eb6fe3b24f0d745af94a9e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4be3d72c4b748f21abad87a012a506a68586dcac9eb6fe3b24f0d745af94a9e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4be3d72c4b748f21abad87a012a506a68586dcac9eb6fe3b24f0d745af94a9e2", kill_on_drop: false }`
[INFO] [stdout] 4be3d72c4b748f21abad87a012a506a68586dcac9eb6fe3b24f0d745af94a9e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 13c60f338de7d440aafc6972634d9c2ef2ac74c040827acc22325cd4827df0f6
[INFO] running `Command { std: "docker" "start" "-a" "13c60f338de7d440aafc6972634d9c2ef2ac74c040827acc22325cd4827df0f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling futures-core v0.3.8
[INFO] [stderr]    Compiling tinyvec v1.0.1
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling futures-sink v0.3.8
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling once_cell v1.5.2
[INFO] [stderr]    Compiling pin-project-lite v0.1.11
[INFO] [stderr]    Compiling subtle v2.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling futures-channel v0.3.8
[INFO] [stderr]    Compiling futures-task v0.3.8
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling futures-io v0.3.8
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling ucd-trie v0.1.3
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.14
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling tracing v0.1.21
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling input_buffer v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling crypto-mac v0.9.1
[INFO] [stderr]    Compiling sha-1 v0.9.2
[INFO] [stderr]    Compiling sha2 v0.9.2
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling hmac v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling instant v0.1.8
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling siphasher v0.3.3
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling buf_redux v0.8.4
[INFO] [stderr]    Compiling url v2.2.0
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling socket2 v0.3.16
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling twoway v0.1.8
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling base64ct v1.0.1
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling tower-service v0.3.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling postgres-protocol v0.5.3
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling tungstenite v0.11.1
[INFO] [stderr]    Compiling dtoa v0.4.6
[INFO] [stderr]    Compiling headers v0.3.2
[INFO] [stderr]    Compiling password-hash v0.3.2
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling blake2 v0.9.2
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling urlencoding v1.1.1
[INFO] [stderr]    Compiling quick-error v2.0.0
[INFO] [stderr]    Compiling argon2 v0.3.1
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling multipart v0.17.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling pin-project-internal v1.0.1
[INFO] [stderr]    Compiling futures-macro v0.3.8
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling async-trait v0.1.41
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling tokio v0.2.23
[INFO] [stderr]    Compiling pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling pin-project v1.0.1
[INFO] [stderr]    Compiling futures-util v0.3.8
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling tracing-futures v0.2.4
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling futures-executor v0.3.8
[INFO] [stderr]    Compiling tokio-tungstenite v0.11.0
[INFO] [stderr]    Compiling futures v0.3.8
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling postgres-types v0.1.3
[INFO] [stderr]    Compiling handlebars v3.5.1
[INFO] [stderr]    Compiling hyper v0.13.9
[INFO] [stderr]    Compiling tokio-postgres v0.5.5
[INFO] [stderr]    Compiling warp v0.2.5
[INFO] [stderr]    Compiling friendly_file_server_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `UserRole`
[INFO] [stdout]   --> src/webserver/filters.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     UserRole,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/webserver/websocket.rs:148:33
[INFO] [stdout]     |
[INFO] [stdout] 148 |                     if let Some(mut user) = room.users_by_id.get_mut(&my_id) {
[INFO] [stdout]     |                                 ----^^^^
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db_url` is never read
[INFO] [stdout]   --> src/args.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Config {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub db_url: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db_url` is never read
[INFO] [stdout]   --> src/args.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct JsonConfig {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub db_url: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `JsonConfig` 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 `db_url` is never read
[INFO] [stdout]   --> src/args.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct CliConfig {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub db_url: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CliConfig` 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 `id` is never read
[INFO] [stdout]   --> src/webserver/models.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Room {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 64 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NotADirectory` is never constructed
[INFO] [stdout]  --> src/webserver/rejections.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct NotADirectory;
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NotAFile` is never constructed
[INFO] [stdout]   --> src/webserver/rejections.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct NotAFile;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.35s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "13c60f338de7d440aafc6972634d9c2ef2ac74c040827acc22325cd4827df0f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13c60f338de7d440aafc6972634d9c2ef2ac74c040827acc22325cd4827df0f6", kill_on_drop: false }`
[INFO] [stdout] 13c60f338de7d440aafc6972634d9c2ef2ac74c040827acc22325cd4827df0f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb1db0873c8148584742e59c0b5316f923268f271c26d2dc2bb853608b2ca8d2
[INFO] running `Command { std: "docker" "start" "-a" "fb1db0873c8148584742e59c0b5316f923268f271c26d2dc2bb853608b2ca8d2", kill_on_drop: false }`
[INFO] [stderr]    Compiling friendly_file_server_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `UserRole`
[INFO] [stdout]   --> src/webserver/filters.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     UserRole,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/webserver/websocket.rs:148:33
[INFO] [stdout]     |
[INFO] [stdout] 148 |                     if let Some(mut user) = room.users_by_id.get_mut(&my_id) {
[INFO] [stdout]     |                                 ----^^^^
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db_url` is never read
[INFO] [stdout]   --> src/args.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Config {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub db_url: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db_url` is never read
[INFO] [stdout]   --> src/args.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct JsonConfig {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub db_url: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `JsonConfig` 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 `db_url` is never read
[INFO] [stdout]   --> src/args.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct CliConfig {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub db_url: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CliConfig` 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 `id` is never read
[INFO] [stdout]   --> src/webserver/models.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Room {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 64 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NotADirectory` is never constructed
[INFO] [stdout]  --> src/webserver/rejections.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct NotADirectory;
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NotAFile` is never constructed
[INFO] [stdout]   --> src/webserver/rejections.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct NotAFile;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.77s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "fb1db0873c8148584742e59c0b5316f923268f271c26d2dc2bb853608b2ca8d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb1db0873c8148584742e59c0b5316f923268f271c26d2dc2bb853608b2ca8d2", kill_on_drop: false }`
[INFO] [stdout] fb1db0873c8148584742e59c0b5316f923268f271c26d2dc2bb853608b2ca8d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a9b309fce5c3ab734dc77e27dbc34bb96a70ac57a9d8ec8ad71fc1bdc52bda79
[INFO] running `Command { std: "docker" "start" "-a" "a9b309fce5c3ab734dc77e27dbc34bb96a70ac57a9d8ec8ad71fc1bdc52bda79", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `UserRole`
[INFO] [stderr]   --> src/webserver/filters.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     UserRole,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/webserver/websocket.rs:148:33
[INFO] [stderr]     |
[INFO] [stderr] 148 |                     if let Some(mut user) = room.users_by_id.get_mut(&my_id) {
[INFO] [stderr]     |                                 ----^^^^
[INFO] [stderr]     |                                 |
[INFO] [stderr]     |                                 help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `db_url` is never read
[INFO] [stderr]   --> src/args.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct Config {
[INFO] [stderr]    |            ------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 21 |     pub db_url: String,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `db_url` is never read
[INFO] [stderr]   --> src/args.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 27 | struct JsonConfig {
[INFO] [stderr]    |        ---------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 32 |     pub db_url: Option<String>,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `JsonConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `db_url` is never read
[INFO] [stderr]   --> src/args.rs:54:9
[INFO] [stderr]    |
[INFO] [stderr] 48 | struct CliConfig {
[INFO] [stderr]    |        --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 54 |     pub db_url: Option<String>,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CliConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `id` is never read
[INFO] [stderr]   --> src/webserver/models.rs:64:9
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub struct Room {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 64 |     pub id: String,
[INFO] [stderr]    |         ^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `NotADirectory` is never constructed
[INFO] [stderr]  --> src/webserver/rejections.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct NotADirectory;
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `NotAFile` is never constructed
[INFO] [stderr]   --> src/webserver/rejections.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct NotAFile;
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `friendly_file_server_rust` (bin "friendly_file_server_rust" test) generated 8 warnings (run `cargo fix --bin "friendly_file_server_rust" -p friendly_file_server_rust --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/friendly_file_server_rust-75923c79201aeae6)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test args::tests::test_validate_ip_addr ... ok
[INFO] [stdout] test args::tests::test_load_users_from_str1 ... ok
[INFO] [stdout] test fs_utils::tests::test_get_directory_listing ... ok
[INFO] [stdout] test fs_utils::tests::test_create_trail ... ok
[INFO] [stdout] test fs_utils::tests::test_is_file ... ok
[INFO] [stdout] test fs_utils::tests::test_create_serve_point ... ok
[INFO] [stdout] test webserver::models::tests::test_auth_roles_ordering ... ok
[INFO] [stdout] test fs_utils::tests::test_new_serve_point_panics - should panic ... ok
[INFO] [stderr] error: test failed, to rerun pass `--bin friendly_file_server_rust`
[INFO] [stdout] test fs_utils::tests::test_is_subdir ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- fs_utils::tests::test_is_subdir stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'fs_utils::tests::test_is_subdir' (30) panicked at src/fs_utils.rs:230:9:
[INFO] [stdout] assertion failed: !sp.is_subdir(&bad_folder)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5d26a9949ce2 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5d26a9949ce2 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5d26a9949ce2 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5d26a9949ce2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5d26a9959ddf - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5d26a9959ddf - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5d26a9916db3 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5d26a9916db3 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5d26a9922e52 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5d26a9927c0f - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5d26a9927aa1 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5d26a98ceb3e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x5d26a98ceb3e - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5d26a992821f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5d26a992821f - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5d26a9928046 - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:700:13
[INFO] [stdout]   16:     0x5d26a9922f89 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5d26a990b50d - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5d26a9961da0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5d26a9961d7c - core::panicking::panic::h5cbcc2ceb0950681
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x5d26a98a10b1 - friendly_file_server_rust::fs_utils::tests::test_is_subdir::hf77b32961c8ab0b3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/fs_utils.rs:230:9
[INFO] [stdout]   21:     0x5d26a98a10f7 - friendly_file_server_rust::fs_utils::tests::test_is_subdir::{{closure}}::h1f9905cf1e41508e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/fs_utils.rs:219:24
[INFO] [stdout]   22:     0x5d26a989cb26 - core::ops::function::FnOnce::call_once::hb2d384861a71eb71
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5d26a98ce93b - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5d26a98ce93b - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   25:     0x5d26a98e299d - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   26:     0x5d26a98e299d - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   27:     0x5d26a98e299d - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   28:     0x5d26a98e299d - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   29:     0x5d26a98e299d - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x5d26a98e299d - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   31:     0x5d26a98e299d - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   32:     0x5d26a98bbee4 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   33:     0x5d26a98bbee4 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   34:     0x5d26a98bf73a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   35:     0x5d26a98bf73a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   36:     0x5d26a98bf73a - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   37:     0x5d26a98bf73a - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   38:     0x5d26a98bf73a - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x5d26a98bf73a - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   40:     0x5d26a98bf73a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x5d26a991e38f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   42:     0x5d26a991e38f - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   43:     0x710494faaaa4 - <unknown>
[INFO] [stdout]   44:     0x710495037a64 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     fs_utils::tests::test_is_subdir
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a9b309fce5c3ab734dc77e27dbc34bb96a70ac57a9d8ec8ad71fc1bdc52bda79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9b309fce5c3ab734dc77e27dbc34bb96a70ac57a9d8ec8ad71fc1bdc52bda79", kill_on_drop: false }`
[INFO] [stdout] a9b309fce5c3ab734dc77e27dbc34bb96a70ac57a9d8ec8ad71fc1bdc52bda79
