[INFO] fetching crate gotham_middleware_jwt 0.8.0... [INFO] testing gotham_middleware_jwt-0.8.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate gotham_middleware_jwt 0.8.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate gotham_middleware_jwt 0.8.0 [INFO] finished tweaking crates.io crate gotham_middleware_jwt 0.8.0 [INFO] tweaked toml for crates.io crate gotham_middleware_jwt 0.8.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gotham_middleware_jwt 0.8.0 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] Locking 139 packages to latest compatible versions [INFO] [stderr] Adding jsonwebtoken v8.3.0 (available: v10.0.0) [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 time-macros v0.1.1 [INFO] [stderr] Downloaded gotham_derive v0.7.1 [INFO] [stderr] Downloaded standback v0.2.17 [INFO] [stderr] Downloaded time v0.2.27 [INFO] [stderr] Downloaded sha1 v0.6.1 [INFO] [stderr] Downloaded stdweb-internal-macros v0.2.9 [INFO] [stderr] Downloaded stdweb v0.4.20 [INFO] [stderr] Downloaded time-macros-impl v0.1.2 [INFO] [stderr] Downloaded borrow-bag v1.1.1 [INFO] [stderr] Downloaded stdweb-derive v0.5.3 [INFO] [stderr] Downloaded gotham v0.7.4 [INFO] [stderr] Downloaded stdweb-internal-runtime v0.1.5 [INFO] [stderr] Downloaded const_fn v0.4.11 [INFO] [stderr] Downloaded cookie v0.15.2 [INFO] [stderr] Downloaded sha1_smol v1.0.1 [INFO] [stderr] Downloaded discard v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 31354962435b4ca1298179e6fa38ab4effa35fdd2d171a7f3d7e81f0fd1272f4 [INFO] running `Command { std: "docker" "start" "-a" "31354962435b4ca1298179e6fa38ab4effa35fdd2d171a7f3d7e81f0fd1272f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31354962435b4ca1298179e6fa38ab4effa35fdd2d171a7f3d7e81f0fd1272f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31354962435b4ca1298179e6fa38ab4effa35fdd2d171a7f3d7e81f0fd1272f4", kill_on_drop: false }` [INFO] [stdout] 31354962435b4ca1298179e6fa38ab4effa35fdd2d171a7f3d7e81f0fd1272f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ab492194aeb677c5bf22225ae70825ace984a9aaafabe55332419fa3b31b903b [INFO] running `Command { std: "docker" "start" "-a" "ab492194aeb677c5bf22225ae70825ace984a9aaafabe55332419fa3b31b903b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling cookie v0.15.2 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling gotham_derive v0.7.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling borrow-bag v1.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling gotham v0.7.4 [INFO] [stderr] Compiling gotham_middleware_jwt v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "ab492194aeb677c5bf22225ae70825ace984a9aaafabe55332419fa3b31b903b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab492194aeb677c5bf22225ae70825ace984a9aaafabe55332419fa3b31b903b", kill_on_drop: false }` [INFO] [stdout] ab492194aeb677c5bf22225ae70825ace984a9aaafabe55332419fa3b31b903b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 758ecac42a0ebbb794ff8fb021977d3e90ca2de62a91473b2091a8380dcb56a8 [INFO] running `Command { std: "docker" "start" "-a" "758ecac42a0ebbb794ff8fb021977d3e90ca2de62a91473b2091a8380dcb56a8", kill_on_drop: false }` [INFO] [stderr] Compiling gotham_middleware_jwt v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `gotham::test` [INFO] [stdout] --> src/middleware.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | use gotham::test::TestServer; [INFO] [stdout] | ^^^^ could not find `test` in `gotham` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gotham-0.7.4/src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 37 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/middleware.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_wild_err_arm))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gotham_middleware_jwt` (lib test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "758ecac42a0ebbb794ff8fb021977d3e90ca2de62a91473b2091a8380dcb56a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758ecac42a0ebbb794ff8fb021977d3e90ca2de62a91473b2091a8380dcb56a8", kill_on_drop: false }` [INFO] [stdout] 758ecac42a0ebbb794ff8fb021977d3e90ca2de62a91473b2091a8380dcb56a8