[INFO] fetching crate hyper-staticfile-jsutf8 0.0.1... [INFO] testing hyper-staticfile-jsutf8-0.0.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate hyper-staticfile-jsutf8 0.0.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate hyper-staticfile-jsutf8 0.0.1 [INFO] finished tweaking crates.io crate hyper-staticfile-jsutf8 0.0.1 [INFO] tweaked toml for crates.io crate hyper-staticfile-jsutf8 0.0.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hyper-staticfile-jsutf8 0.0.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hyper-staticfile-jsutf8 0.0.1 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1578d0d2eb9e305f2cdafc22c0bc6de801915ac68308e39871acb993cafc6079 [INFO] running `Command { std: "docker" "start" "-a" "1578d0d2eb9e305f2cdafc22c0bc6de801915ac68308e39871acb993cafc6079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1578d0d2eb9e305f2cdafc22c0bc6de801915ac68308e39871acb993cafc6079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1578d0d2eb9e305f2cdafc22c0bc6de801915ac68308e39871acb993cafc6079", kill_on_drop: false }` [INFO] [stdout] 1578d0d2eb9e305f2cdafc22c0bc6de801915ac68308e39871acb993cafc6079 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c26c0378e2900d85daa700745c71c40fbef97d8ba419c1c234c41fbab41cb586 [INFO] running `Command { std: "docker" "start" "-a" "c26c0378e2900d85daa700745c71c40fbef97d8ba419c1c234c41fbab41cb586", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling hyper-staticfile-jsutf8 v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.12s [INFO] running `Command { std: "docker" "inspect" "c26c0378e2900d85daa700745c71c40fbef97d8ba419c1c234c41fbab41cb586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26c0378e2900d85daa700745c71c40fbef97d8ba419c1c234c41fbab41cb586", kill_on_drop: false }` [INFO] [stdout] c26c0378e2900d85daa700745c71c40fbef97d8ba419c1c234c41fbab41cb586 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e9f0627b27782a25502399abc2aca4212d2f770453bcf911abcfcda2a8ec71b [INFO] running `Command { std: "docker" "start" "-a" "6e9f0627b27782a25502399abc2aca4212d2f770453bcf911abcfcda2a8ec71b", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling hyper-staticfile-jsutf8 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/static.rs:30:49 [INFO] [stdout] | [INFO] [stdout] 30 | let mut static_ = Static::new(dir.path().clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 30 - let mut static_ = Static::new(dir.path().clone()); [INFO] [stdout] 30 + let mut static_ = Static::new(dir.path()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.80s [INFO] running `Command { std: "docker" "inspect" "6e9f0627b27782a25502399abc2aca4212d2f770453bcf911abcfcda2a8ec71b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e9f0627b27782a25502399abc2aca4212d2f770453bcf911abcfcda2a8ec71b", kill_on_drop: false }` [INFO] [stdout] 6e9f0627b27782a25502399abc2aca4212d2f770453bcf911abcfcda2a8ec71b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7c6e72c4e1ff456a76e462c44b5511c6b3ab017891c2443dd010f54f665e871 [INFO] running `Command { std: "docker" "start" "-a" "e7c6e72c4e1ff456a76e462c44b5511c6b3ab017891c2443dd010f54f665e871", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> tests/static.rs:30:49 [INFO] [stderr] | [INFO] [stderr] 30 | let mut static_ = Static::new(dir.path().clone()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 30 - let mut static_ = Static::new(dir.path().clone()); [INFO] [stderr] 30 + let mut static_ = Static::new(dir.path()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `hyper-staticfile-jsutf8` (test "static") generated 1 warning (run `cargo fix --test "static"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hyper_staticfile_jsutf8-c5ba6aaa3b88689f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/hyper.rs (/opt/rustwide/target/debug/deps/hyper-7c76281fee4ecc23) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_usable_as_hyper_service ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/static.rs (/opt/rustwide/target/debug/deps/static-70a04707ce1d9b99) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test normalizes_percent_encoded_path ... ok [INFO] [stdout] test changes_content_type_on_extension_js ... ok [INFO] [stdout] test changes_content_type_on_extension ... ok [INFO] [stdout] test normalizes_path ... ok [INFO] [stdout] test redirects_if_trailing_slash_is_missing ... ok [INFO] [stdout] test redirects_to_sanitized_path ... ok [INFO] [stdout] test returns_404_if_file_not_found ... ok [INFO] [stdout] test serves_file_ranges_multi ... ok [INFO] [stdout] test serves_file_ranges_beginning ... ok [INFO] [stdout] test serves_default_file_from_empty_root_path ... ok [INFO] [stdout] test decodes_percent_notation ... ok [INFO] [stdout] test serves_file_ranges_multi_assert_content_length_correct ... ok [INFO] [stdout] test serves_default_file_from_absolute_root_path ... ok [INFO] [stdout] test serves_file_ranges_end ... ok [INFO] [stdout] test serves_file_with_new_if_modified_since ... ok [INFO] [stdout] test serves_file_ranges_if_range_negative ... ok [INFO] [stdout] test serves_file_ranges_if_range_etag_positive ... ok [INFO] [stdout] test serves_file_with_old_if_modified_since ... ok [INFO] [stdout] test serves_non_default_file_from_absolute_root_path ... ok [INFO] [stdout] test content_length ... ok [INFO] [stdout] test sends_headers ... ok [INFO] [stdout] test no_headers_for_invalid_mtime ... ok [INFO] [stdout] test last_modified_is_gmt ... ok [INFO] [stdout] test serves_requested_range_not_satisfiable_when_at_end ... ok [INFO] [stdout] test prevents_from_escaping_root ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests hyper_staticfile_jsutf8 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] test src/lib.rs - (line 36) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.81s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e7c6e72c4e1ff456a76e462c44b5511c6b3ab017891c2443dd010f54f665e871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c6e72c4e1ff456a76e462c44b5511c6b3ab017891c2443dd010f54f665e871", kill_on_drop: false }` [INFO] [stdout] e7c6e72c4e1ff456a76e462c44b5511c6b3ab017891c2443dd010f54f665e871