[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] checking mickjohn/friendly_file_server_rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickjohn%2Ffriendly_file_server_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mickjohn/friendly_file_server_rust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project v0.4.27 [INFO] [stderr] Downloaded instant v0.1.8 [INFO] [stderr] Downloaded tracing-futures v0.2.4 [INFO] [stderr] Downloaded subtle v2.3.0 [INFO] [stderr] Downloaded quick-error v2.0.0 [INFO] [stderr] Downloaded hmac v0.9.0 [INFO] [stderr] Downloaded siphasher v0.3.3 [INFO] [stderr] Downloaded base64ct v1.0.1 [INFO] [stderr] Downloaded async-trait v0.1.41 [INFO] [stderr] Downloaded multipart v0.17.0 [INFO] [stderr] Downloaded handlebars v3.5.1 [INFO] [stderr] Downloaded http v0.2.1 [INFO] [stderr] Downloaded tokio-postgres v0.5.5 [INFO] [stderr] Downloaded hyper v0.13.9 [INFO] [stderr] Downloaded unicode-normalization v0.1.14 [INFO] [stderr] Downloaded mime_guess v2.0.3 [INFO] [stderr] Downloaded pin-project v1.0.1 [INFO] [stderr] Downloaded smallvec v1.4.2 [INFO] [stderr] Downloaded headers v0.3.2 [INFO] [stderr] Downloaded indexmap v1.6.0 [INFO] [stderr] Downloaded socket2 v0.3.16 [INFO] [stderr] Downloaded buf_redux v0.8.4 [INFO] [stderr] Downloaded pin-project-internal v1.0.1 [INFO] [stderr] Downloaded password-hash v0.3.2 [INFO] [stderr] Downloaded argon2 v0.3.1 [INFO] [stderr] Downloaded termcolor v1.1.0 [INFO] [stderr] Downloaded parking_lot v0.11.0 [INFO] [stderr] Downloaded tokio v0.2.23 [INFO] [stderr] Downloaded postgres-types v0.1.3 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded dtoa v0.4.6 [INFO] [stderr] Downloaded httparse v1.3.4 [INFO] [stderr] Downloaded sha-1 v0.9.2 [INFO] [stderr] Downloaded tungstenite v0.11.1 [INFO] [stderr] Downloaded phf v0.8.0 [INFO] [stderr] Downloaded crypto-mac v0.9.1 [INFO] [stderr] Downloaded stringprep v0.1.2 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded tempfile v3.1.0 [INFO] [stderr] Downloaded twoway v0.1.8 [INFO] [stderr] Downloaded mio-uds v0.6.8 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded tinyvec v1.0.1 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded lock_api v0.4.1 [INFO] [stderr] Downloaded md5 v0.7.0 [INFO] [stderr] Downloaded rand_jitter v0.1.4 [INFO] [stderr] Downloaded cpuid-bool v0.1.2 [INFO] [stderr] Downloaded pin-project-internal v0.4.27 [INFO] [stderr] Downloaded sha2 v0.9.2 [INFO] [stderr] Downloaded postgres-protocol v0.5.3 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded serde_urlencoded v0.6.1 [INFO] [stderr] Downloaded input_buffer v0.3.1 [INFO] [stderr] Downloaded utf-8 v0.7.5 [INFO] [stderr] Downloaded tokio-tungstenite v0.11.0 [INFO] [stderr] Downloaded urlencoding v1.1.1 [INFO] [stderr] Downloaded warp v0.2.5 [INFO] [stderr] Downloaded phf_shared v0.8.0 [INFO] [stderr] Downloaded tokio-macros v0.2.6 [INFO] [stderr] Downloaded tower-service v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43324181dd77a0d33f6dbd7f3ba76b11d8c6e1682e89d22b76cf413d47800d05 [INFO] running `Command { std: "docker" "start" "-a" "43324181dd77a0d33f6dbd7f3ba76b11d8c6e1682e89d22b76cf413d47800d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43324181dd77a0d33f6dbd7f3ba76b11d8c6e1682e89d22b76cf413d47800d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43324181dd77a0d33f6dbd7f3ba76b11d8c6e1682e89d22b76cf413d47800d05", kill_on_drop: false }` [INFO] [stdout] 43324181dd77a0d33f6dbd7f3ba76b11d8c6e1682e89d22b76cf413d47800d05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cb17f43da09017d9c49c37d5a118e084fbf81212521fff80446d2e4b417ea6f [INFO] running `Command { std: "docker" "start" "-a" "5cb17f43da09017d9c49c37d5a118e084fbf81212521fff80446d2e4b417ea6f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking tinyvec v1.0.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking unicode-normalization v0.1.14 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking siphasher v0.3.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking socket2 v0.3.16 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking base64ct v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking postgres-protocol v0.5.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking password-hash v0.3.2 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking headers v0.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking quick-error v2.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking argon2 v0.3.1 [INFO] [stderr] Checking multipart v0.17.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [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] Checking tokio v0.2.23 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking postgres-types v0.1.3 [INFO] [stderr] Checking handlebars v3.5.1 [INFO] [stderr] Checking tokio-postgres v0.5.5 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking warp v0.2.5 [INFO] [stderr] Checking 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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)]` 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)]` 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)]` 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, [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, [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] = note: `NotADirectory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `NotAFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [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)]` 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, [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, [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] = note: `NotADirectory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `NotAFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.17s [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 1` [INFO] running `Command { std: "docker" "inspect" "5cb17f43da09017d9c49c37d5a118e084fbf81212521fff80446d2e4b417ea6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cb17f43da09017d9c49c37d5a118e084fbf81212521fff80446d2e4b417ea6f", kill_on_drop: false }` [INFO] [stdout] 5cb17f43da09017d9c49c37d5a118e084fbf81212521fff80446d2e4b417ea6f [INFO] checking mickjohn/friendly_file_server_rust against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmickjohn%2Ffriendly_file_server_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mickjohn/friendly_file_server_rust on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf685d48c5296429e9f29056a015861423d798cd96128499ccbdadabbddab1cd [INFO] running `Command { std: "docker" "start" "-a" "cf685d48c5296429e9f29056a015861423d798cd96128499ccbdadabbddab1cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf685d48c5296429e9f29056a015861423d798cd96128499ccbdadabbddab1cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf685d48c5296429e9f29056a015861423d798cd96128499ccbdadabbddab1cd", kill_on_drop: false }` [INFO] [stdout] cf685d48c5296429e9f29056a015861423d798cd96128499ccbdadabbddab1cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c0a402e73d7341bcb1341d78479930d54edfd2e23b30be7e9913b76a9a8fae4 [INFO] running `Command { std: "docker" "start" "-a" "0c0a402e73d7341bcb1341d78479930d54edfd2e23b30be7e9913b76a9a8fae4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tinyvec v1.0.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking unicode-normalization v0.1.14 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking siphasher v0.3.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking socket2 v0.3.16 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking base64ct v1.0.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking postgres-protocol v0.5.3 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking password-hash v0.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking headers v0.3.2 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking quick-error v2.0.0 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking argon2 v0.3.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking multipart v0.17.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [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] Checking tokio v0.2.23 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking postgres-types v0.1.3 [INFO] [stderr] Checking handlebars v3.5.1 [INFO] [stderr] Checking tokio-postgres v0.5.5 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking warp v0.2.5 [INFO] [stderr] Checking 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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)]` 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)]` 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)]` 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, [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, [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] = note: `NotADirectory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `NotAFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 107 | .map(|code: String, ws: warp::ws::Ws, rooms: models::Rooms, cleaner: models::RoomCleaner| { [INFO] [stdout] | ---------------- -------------------- ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | ws.on_upgrade(move |socket| websocket::user_connected(socket, code, rooms, cleaner)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:116:60 [INFO] [stdout] | [INFO] [stdout] 116 | let redirect = warp::path::end().map(|| warp::redirect(Uri::from_static("/browse/"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/models.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 134 | let mut hb = Handlebars::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | hba: Arc::new(Mutex::new(hb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 36 | sp: Sp, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | hba: Hba<'a>, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | users: UserMap, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> impl Filter + Clone + 'a { [INFO] [stdout] 40 | / warp::path!("browse" / ..) [INFO] [stdout] 41 | | .and(warp::get()) [INFO] [stdout] 42 | | // .and(auth_restricted(users, UserRole::Admin)) [INFO] [stdout] 43 | | .and(auth(users)) [INFO] [stdout] 44 | | .and(with_sp(sp)) [INFO] [stdout] 45 | | .and(with_hba(hba)) [INFO] [stdout] 46 | | .and(warp::path::full()) [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 51 | sp: Sp, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | hba: Hba<'a>, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | users: UserMap, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | ) -> impl Filter + Clone + 'a { [INFO] [stdout] 55 | / warp::path!("cinema" / ..) [INFO] [stdout] 56 | | .and(warp::get()) [INFO] [stdout] 57 | | .and(auth(users)) [INFO] [stdout] 58 | | .and(with_sp(sp)) [INFO] [stdout] 59 | | .and(with_hba(hba)) [INFO] [stdout] 60 | | .and(warp::path::full()) [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 65 | users: UserMap, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | rooms: Rooms, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | rooms_cleaner: RoomCleaner, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | urls: Urls, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | ) -> impl Filter + Clone { [INFO] [stdout] 70 | / warp::path("createroom") [INFO] [stdout] 71 | | .and(warp::path::end()) [INFO] [stdout] 72 | | .and(warp::get()) [INFO] [stdout] 73 | | .and(auth(users)) [INFO] [stdout] ... | [INFO] [stdout] 76 | | .and(with_urls(urls)) [INFO] [stdout] 77 | | .and(warp::query::()) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 82 | users: UserMap, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | rooms: Rooms, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | ) -> impl Filter + Clone { [INFO] [stdout] 85 | / warp::path("checkroom") [INFO] [stdout] 86 | | .and(warp::path::end()) [INFO] [stdout] 87 | | .and(warp::get()) [INFO] [stdout] 88 | | .and(auth(users)) [INFO] [stdout] 89 | | .and(with_rooms(rooms)) [INFO] [stdout] 90 | | .and(warp::query::()) [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 95 | users: UserMap, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | urls: Urls, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | ) -> impl Filter + Clone { [INFO] [stdout] 98 | / warp::path("wwf") [INFO] [stdout] 99 | | .and(auth(users)) [INFO] [stdout] 100 | | .and(warp::path::param::()) [INFO] [stdout] 101 | | .and(with_urls(urls)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 117 | fn with_sp(sp: Sp) -> impl Filter + Clone { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | warp::any().map(move || sp.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 121 | fn with_hba(hba: Hba) -> impl Filter + Clone { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | warp::any().map(move || hba.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 125 | fn with_users_map(users: UserMap) -> impl Filter + Clone { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | warp::any().map(move || users.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn with_rooms(rooms: Rooms) -> impl Filter + Clone { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | warp::any().map(move || rooms.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn with_room_cleaner(cleaner: RoomCleaner) -> impl Filter + Clone { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | warp::any().map(move || cleaner.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 137 | fn with_urls(urls: Urls) -> impl Filter + Clone { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | warp::any().map(move || urls.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn auth(users: UserMap) -> impl Filter + Clone { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | / warp::header::("Authorization") [INFO] [stdout] 160 | | .and(with_users_map(users)) [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 161 | .and_then(|header: String, users: UserMap| async move { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Err(warp::reject::custom(rejections::InvalidCredentials)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/messages.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deserialize, Serialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `friendly_file_server_rust` (bin "friendly_file_server_rust") due to 18 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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, [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, [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] = note: `NotADirectory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `NotAFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 107 | .map(|code: String, ws: warp::ws::Ws, rooms: models::Rooms, cleaner: models::RoomCleaner| { [INFO] [stdout] | ---------------- -------------------- ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | ws.on_upgrade(move |socket| websocket::user_connected(socket, code, rooms, cleaner)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:116:60 [INFO] [stdout] | [INFO] [stdout] 116 | let redirect = warp::path::end().map(|| warp::redirect(Uri::from_static("/browse/"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/models.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 134 | let mut hb = Handlebars::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | hba: Arc::new(Mutex::new(hb)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 36 | sp: Sp, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | hba: Hba<'a>, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | users: UserMap, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ) -> impl Filter + Clone + 'a { [INFO] [stdout] 40 | / warp::path!("browse" / ..) [INFO] [stdout] 41 | | .and(warp::get()) [INFO] [stdout] 42 | | // .and(auth_restricted(users, UserRole::Admin)) [INFO] [stdout] 43 | | .and(auth(users)) [INFO] [stdout] 44 | | .and(with_sp(sp)) [INFO] [stdout] 45 | | .and(with_hba(hba)) [INFO] [stdout] 46 | | .and(warp::path::full()) [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 51 | sp: Sp, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | hba: Hba<'a>, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | users: UserMap, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | ) -> impl Filter + Clone + 'a { [INFO] [stdout] 55 | / warp::path!("cinema" / ..) [INFO] [stdout] 56 | | .and(warp::get()) [INFO] [stdout] 57 | | .and(auth(users)) [INFO] [stdout] 58 | | .and(with_sp(sp)) [INFO] [stdout] 59 | | .and(with_hba(hba)) [INFO] [stdout] 60 | | .and(warp::path::full()) [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 65 | users: UserMap, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | rooms: Rooms, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | rooms_cleaner: RoomCleaner, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | urls: Urls, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | ) -> impl Filter + Clone { [INFO] [stdout] 70 | / warp::path("createroom") [INFO] [stdout] 71 | | .and(warp::path::end()) [INFO] [stdout] 72 | | .and(warp::get()) [INFO] [stdout] 73 | | .and(auth(users)) [INFO] [stdout] ... | [INFO] [stdout] 76 | | .and(with_urls(urls)) [INFO] [stdout] 77 | | .and(warp::query::()) [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 82 | users: UserMap, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | rooms: Rooms, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | ) -> impl Filter + Clone { [INFO] [stdout] 85 | / warp::path("checkroom") [INFO] [stdout] 86 | | .and(warp::path::end()) [INFO] [stdout] 87 | | .and(warp::get()) [INFO] [stdout] 88 | | .and(auth(users)) [INFO] [stdout] 89 | | .and(with_rooms(rooms)) [INFO] [stdout] 90 | | .and(warp::query::()) [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 95 | users: UserMap, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | urls: Urls, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | ) -> impl Filter + Clone { [INFO] [stdout] 98 | / warp::path("wwf") [INFO] [stdout] 99 | | .and(auth(users)) [INFO] [stdout] 100 | | .and(warp::path::param::()) [INFO] [stdout] 101 | | .and(with_urls(urls)) [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 117 | fn with_sp(sp: Sp) -> impl Filter + Clone { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | warp::any().map(move || sp.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 121 | fn with_hba(hba: Hba) -> impl Filter + Clone { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | warp::any().map(move || hba.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 125 | fn with_users_map(users: UserMap) -> impl Filter + Clone { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | warp::any().map(move || users.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn with_rooms(rooms: Rooms) -> impl Filter + Clone { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | warp::any().map(move || rooms.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn with_room_cleaner(cleaner: RoomCleaner) -> impl Filter + Clone { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | warp::any().map(move || cleaner.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 137 | fn with_urls(urls: Urls) -> impl Filter + Clone { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | warp::any().map(move || urls.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn auth(users: UserMap) -> impl Filter + Clone { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | / warp::header::("Authorization") [INFO] [stdout] 160 | | .and(with_users_map(users)) [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/filters.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 161 | .and_then(|header: String, users: UserMap| async move { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Err(warp::reject::custom(rejections::InvalidCredentials)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/webserver/messages.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deserialize, Serialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `friendly_file_server_rust` (bin "friendly_file_server_rust" test) due to 18 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c0a402e73d7341bcb1341d78479930d54edfd2e23b30be7e9913b76a9a8fae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0a402e73d7341bcb1341d78479930d54edfd2e23b30be7e9913b76a9a8fae4", kill_on_drop: false }` [INFO] [stdout] 0c0a402e73d7341bcb1341d78479930d54edfd2e23b30be7e9913b76a9a8fae4