[INFO] fetching crate rouille 3.1.1... [INFO] checking rouille-3.1.1 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate rouille 3.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate rouille 3.1.1 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rouille 3.1.1 [INFO] finished tweaking crates.io crate rouille 3.1.1 [INFO] tweaked toml for crates.io crate rouille 3.1.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate rouille 3.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tiny_http v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad4d0d798f5a34c3a14adc706a54aa768da15250c51e59f0ee5e68357fe963a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ad4d0d798f5a34c3a14adc706a54aa768da15250c51e59f0ee5e68357fe963a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad4d0d798f5a34c3a14adc706a54aa768da15250c51e59f0ee5e68357fe963a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad4d0d798f5a34c3a14adc706a54aa768da15250c51e59f0ee5e68357fe963a0", kill_on_drop: false }` [INFO] [stdout] ad4d0d798f5a34c3a14adc706a54aa768da15250c51e59f0ee5e68357fe963a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 556a87d0bd45bbbbbea8dc79a1e0750db3d8b2e2a1f5ed410860a32edcc58afc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "556a87d0bd45bbbbbea8dc79a1e0750db3d8b2e2a1f5ed410860a32edcc58afc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking gzip-header v0.3.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking generic-array v0.9.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.5.2 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking hmac v0.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking postgres-protocol v0.3.2 [INFO] [stderr] Checking tiny_http v0.8.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking postgres-shared v0.4.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking postgres v0.15.2 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking rouille v3.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/input/accept.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | "image/gif" => { 5 }, [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/input/accept.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | "image/gif" => { 5 }, [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/router.rs:428:42 [INFO] [stdout] | [INFO] [stdout] 428 | (GET) ["/math/{a}/plus/{b}", a: u32 , b: u32] => { 7. }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/router.rs:428:51 [INFO] [stdout] | [INFO] [stdout] 428 | (GET) ["/math/{a}/plus/{b}", a: u32 , b: u32] => { 7. }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/router.rs:556:37 [INFO] [stdout] | [INFO] [stdout] 556 | (GET) ["/hello/{name}", name: String, id: u32] => { 1 }, // this should fail [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/router.rs:556:51 [INFO] [stdout] | [INFO] [stdout] 556 | (GET) ["/hello/{name}", name: String, id: u32] => { 1 }, // this should fail [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> examples/hello-world.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / router!(request, [INFO] [stdout] 32 | | (GET) (/) => { [INFO] [stdout] 33 | | // If the request's URL is `/`, we jump here. [INFO] [stdout] 34 | | // This block builds a `Response` object that redirects to the `/hello/world`. [INFO] [stdout] ... | [INFO] [stdout] 52 | | panic!("Oops!") [INFO] [stdout] | | --------------- any code following this expression is unreachable [INFO] [stdout] ... | [INFO] [stdout] 81 | | _ => rouille::Response::empty_404() [INFO] [stdout] 82 | | ) [INFO] [stdout] | |_________^ unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> examples/login-session.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / router!(request, [INFO] [stdout] 94 | | (POST) (/login) => { [INFO] [stdout] 95 | | // This is the route that is called when the user wants to log in. [INFO] [stdout] 96 | | [INFO] [stdout] ... | [INFO] [stdout] 123 | | return Response::redirect_303("/"); [INFO] [stdout] | | ---------------------------------- any code following this expression is unreachable [INFO] [stdout] ... | [INFO] [stdout] 143 | | _ => () [INFO] [stdout] 144 | | ); [INFO] [stdout] | |______^ unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> examples/login-session.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / router!(request, [INFO] [stdout] 94 | | (POST) (/login) => { [INFO] [stdout] 95 | | // This is the route that is called when the user wants to log in. [INFO] [stdout] 96 | | [INFO] [stdout] ... | [INFO] [stdout] 143 | | _ => () [INFO] [stdout] 144 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______unreachable call [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.05s [INFO] running `Command { std: "docker" "inspect" "556a87d0bd45bbbbbea8dc79a1e0750db3d8b2e2a1f5ed410860a32edcc58afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "556a87d0bd45bbbbbea8dc79a1e0750db3d8b2e2a1f5ed410860a32edcc58afc", kill_on_drop: false }` [INFO] [stdout] 556a87d0bd45bbbbbea8dc79a1e0750db3d8b2e2a1f5ed410860a32edcc58afc