[INFO] fetching crate fastserve 0.2.3... [INFO] testing fastserve-0.2.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate fastserve 0.2.3 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate fastserve 0.2.3 [INFO] finished tweaking crates.io crate fastserve 0.2.3 [INFO] tweaked toml for crates.io crate fastserve 0.2.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fastserve 0.2.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 181 packages to latest compatible versions [INFO] [stderr] Adding lazy_static v0.1.16 (available: v1.5.0) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdb4c4091b9828a48d8ce65f926c2b6e8520519012b33ae964670e0f306c73b7 [INFO] running `Command { std: "docker" "start" "-a" "cdb4c4091b9828a48d8ce65f926c2b6e8520519012b33ae964670e0f306c73b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdb4c4091b9828a48d8ce65f926c2b6e8520519012b33ae964670e0f306c73b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdb4c4091b9828a48d8ce65f926c2b6e8520519012b33ae964670e0f306c73b7", kill_on_drop: false }` [INFO] [stdout] cdb4c4091b9828a48d8ce65f926c2b6e8520519012b33ae964670e0f306c73b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a1ea0d4008f15a6752c0ae35bd61d6e468589eff8d64267d01910eac5357435 [INFO] running `Command { std: "docker" "start" "-a" "5a1ea0d4008f15a6752c0ae35bd61d6e468589eff8d64267d01910eac5357435", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling fastserve v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use utils::guess_response_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `guess_response_type` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use utils::guess_response_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/utils.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[ [INFO] [stdout] 15 | | (&400, "Bad Request"), (&500, "Internal Server Error"), [INFO] [stdout] 16 | | (&401, "Unauthorized"), (&501, "Not Implemented"), [INFO] [stdout] ... | [INFO] [stdout] 46 | | ]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/utils.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[ [INFO] [stdout] 15 | | (&400, "Bad Request"), (&500, "Internal Server Error"), [INFO] [stdout] 16 | | (&401, "Unauthorized"), (&501, "Not Implemented"), [INFO] [stdout] ... | [INFO] [stdout] 46 | | ]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.33s [INFO] running `Command { std: "docker" "inspect" "5a1ea0d4008f15a6752c0ae35bd61d6e468589eff8d64267d01910eac5357435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a1ea0d4008f15a6752c0ae35bd61d6e468589eff8d64267d01910eac5357435", kill_on_drop: false }` [INFO] [stdout] 5a1ea0d4008f15a6752c0ae35bd61d6e468589eff8d64267d01910eac5357435 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b29b0504bf56a361474c4217bbe934857619b6c33612b4f72c4a4e604fd2d37d [INFO] running `Command { std: "docker" "start" "-a" "b29b0504bf56a361474c4217bbe934857619b6c33612b4f72c4a4e604fd2d37d", kill_on_drop: false }` [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use utils::guess_response_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `guess_response_type` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use utils::guess_response_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/utils.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[ [INFO] [stdout] 15 | | (&400, "Bad Request"), (&500, "Internal Server Error"), [INFO] [stdout] 16 | | (&401, "Unauthorized"), (&501, "Not Implemented"), [INFO] [stdout] ... | [INFO] [stdout] 46 | | ]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/utils.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[ [INFO] [stdout] 15 | | (&400, "Bad Request"), (&500, "Internal Server Error"), [INFO] [stdout] 16 | | (&401, "Unauthorized"), (&501, "Not Implemented"), [INFO] [stdout] ... | [INFO] [stdout] 46 | | ]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fastserve v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use utils::guess_response_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `guess_response_type` in the value namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use utils::guess_response_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/utils.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[ [INFO] [stdout] 15 | | (&400, "Bad Request"), (&500, "Internal Server Error"), [INFO] [stdout] 16 | | (&401, "Unauthorized"), (&501, "Not Implemented"), [INFO] [stdout] ... | [INFO] [stdout] 46 | | ]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/utils.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[ [INFO] [stdout] 15 | | (&400, "Bad Request"), (&500, "Internal Server Error"), [INFO] [stdout] 16 | | (&401, "Unauthorized"), (&501, "Not Implemented"), [INFO] [stdout] ... | [INFO] [stdout] 46 | | ]; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "b29b0504bf56a361474c4217bbe934857619b6c33612b4f72c4a4e604fd2d37d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b29b0504bf56a361474c4217bbe934857619b6c33612b4f72c4a4e604fd2d37d", kill_on_drop: false }` [INFO] [stdout] b29b0504bf56a361474c4217bbe934857619b6c33612b4f72c4a4e604fd2d37d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 21e9c2c1d7551389e7f43ee517a660fd2ee1076aa3dbfc04c69f7436deb6e740 [INFO] running `Command { std: "docker" "start" "-a" "21e9c2c1d7551389e7f43ee517a660fd2ee1076aa3dbfc04c69f7436deb6e740", kill_on_drop: false }` [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> src/lib.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use utils::guess_response_type; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the name `guess_response_type` in the value namespace is supposed to be publicly re-exported here [INFO] [stderr] --> src/lib.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub use crate::utils::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> src/lib.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use utils::guess_response_type; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/utils.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[ [INFO] [stderr] 15 | | (&400, "Bad Request"), (&500, "Internal Server Error"), [INFO] [stderr] 16 | | (&401, "Unauthorized"), (&501, "Not Implemented"), [INFO] [stderr] ... | [INFO] [stderr] 46 | | ]; [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/utils.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / lazy_static! { [INFO] [stderr] 14 | | static ref STATUS_CODES:&'static [(&'static u16, &'static str); 58] = &[ [INFO] [stderr] 15 | | (&400, "Bad Request"), (&500, "Internal Server Error"), [INFO] [stderr] 16 | | (&401, "Unauthorized"), (&501, "Not Implemented"), [INFO] [stderr] ... | [INFO] [stderr] 46 | | ]; [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `fastserve` (lib) generated 3 warnings [INFO] [stderr] warning: `fastserve` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fastserve-bea543c2d7f4e202) [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] Doc-tests fastserve [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/utils.rs - utils::respond (line 146) ... FAILED [INFO] [stdout] test src/utils.rs - utils::log (line 248) ... FAILED [INFO] [stdout] test src/utils.rs - utils::expect_headers (line 206) ... FAILED [INFO] [stdout] test src/lib.rs - start (line 73) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/utils.rs - utils::respond (line 146) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `respond` in this scope [INFO] [stdout] --> src/utils.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 3 | respond(&mut stream, 200u16, Some(ResponseType::Text), "Hello World"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use fastserve::respond; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `stream` in this scope [INFO] [stdout] --> src/utils.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 3 | respond(&mut stream, 200u16, Some(ResponseType::Text), "Hello World"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResponseType` [INFO] [stdout] --> src/utils.rs:147:35 [INFO] [stdout] | [INFO] [stdout] 3 | respond(&mut stream, 200u16, Some(ResponseType::Text), "Hello World"); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResponseType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use fastserve::ResponseType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::log (line 248) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `log` in this scope [INFO] [stdout] --> src/utils.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 3 | log(Color::Green, "Hello World"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use fastserve::log; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/utils.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 3 | log(Color::Green, "Hello World"); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use termcolor::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::expect_headers (line 206) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `expect_headers` in this scope [INFO] [stdout] --> src/utils.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 3 | if !expect_headers(&mut stream, &headers, vec!["Content-Type", "Content-Length"]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use fastserve::expect_headers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `stream` in this scope [INFO] [stdout] --> src/utils.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 3 | if !expect_headers(&mut stream, &headers, vec!["Content-Type", "Content-Length"]) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `headers` in this scope [INFO] [stdout] --> src/utils.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 3 | if !expect_headers(&mut stream, &headers, vec!["Content-Type", "Content-Length"]) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - start (line 73) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 3 | start(ServerOptions { ... }) [INFO] [stdout] | ------------- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start` in this scope [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 3 | start(ServerOptions { ... }) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use fastserve::start; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServerOptions` in this scope [INFO] [stdout] --> src/lib.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 3 | start(ServerOptions { ... }) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use fastserve::ServerOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - start (line 73) [INFO] [stdout] src/utils.rs - utils::expect_headers (line 206) [INFO] [stdout] src/utils.rs - utils::log (line 248) [INFO] [stdout] src/utils.rs - utils::respond (line 146) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "21e9c2c1d7551389e7f43ee517a660fd2ee1076aa3dbfc04c69f7436deb6e740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21e9c2c1d7551389e7f43ee517a660fd2ee1076aa3dbfc04c69f7436deb6e740", kill_on_drop: false }` [INFO] [stdout] 21e9c2c1d7551389e7f43ee517a660fd2ee1076aa3dbfc04c69f7436deb6e740