[INFO] fetching crate http-types-rs 4.0.3... [INFO] testing http-types-rs-4.0.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate http-types-rs 4.0.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate http-types-rs 4.0.3 [INFO] finished tweaking crates.io crate http-types-rs 4.0.3 [INFO] tweaked toml for crates.io crate http-types-rs 4.0.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate http-types-rs 4.0.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 154 packages to latest compatible versions [INFO] [stderr] Adding infer v0.15.0 (available: v0.19.0) [INFO] [stderr] Adding serde_qs v0.13.0 (available: v0.15.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c39dad533817b031ce3103711f3ad56c64513ede9645c7c09fda6dd4b46aac59 [INFO] running `Command { std: "docker" "start" "-a" "c39dad533817b031ce3103711f3ad56c64513ede9645c7c09fda6dd4b46aac59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c39dad533817b031ce3103711f3ad56c64513ede9645c7c09fda6dd4b46aac59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39dad533817b031ce3103711f3ad56c64513ede9645c7c09fda6dd4b46aac59", kill_on_drop: false }` [INFO] [stdout] c39dad533817b031ce3103711f3ad56c64513ede9645c7c09fda6dd4b46aac59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f085407b7e0219aeeda57eacd26950d6b24101a391d09fa162792026f44bfa9 [INFO] running `Command { std: "docker" "start" "-a" "4f085407b7e0219aeeda57eacd26950d6b24101a391d09fa162792026f44bfa9", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling http-types-rs v4.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling cfb v0.7.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling infer v0.15.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_qs v0.13.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | #![cfg_attr(backtrace, feature(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/extensions.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] 48 + .and_then(|boxed| (&**boxed as &dyn Any).downcast_ref()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/extensions.rs:56:53 [INFO] [stdout] | [INFO] [stdout] 56 | .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] 56 + .and_then(|boxed| (&mut **boxed as &mut dyn Any).downcast_mut()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.82s [INFO] running `Command { std: "docker" "inspect" "4f085407b7e0219aeeda57eacd26950d6b24101a391d09fa162792026f44bfa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f085407b7e0219aeeda57eacd26950d6b24101a391d09fa162792026f44bfa9", kill_on_drop: false }` [INFO] [stdout] 4f085407b7e0219aeeda57eacd26950d6b24101a391d09fa162792026f44bfa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14e03b56342966ddc269bea61818ef2e5d78622e7e770773d913e3a4b9039642 [INFO] running `Command { std: "docker" "start" "-a" "14e03b56342966ddc269bea61818ef2e5d78622e7e770773d913e3a4b9039642", kill_on_drop: false }` [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling http-types-rs v4.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | #![cfg_attr(backtrace, feature(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/extensions.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] 48 + .and_then(|boxed| (&**boxed as &dyn Any).downcast_ref()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/extensions.rs:56:53 [INFO] [stdout] | [INFO] [stdout] 56 | .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] 56 + .and_then(|boxed| (&mut **boxed as &mut dyn Any).downcast_mut()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | #![cfg_attr(backtrace, feature(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stdout] --> src/error.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(not(backtrace))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/extensions.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stdout] 48 + .and_then(|boxed| (&**boxed as &dyn Any).downcast_ref()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/extensions.rs:56:53 [INFO] [stdout] | [INFO] [stdout] 56 | .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stdout] 56 + .and_then(|boxed| (&mut **boxed as &mut dyn Any).downcast_mut()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.91s [INFO] running `Command { std: "docker" "inspect" "14e03b56342966ddc269bea61818ef2e5d78622e7e770773d913e3a4b9039642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e03b56342966ddc269bea61818ef2e5d78622e7e770773d913e3a4b9039642", kill_on_drop: false }` [INFO] [stdout] 14e03b56342966ddc269bea61818ef2e5d78622e7e770773d913e3a4b9039642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3ca3d8e81b5e9936fed50d459bee4772b3acfcfc7e47222be2e3e520da68b210 [INFO] running `Command { std: "docker" "start" "-a" "3ca3d8e81b5e9936fed50d459bee4772b3acfcfc7e47222be2e3e520da68b210", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stderr] --> src/lib.rs:99:13 [INFO] [stderr] | [INFO] [stderr] 99 | #![cfg_attr(backtrace, feature(backtrace))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stderr] --> src/error.rs:104:11 [INFO] [stderr] | [INFO] [stderr] 104 | #[cfg(backtrace)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `backtrace` [INFO] [stderr] --> src/error.rs:114:15 [INFO] [stderr] | [INFO] [stderr] 114 | #[cfg(not(backtrace))] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(backtrace)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/extensions.rs:48:45 [INFO] [stderr] | [INFO] [stderr] 48 | .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 48 - .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stderr] 48 + .and_then(|boxed| (&**boxed as &dyn Any).downcast_ref()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/extensions.rs:56:53 [INFO] [stderr] | [INFO] [stderr] 56 | .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 56 - .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stderr] 56 + .and_then(|boxed| (&mut **boxed as &mut dyn Any).downcast_mut()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `http-types-rs` (lib) generated 5 warnings (run `cargo fix --lib -p http-types-rs` to apply 2 suggestions) [INFO] [stderr] warning: `http-types-rs` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/http_types_rs-737dcac42d32bde7) [INFO] [stdout] [INFO] [stdout] running 191 tests [INFO] [stdout] test auth::authorization::test::smoke ... ok [INFO] [stdout] test auth::basic_auth::test::smoke ... ok [INFO] [stdout] test auth::authorization::test::bad_request_on_parse_error ... ok [INFO] [stdout] test auth::www_authenticate::test::smoke ... ok [INFO] [stdout] test auth::www_authenticate::test::bad_request_on_parse_error ... ok [INFO] [stdout] test auth::basic_auth::test::bad_request_on_parse_error ... ok [INFO] [stdout] test cache::age::test::bad_request_on_parse_error ... ok [INFO] [stdout] test cache::age::test::smoke ... ok [INFO] [stdout] test cache::cache_control::test::ignore_unkonwn_directives ... ok [INFO] [stdout] test cache::cache_control::test::bad_request_on_parse_error ... ok [INFO] [stdout] test cache::clear_site_data::test::parse_quotes_correctly ... ok [INFO] [stdout] test cache::cache_control::test::smoke ... ok [INFO] [stdout] test body::test::chain_strings ... ok [INFO] [stdout] test body::test::attempting_to_read_past_length ... ok [INFO] [stdout] test body::test::attempting_to_read_when_length_is_greater_than_content ... ok [INFO] [stdout] test body::test::reading_in_various_buffer_lengths_when_there_is_no_length ... ok [INFO] [stdout] test body::test::chain_many ... ok [INFO] [stdout] test body::test::chain_short ... ok [INFO] [stdout] test body::test::chain_mixed_len_nolen ... ok [INFO] [stdout] test body::test::attempting_to_read_when_length_is_exactly_right ... ok [INFO] [stdout] test body::test::chain_mixed_nolen_len ... ok [INFO] [stdout] test body::test::chain_mixed_reader_string ... ok [INFO] [stdout] test body::test::chain_skip_start ... ok [INFO] [stdout] test body::test::form_status ... ok [INFO] [stdout] test body::test::json_status ... ok [INFO] [stdout] test cache::clear_site_data::test::smoke ... ok [INFO] [stdout] test cache::expires::test::smoke ... ok [INFO] [stdout] test conditional::etag::test::bad_request_on_parse_error ... ok [INFO] [stdout] test cache::expires::test::bad_request_on_parse_error ... ok [INFO] [stdout] test conditional::if_modified_since::test::smoke ... ok [INFO] [stdout] test conditional::if_modified_since::test::bad_request_on_parse_error ... ok [INFO] [stdout] test conditional::if_none_match::test::wildcard ... ok [INFO] [stdout] test conditional::if_match::test::wildcard ... ok [INFO] [stdout] test conditional::if_none_match::test::smoke ... ok [INFO] [stdout] test conditional::etag::test::smoke_weak ... ok [INFO] [stdout] test conditional::if_unmodified_since::test::bad_request_on_parse_error ... ok [INFO] [stdout] test conditional::etag::test::smoke ... ok [INFO] [stdout] test conditional::if_unmodified_since::test::smoke ... ok [INFO] [stdout] test conditional::etag::test::validate_characters ... ok [INFO] [stdout] test cache::clear_site_data::test::wildcard ... ok [INFO] [stdout] test conditional::last_modified::test::bad_request_on_parse_error ... ok [INFO] [stdout] test conditional::if_match::test::smoke ... ok [INFO] [stdout] test conditional::etag::test::validate_quotes ... ok [INFO] [stdout] test conditional::last_modified::test::smoke ... ok [INFO] [stdout] test conditional::vary::test::smoke ... ok [INFO] [stdout] test content::accept::test::negotiate_missing_encoding ... ok [INFO] [stdout] test content::accept::test::iter ... ok [INFO] [stdout] test content::accept::test::negotiate_not_acceptable ... ok [INFO] [stdout] test content::accept::test::reorder_based_on_weight ... ok [INFO] [stdout] test content::accept::test::negotiate_wildcard ... ok [INFO] [stdout] test content::accept::test::parse ... ok [INFO] [stdout] test content::accept::test::reorder_based_on_weight_and_location ... ok [INFO] [stdout] test content::accept_encoding::test::negotiate_not_acceptable ... ok [INFO] [stdout] test content::accept::test::serialize ... ok [INFO] [stdout] test content::accept::test::wildcard ... ok [INFO] [stdout] test content::accept::test::wildcard_and_header ... ok [INFO] [stdout] test content::accept_encoding::test::iter ... ok [INFO] [stdout] test content::accept_encoding::test::negotiate_wildcard ... ok [INFO] [stdout] test content::accept_encoding::test::reorder_based_on_weight ... ok [INFO] [stdout] test content::accept_encoding::test::reorder_based_on_weight_and_location ... ok [INFO] [stdout] test conditional::vary::test::wildcard ... ok [INFO] [stdout] test content::accept::test::negotiate ... ok [INFO] [stdout] test content::accept::test::smoke ... ok [INFO] [stdout] test content::accept_encoding::test::smoke ... ok [INFO] [stdout] test content::accept_encoding::test::wildcard ... ok [INFO] [stdout] test content::accept_encoding::test::wildcard_and_header ... ok [INFO] [stdout] test content::content_length::test::bad_request_on_parse_error ... ok [INFO] [stdout] test content::content_length::test::smoke ... ok [INFO] [stdout] test content::content_type::test::bad_request_on_parse_error ... ok [INFO] [stdout] test content::content_location::test::bad_request_on_parse_error ... ok [INFO] [stdout] test content::encoding_proposal::test::smoke ... ok [INFO] [stdout] test content::content_type::test::smoke ... ok [INFO] [stdout] test content::media_type_proposal::test::error_code_500 ... ok [INFO] [stdout] test extensions::tests::test_extensions ... ok [INFO] [stdout] test content::media_type_proposal::test::smoke ... ok [INFO] [stdout] test content::encoding_proposal::test::error_code_500 ... ok [INFO] [stdout] test headers::header::test::header_from_strings ... ok [INFO] [stdout] test headers::header_name::tests::equality ... ok [INFO] [stdout] test headers::header_name::tests::pass_name_by_ref ... ok [INFO] [stdout] test headers::header_name::tests::test_header_name_static_non_static ... ok [INFO] [stdout] test headers::header_value::tests::test_debug ... ok [INFO] [stdout] test content::content_location::test::smoke ... ok [INFO] [stdout] test headers::header_values::tests::test_debug_multiple ... ok [INFO] [stdout] test headers::header_values::tests::test_debug_single ... ok [INFO] [stdout] test headers::headers::tests::index_into_headers ... ok [INFO] [stdout] test headers::headers::tests::test_debug_multiple ... ok [INFO] [stdout] test headers::headers::tests::test_debug_single ... ok [INFO] [stdout] test headers::headers::tests::test_header_name_static_non_static ... ok [INFO] [stdout] test method::test::serde_fail ... ok [INFO] [stdout] test method::test::names ... ok [INFO] [stdout] test method::test::serde ... ok [INFO] [stdout] test other::date::test::smoke ... ok [INFO] [stdout] test mime::parse::test ... ok [INFO] [stdout] test other::expect::test::smoke ... ok [INFO] [stdout] test other::retry_after::test::smoke ... ok [INFO] [stdout] test other::referer::test::smoke ... ok [INFO] [stdout] test other::retry_after::test::new_at ... ok [INFO] [stdout] test parse_utils::test::qstring_successful_parses ... ok [INFO] [stdout] test other::referer::test::bad_request_on_parse_error ... ok [INFO] [stdout] test parse_utils::test::qstring_unsuccessful_parses ... ok [INFO] [stdout] test other::source_map::test::bad_request_on_parse_error ... ok [INFO] [stdout] test other::source_map::test::smoke ... ok [INFO] [stdout] test other::expect::test::bad_request_on_parse_error ... ok [INFO] [stdout] test other::source_map::test::fallback_works ... ok [INFO] [stdout] test parse_utils::test::token_unsuccessful_parses ... ok [INFO] [stdout] test other::referer::test::fallback_works ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded::two_separate_strings ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded::two_values_same_string ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded::multiple_x_forwarded_headers ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded_element::empty_input ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded::x_forwarded_for ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded::to_string ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded_element::non_ascii_value ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded_element::duplicate_parameters ... ok [INFO] [stdout] test parse_utils::test::token_successful_parses ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded::owned_can_outlive_request ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded_element::space_within_element_is_invalid ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded::all_rfc_examples ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded_element::to_string ... ok [INFO] [stdout] test request::tests::host::when_host_header_is_set ... ok [INFO] [stdout] test request::tests::host::when_forwarded_header_is_set ... ok [INFO] [stdout] test request::tests::host::when_only_one_x_forwarded_hosts_exist ... ok [INFO] [stdout] test request::tests::host::when_there_are_no_headers ... ok [INFO] [stdout] test request::tests::host::when_url_has_no_domain ... ok [INFO] [stdout] test request::tests::host::when_several_x_forwarded_hosts_exist ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_connect ... ok [INFO] [stdout] test mime::parse::whatwag_tests ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded_element::invalid_value ... ok [INFO] [stdout] test proxies::forwarded::tests::forwarded_element::all_parameters ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_put ... ok [INFO] [stdout] test request::tests::remote::falling_back_to_peer_addr ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_trace ... ok [INFO] [stdout] test request::tests::remote::when_both_forwarding_headers_are_set ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_delete ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_get ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_head ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_options ... ok [INFO] [stdout] test request::tests::remote::when_forwarded_is_properly_formatted ... ok [INFO] [stdout] test request::tests::remote::when_x_forwarded_for_is_set ... ok [INFO] [stdout] test request::tests::remote::when_forwarded_is_improperly_formatted ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_patch ... ok [INFO] [stdout] test security::strict_transport_security::test::smoke ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_post ... ok [INFO] [stdout] test security::strict_transport_security::test::parse_optional_whitespace ... ok [INFO] [stdout] test response::test::construct_shorthand_with_valid_status_code ... ok [INFO] [stdout] test security::timing_allow_origin::test::multi ... ok [INFO] [stdout] test security::timing_allow_origin::test::smoke ... ok [INFO] [stdout] test status::test::construct_shorthand_with_valid_status_code ... ok [INFO] [stdout] test status_code::test::serde_as_u16 ... ok [INFO] [stdout] test server::allow::test::smoke ... ok [INFO] [stdout] test trace::server_timing::parse::test::decode_headers ... ok [INFO] [stdout] test trace::server_timing::test::to_header_values ... ok [INFO] [stdout] test trace::server_timing::test::smoke ... ok [INFO] [stdout] test security::timing_allow_origin::test::wildcard ... ok [INFO] [stdout] test trace::trace_context::test::default ... ok [INFO] [stdout] test trace::server_timing::metric::test::encode ... ok [INFO] [stdout] test trace::trace_context::test::no_header ... ok [INFO] [stdout] test trace::trace_context::test::not_sampled ... ok [INFO] [stdout] test transfer::encoding_proposal::test::smoke ... ok [INFO] [stdout] test transfer::te::test::iter ... ok [INFO] [stdout] test trace::trace_context::test::sampled ... ok [INFO] [stdout] test transfer::te::test::negotiate_wildcard ... ok [INFO] [stdout] test transfer::te::test::reorder_based_on_weight ... ok [INFO] [stdout] test transfer::te::test::reorder_based_on_weight_and_location ... ok [INFO] [stdout] test transfer::te::test::smoke ... ok [INFO] [stdout] test transfer::te::test::wildcard ... ok [INFO] [stdout] test transfer::te::test::negotiate ... ok [INFO] [stdout] test transfer::te::test::wildcard_and_header ... ok [INFO] [stdout] test utils::date::tests::size_of ... ok [INFO] [stdout] test utils::date::tests::test3 ... ok [INFO] [stdout] test utils::date::tests::test_fmt ... ok [INFO] [stdout] test body::test::chain_mixed_bytes_string ... ok [INFO] [stdout] test content::accept_encoding::test::negotiate ... ok [INFO] [stdout] test headers::header_name::tests::test_debug ... ok [INFO] [stdout] test request::tests::remote::when_no_remote_available ... ok [INFO] [stdout] test version::test::as_ref ... ok [INFO] [stdout] test version::test::serde ... ok [INFO] [stdout] test version::test::ord ... ok [INFO] [stdout] test version::test::to_string ... ok [INFO] [stdout] test response::test::construct_shorthand_with_invalid_status_code - should panic ... ok [INFO] [stdout] test security::timing_allow_origin::test::bad_request_on_parse_error ... ok [INFO] [stdout] test security::strict_transport_security::test::bad_request_on_parse_error ... ok [INFO] [stdout] test status::test::construct_shorthand_with_invalid_status_code - should panic ... ok [INFO] [stdout] test transfer::encoding_proposal::test::error_code_500 ... ok [INFO] [stdout] test trace::server_timing::test::bad_request_on_parse_error ... ok [INFO] [stdout] test other::date::test::bad_request_on_parse_error ... ok [INFO] [stdout] test security::strict_transport_security::test::no_panic_on_invalid_number ... ok [INFO] [stdout] test transfer::te::test::negotiate_not_acceptable ... ok [INFO] [stdout] test utils::date::tests::test_rfc_example ... ok [INFO] [stdout] test trace::server_timing::parse::test::decode_header ... ok [INFO] [stdout] test utils::date::tests::test2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 191 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] Running tests/error.rs (/opt/rustwide/target/debug/deps/error-ca9e1de68a9889d6) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test anyhow_error_into_http_types_error ... ok [INFO] [stdout] test fail_test_u16_into_status_code_in_http_types_error_from_str - should panic ... ok [INFO] [stdout] test result_ext ... ok [INFO] [stdout] test ensure_eq ... ok [INFO] [stdout] test ensure ... ok [INFO] [stdout] test option_ext ... ok [INFO] [stdout] test u16_into_status_code_in_http_types_error ... ok [INFO] [stdout] test internal_server_error_by_default ... ok [INFO] [stdout] test normal_error_into_http_types_error ... ok [INFO] [stdout] test can_be_boxed ... ok [INFO] [stdout] test fail_test_u16_into_status_code_in_http_types_error_new - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Running tests/headers.rs (/opt/rustwide/target/debug/deps/headers-88a236761c1808fc) [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/mime.rs (/opt/rustwide/target/debug/deps/mime-9da9fddf2f551a47) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::parse_empty_files ... ok [INFO] [stdout] test tests::guess_mime_fallback ... ok [INFO] [stdout] test tests::guess_plain_text_mime ... ok [INFO] [stdout] test tests::guess_binary_mime ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/querystring.rs (/opt/rustwide/target/debug/deps/querystring-0b870c14f270c907) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stderr] Running tests/req_res_body.rs (/opt/rustwide/target/debug/deps/req_res_body-f5de12a1ebfdbea7) [INFO] [stdout] test empty_query_string_for_struct_with_no_required_fields ... ok [INFO] [stdout] test successfully_deserialize_query ... ok [INFO] [stdout] test malformatted_query ... ok [INFO] [stdout] test unsuccessfully_deserialize_query ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_req_res_set_body ... ok [INFO] [stdout] test test_req_res_take_replace_body ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/security.rs (/opt/rustwide/target/debug/deps/security-7526a6f41b8baf34) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test security_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests http_types_rs [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/extensions.rs:48:45 [INFO] [stderr] | [INFO] [stderr] 48 | .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 48 - .and_then(|boxed| (&**boxed as &(dyn Any)).downcast_ref()) [INFO] [stderr] 48 + .and_then(|boxed| (&**boxed as &dyn Any).downcast_ref()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/extensions.rs:56:53 [INFO] [stderr] | [INFO] [stderr] 56 | .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 56 - .and_then(|boxed| (&mut **boxed as &mut (dyn Any)).downcast_mut()) [INFO] [stderr] 56 + .and_then(|boxed| (&mut **boxed as &mut dyn Any).downcast_mut()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 110 tests [INFO] [stdout] test src/body.rs - body::Body::from_file (line 388) - compile ... ok [INFO] [stdout] test src/body.rs - body::Body::from_file_with_path (line 415) - compile ... ok [INFO] [stdout] test src/body.rs - body::Body::from_path (line 363) - compile ... ok [INFO] [stdout] test src/body.rs - body::Body::from_string (line 191) ... ok [INFO] [stdout] test src/body.rs - body::Body::from_bytes (line 142) ... ok [INFO] [stdout] test src/body.rs - body::Body::from_reader (line 97) ... ok [INFO] [stdout] test src/auth/authorization.rs - auth::authorization::Authorization (line 13) ... ok [INFO] [stdout] test src/body.rs - body::Body::empty (line 73) ... ok [INFO] [stdout] test src/body.rs - body::Body::into_reader (line 120) ... ok [INFO] [stdout] test src/auth/www_authenticate.rs - auth::www_authenticate::WwwAuthenticate (line 19) ... ok [INFO] [stdout] test src/body.rs - body::Body::from_json (line 238) ... ok [INFO] [stdout] test src/body.rs - body::Body::into_bytes (line 164) ... ok [INFO] [stdout] test src/body.rs - body::Body::chain (line 497) ... ok [INFO] [stdout] test src/body.rs - body::Body (line 26) ... ok [INFO] [stdout] test src/body.rs - body::Body::into_form (line 333) ... ok [INFO] [stdout] test src/auth/basic_auth.rs - auth::basic_auth::BasicAuth (line 20) ... ok [INFO] [stdout] test src/auth/mod.rs - auth (line 5) ... ok [INFO] [stdout] test src/body.rs - body::Body::len (line 445) ... ok [INFO] [stdout] test src/cache/age.rs - cache::age::Age (line 16) ... ok [INFO] [stdout] test src/body.rs - body::Body::from_form (line 294) ... ok [INFO] [stdout] test src/cache/expires.rs - cache::expires::Expires (line 15) ... ok [INFO] [stdout] test src/cache/cache_control/cache_control.rs - cache::cache_control::cache_control::CacheControl (line 15) ... ok [INFO] [stdout] test src/cache/clear_site_data/mod.rs - cache::clear_site_data::ClearSiteData (line 28) ... ok [INFO] [stdout] test src/body.rs - body::Body::set_mime (line 471) ... ok [INFO] [stdout] test src/body.rs - body::Body::into_string (line 213) ... ok [INFO] [stdout] test src/conditional/if_match.rs - conditional::if_match::IfMatch (line 19) ... ok [INFO] [stdout] test src/body.rs - body::Body::into_json (line 260) ... ok [INFO] [stdout] test src/conditional/etag.rs - conditional::etag::ETag (line 17) ... ok [INFO] [stdout] test src/conditional/if_modified_since.rs - conditional::if_modified_since::IfModifiedSince (line 17) ... ok [INFO] [stdout] test src/conditional/last_modified.rs - conditional::last_modified::LastModified (line 16) ... ok [INFO] [stdout] test src/content/accept_encoding.rs - content::accept_encoding::AcceptEncoding (line 23) ... ok [INFO] [stdout] test src/content/accept.rs - content::accept::Accept (line 32) ... ok [INFO] [stdout] test src/content/content_length.rs - content::content_length::ContentLength (line 12) ... ok [INFO] [stdout] test src/other/retry_after.rs - other::retry_after::RetryAfter (line 16) - compile ... ok [INFO] [stdout] test src/conditional/if_unmodified_since.rs - conditional::if_unmodified_since::IfUnmodifiedSince (line 17) ... ok [INFO] [stdout] test src/headers/headers.rs - headers::headers::Headers (line 21) ... ok [INFO] [stdout] test src/conditional/if_none_match.rs - conditional::if_none_match::IfNoneMatch (line 25) ... ok [INFO] [stdout] test src/content/content_type.rs - content::content_type::ContentType (line 17) ... ok [INFO] [stdout] test src/other/expect.rs - other::expect::Expect (line 16) ... ok [INFO] [stdout] test src/conditional/vary.rs - conditional::vary::Vary (line 19) ... ok [INFO] [stdout] test src/content/content_encoding.rs - content::content_encoding::ContentEncoding (line 20) ... ok [INFO] [stdout] test src/content/content_location.rs - content::content_location::ContentLocation (line 16) ... ok [INFO] [stdout] test src/mime/mod.rs - mime::Mime (line 21) ... ok [INFO] [stdout] test src/proxies/forwarded.rs - proxies::forwarded::Forwarded<'fe>::from_headers (line 96) ... ok [INFO] [stdout] test src/proxies/forwarded.rs - proxies::forwarded::Forwarded<'fe>::from_headers (line 86) ... ok [INFO] [stdout] test src/proxies/forwarded.rs - proxies::forwarded::Forwarded<'fe>::from_headers (line 72) ... ok [INFO] [stdout] test src/other/source_map.rs - other::source_map::SourceMap (line 16) ... ok [INFO] [stdout] test src/content/mod.rs - content (line 14) ... ok [INFO] [stdout] test src/other/date.rs - other::date::Date (line 14) ... ok [INFO] [stdout] test src/other/referer.rs - other::referer::Referer (line 19) ... ok [INFO] [stdout] test src/mime/mod.rs - mime::Mime::subset_eq (line 130) ... ok [INFO] [stdout] test src/lib.rs - (line 8) ... ok [INFO] [stdout] test src/request.rs - request::Request (line 21) ... ok [INFO] [stdout] test src/request.rs - request::Request::delete (line 767) ... ok [INFO] [stdout] test src/request.rs - request::Request::append_header (line 444) ... ok [INFO] [stdout] test src/request.rs - request::Request::connect (line 788) ... ok [INFO] [stdout] test src/request.rs - request::Request::head (line 705) ... ok [INFO] [stdout] test src/request.rs - request::Request::get (line 683) ... ok [INFO] [stdout] test src/request.rs - request::Request::body_string (line 286) ... ok [INFO] [stdout] test src/request.rs - request::Request::ext_mut (line 584) ... ok [INFO] [stdout] test src/request.rs - request::Request::options (line 809) ... ok [INFO] [stdout] test src/request.rs - request::Request::post (line 726) ... ok [INFO] [stdout] test src/request.rs - request::Request::body_bytes (line 314) ... ok [INFO] [stdout] test src/request.rs - request::Request::put (line 747) ... ok [INFO] [stdout] test src/request.rs - request::Request::insert_header (line 422) ... ok [INFO] [stdout] test src/request.rs - request::Request::patch (line 850) ... ok [INFO] [stdout] test src/request.rs - request::Request::set_body (line 186) ... ok [INFO] [stdout] test src/request.rs - request::Request::body_form (line 376) ... ok [INFO] [stdout] test src/request.rs - request::Request::body_json (line 340) ... ok [INFO] [stdout] test src/response.rs - response::Response::append_header (line 125) ... ok [INFO] [stdout] test src/request.rs - request::Request::query (line 603) ... ok [INFO] [stdout] test src/request.rs - request::Request::replace_body (line 201) ... ok [INFO] [stdout] test src/request.rs - request::Request::version (line 501) ... ok [INFO] [stdout] test src/request.rs - request::Request::trace (line 830) ... ok [INFO] [stdout] test src/request.rs - request::Request::url_mut (line 168) ... ok [INFO] [stdout] test src/request.rs - request::Request::url (line 151) ... ok [INFO] [stdout] test src/request.rs - request::Request::set_version (line 522) ... ok [INFO] [stdout] test src/request.rs - request::Request::take_body (line 253) ... ok [INFO] [stdout] test src/response.rs - response::Response::body_bytes (line 276) ... ok [INFO] [stdout] test src/request.rs - request::Request::swap_body (line 227) ... ok [INFO] [stdout] test src/response.rs - response::Response::ext_mut (line 541) ... ok [INFO] [stdout] test src/request.rs - request::Request::set_query (line 652) ... ok [INFO] [stdout] test src/response.rs - response::Response::insert_header (line 103) ... ok [INFO] [stdout] test src/response.rs - response::Response::set_body (line 143) ... ok [INFO] [stdout] test src/response.rs - response::Response (line 22) ... ok [INFO] [stdout] test src/response.rs - response::Response::body_string (line 249) ... ok [INFO] [stdout] test src/response.rs - response::Response::replace_body (line 161) ... ok [INFO] [stdout] test src/response.rs - response::Response::body_form (line 339) ... ok [INFO] [stdout] test src/security/csp.rs - security::csp::ContentSecurityPolicy (line 111) ... ok [INFO] [stdout] test src/response.rs - response::Response::swap_body (line 189) ... ok [INFO] [stdout] test src/response.rs - response::Response::set_version (line 454) ... ok [INFO] [stdout] test src/trace/server_timing/mod.rs - trace::server_timing::ServerTiming (line 45) ... ok [INFO] [stdout] test src/response.rs - response::Response::version (line 408) ... ok [INFO] [stdout] test src/response.rs - response::Response::body_json (line 302) ... ok [INFO] [stdout] test src/security/mod.rs - security (line 9) ... ok [INFO] [stdout] test src/response.rs - response::Response::take_body (line 216) ... ok [INFO] [stdout] test src/server/allow.rs - server::allow::Allow (line 20) ... ok [INFO] [stdout] test src/security/timing_allow_origin.rs - security::timing_allow_origin::TimingAllowOrigin (line 42) ... ok [INFO] [stdout] test src/trace/trace_context.rs - trace::trace_context::TraceContext::new (line 53) ... ok [INFO] [stdout] test src/trace/server_timing/mod.rs - trace::server_timing (line 5) ... ok [INFO] [stdout] test src/trace/trace_context.rs - trace::trace_context::TraceContext::sampled (line 163) ... ok [INFO] [stdout] test src/trace/trace_context.rs - trace::trace_context::TraceContext::set_sampled (line 184) ... ok [INFO] [stdout] test src/transfer/te.rs - transfer::te::TE (line 21) ... ok [INFO] [stdout] test src/trace/trace_context.rs - trace::trace_context::TraceContext (line 14) ... ok [INFO] [stdout] test src/trace/trace_context.rs - trace::trace_context::TraceContext::from_headers (line 80) ... ok [INFO] [stdout] test src/security/timing_allow_origin.rs - security::timing_allow_origin (line 10) ... ok [INFO] [stdout] test src/transfer/trailers.rs - transfer::trailers (line 21) ... ok [INFO] [stdout] test src/transfer/trailers.rs - transfer::trailers::Trailers::insert (line 76) ... ok [INFO] [stdout] test src/transfer/trailers.rs - transfer::trailers::Trailers::append (line 97) ... ok [INFO] [stdout] test src/transfer/transfer_encoding.rs - transfer::transfer_encoding::TransferEncoding (line 17) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 110 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.85s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3ca3d8e81b5e9936fed50d459bee4772b3acfcfc7e47222be2e3e520da68b210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ca3d8e81b5e9936fed50d459bee4772b3acfcfc7e47222be2e3e520da68b210", kill_on_drop: false }` [INFO] [stdout] 3ca3d8e81b5e9936fed50d459bee4772b3acfcfc7e47222be2e3e520da68b210