[INFO] updating cached repository https://github.com/mattgathu/duma [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94d796affa0425b12aaf12b81cd7d68cc3059e25 [INFO] testing mattgathu/duma against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattgathu%2Fduma" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattgathu/duma on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mattgathu/duma [INFO] finished tweaking git repo https://github.com/mattgathu/duma [INFO] tweaked toml for git repo https://github.com/mattgathu/duma written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/mattgathu/duma already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a35c85c1451aa598b4b6282b646bfb0c09accc4013c969227883039186fee11 [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" "1a35c85c1451aa598b4b6282b646bfb0c09accc4013c969227883039186fee11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a35c85c1451aa598b4b6282b646bfb0c09accc4013c969227883039186fee11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a35c85c1451aa598b4b6282b646bfb0c09accc4013c969227883039186fee11", kill_on_drop: false }` [INFO] [stdout] 1a35c85c1451aa598b4b6282b646bfb0c09accc4013c969227883039186fee11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5948c69874c7a7d1cf269353289431ea76e6a7060dcfff55259f822fe6c7a18c [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" "5948c69874c7a7d1cf269353289431ea76e6a7060dcfff55259f822fe6c7a18c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling webpki v0.19.1 [INFO] [stderr] Compiling sct v0.5.0 [INFO] [stderr] Compiling indicatif v0.11.0 [INFO] [stderr] Compiling ftp v3.0.1 [INFO] [stderr] Compiling webpki-roots v0.16.0 [INFO] [stderr] Compiling rustls v0.15.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling mrq v0.1.0 [INFO] [stderr] Compiling duma v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "5948c69874c7a7d1cf269353289431ea76e6a7060dcfff55259f822fe6c7a18c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5948c69874c7a7d1cf269353289431ea76e6a7060dcfff55259f822fe6c7a18c", kill_on_drop: false }` [INFO] [stdout] 5948c69874c7a7d1cf269353289431ea76e6a7060dcfff55259f822fe6c7a18c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23605b17f3292f9da54529725a921c621632f5a7cc16aa1f46a5fdf96d26150f [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" "23605b17f3292f9da54529725a921c621632f5a7cc16aa1f46a5fdf96d26150f", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling predicates v1.0.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling tiny_http v0.6.2 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling globwalk v0.5.0 [INFO] [stderr] Compiling assert_fs v0.11.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling assert_cmd v0.11.1 [INFO] [stderr] Compiling duma v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> tests/server.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> tests/server.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> tests/server.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> tests/server.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 52.26s [INFO] running `Command { std: "docker" "inspect" "23605b17f3292f9da54529725a921c621632f5a7cc16aa1f46a5fdf96d26150f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23605b17f3292f9da54529725a921c621632f5a7cc16aa1f46a5fdf96d26150f", kill_on_drop: false }` [INFO] [stdout] 23605b17f3292f9da54529725a921c621632f5a7cc16aa1f46a5fdf96d26150f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 549effd0a1ebb0a784245946244c082e55ff3f1a3c1d27fe8555cb4d93d6aae3 [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" "549effd0a1ebb0a784245946244c082e55ff3f1a3c1d27fe8555cb4d93d6aae3", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> tests/server.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use std::sync::{Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> tests/server.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | static INIT: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> tests/server.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use std::sync::{Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> tests/server.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | static INIT: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/duma-82f13b2ffe0c92b4 [INFO] [stdout] running 1 test [INFO] [stdout] test utils::tests::test_decode_percent_encoded_data ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/duma-e219dc81bf6b49ae [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/client-a944b2bb1e449656 [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test calling_duma_without_args ... ok [INFO] [stdout] test test_headers ... ok [INFO] [stdout] test calling_duma_with_invalid_url ... ok [INFO] [stdout] test test_request_timeout ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/server-5caaf215920aedb4 [INFO] [stdout] test test_file ... ok [INFO] [stdout] test test_content_disposition ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests duma [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 [INFO] [stdout] [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "549effd0a1ebb0a784245946244c082e55ff3f1a3c1d27fe8555cb4d93d6aae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "549effd0a1ebb0a784245946244c082e55ff3f1a3c1d27fe8555cb4d93d6aae3", kill_on_drop: false }` [INFO] [stdout] 549effd0a1ebb0a784245946244c082e55ff3f1a3c1d27fe8555cb4d93d6aae3