[INFO] fetching crate scrappy-files 0.0.1... [INFO] testing scrappy-files-0.0.1 against 1.59.0 for beta-1.60-1 [INFO] extracting crate scrappy-files 0.0.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate scrappy-files 0.0.1 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate scrappy-files 0.0.1 [INFO] finished tweaking crates.io crate scrappy-files 0.0.1 [INFO] tweaked toml for crates.io crate scrappy-files 0.0.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21b3ba375ccbdfd1e611a689b02c1f94224f655899d144c5228eb8f11363e15b [INFO] running `Command { std: "docker" "start" "-a" "21b3ba375ccbdfd1e611a689b02c1f94224f655899d144c5228eb8f11363e15b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21b3ba375ccbdfd1e611a689b02c1f94224f655899d144c5228eb8f11363e15b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b3ba375ccbdfd1e611a689b02c1f94224f655899d144c5228eb8f11363e15b", kill_on_drop: false }` [INFO] [stdout] 21b3ba375ccbdfd1e611a689b02c1f94224f655899d144c5228eb8f11363e15b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb65660c02ba1634fd79be73db09d2be8c53241eaf9bf5bbe60e82431e7b7d19 [INFO] running `Command { std: "docker" "start" "-a" "cb65660c02ba1634fd79be73db09d2be8c53241eaf9bf5bbe60e82431e7b7d19", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling scrappy-macros v0.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling scrappy-web-codegen v0.0.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-openssl v0.4.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling scrappy-codec v0.0.1 [INFO] [stderr] Compiling scrappy-threadpool v0.0.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling scrappy-service v0.0.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling scrappy-rt v0.0.1 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling scrappy-utils v0.0.1 [INFO] [stderr] Compiling scrappy-tls v0.0.1 [INFO] [stderr] Compiling scrappy-server v0.0.1 [INFO] [stderr] Compiling scrappy-testing v0.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling scrappy-router v0.0.1 [INFO] [stderr] Compiling scrappy-connect v0.0.1 [INFO] [stderr] Compiling scrappy-http v0.0.1 [INFO] [stderr] Compiling scrappy-client v0.0.1 [INFO] [stderr] Compiling scrappy v0.0.1 [INFO] [stderr] Compiling scrappy-files v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `IsNotDirectory` [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | IsNotDirectory, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.79s [INFO] running `Command { std: "docker" "inspect" "cb65660c02ba1634fd79be73db09d2be8c53241eaf9bf5bbe60e82431e7b7d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb65660c02ba1634fd79be73db09d2be8c53241eaf9bf5bbe60e82431e7b7d19", kill_on_drop: false }` [INFO] [stdout] cb65660c02ba1634fd79be73db09d2be8c53241eaf9bf5bbe60e82431e7b7d19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e37c6df02d744977f2e122ca8178a35c4ee157a5c398a5f441952110cdfac86 [INFO] running `Command { std: "docker" "start" "-a" "3e37c6df02d744977f2e122ca8178a35c4ee157a5c398a5f441952110cdfac86", kill_on_drop: false }` [INFO] [stdout] warning: variant is never constructed: `IsNotDirectory` [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | IsNotDirectory, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scrappy-files v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IsNotDirectory` [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | IsNotDirectory, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.98s [INFO] running `Command { std: "docker" "inspect" "3e37c6df02d744977f2e122ca8178a35c4ee157a5c398a5f441952110cdfac86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e37c6df02d744977f2e122ca8178a35c4ee157a5c398a5f441952110cdfac86", kill_on_drop: false }` [INFO] [stdout] 3e37c6df02d744977f2e122ca8178a35c4ee157a5c398a5f441952110cdfac86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 50ac1364d4714d3ad50c7f0d9a2fff30378f9af743b300e9c22aab86248560f2 [INFO] running `Command { std: "docker" "start" "-a" "50ac1364d4714d3ad50c7f0d9a2fff30378f9af743b300e9c22aab86248560f2", kill_on_drop: false }` [INFO] [stderr] warning: variant is never constructed: `IsNotDirectory` [INFO] [stderr] --> src/error.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | IsNotDirectory, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `scrappy-files` (lib) generated 1 warning [INFO] [stderr] warning: `scrappy-files` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/scrappy_files-77ee5bf87a70b961) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test tests::test_file_extension_to_mime ... ok [INFO] [stdout] test range::tests::test_parse ... ok [INFO] [stdout] test tests::test_default_handler_file_missing ... ok [INFO] [stdout] test tests::test_files_not_allowed ... ok [INFO] [stdout] test tests::test_files_guards ... ok [INFO] [stdout] test tests::test_path_buf ... ok [INFO] [stdout] test tests::test_if_modified_since_without_if_none_match ... ok [INFO] [stdout] test tests::test_named_file_image_attachment ... ok [INFO] [stdout] test tests::test_named_file_content_encoding ... ok [INFO] [stdout] test tests::test_named_file_image ... ok [INFO] [stdout] test tests::test_named_file_binary ... ok [INFO] [stdout] test tests::test_mime_override ... ok [INFO] [stdout] test tests::test_named_file_allowed_method ... ok [INFO] [stdout] test tests::test_named_file_content_disposition ... ok [INFO] [stdout] test tests::test_head_content_length_headers ... ok [INFO] [stdout] test tests::test_static_files_bad_directory ... ok [INFO] [stdout] test tests::test_if_modified_since_with_if_none_match ... ok [INFO] [stdout] test tests::test_named_file_content_range_headers ... ok [INFO] [stdout] test tests::test_redirect_to_slash_directory ... ok [INFO] [stdout] test tests::test_static_files ... ok [INFO] [stdout] test tests::test_named_file_content_encoding_gzip ... ok [INFO] [stdout] test tests::test_static_files_with_spaces ... ok [INFO] [stdout] test tests::test_named_file_content_length_headers ... ok [INFO] [stdout] test tests::test_named_file_status_code_text ... ok [INFO] [stdout] test tests::test_named_file_set_content_type ... ok [INFO] [stdout] test tests::test_named_file_text ... ok [INFO] [stdout] test tests::test_named_file_ranges_status_code ... ok [INFO] [stdout] test tests::test_named_file_non_ascii_file_name ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests scrappy-files [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/named.rs - named::NamedFile::path (line 152) ... ok [INFO] [stdout] test src/named.rs - named::NamedFile::open (line 133) ... ok [INFO] [stdout] test src/named.rs - named::NamedFile::from_file (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - Files (line 234) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/named.rs - named::NamedFile::from_file (line 62) stdout ---- [INFO] [stdout] Test executable failed (exit code 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/named.rs - named::NamedFile::from_file (line 62) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.66s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "50ac1364d4714d3ad50c7f0d9a2fff30378f9af743b300e9c22aab86248560f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50ac1364d4714d3ad50c7f0d9a2fff30378f9af743b300e9c22aab86248560f2", kill_on_drop: false }` [INFO] [stdout] 50ac1364d4714d3ad50c7f0d9a2fff30378f9af743b300e9c22aab86248560f2