[INFO] fetching crate midlware 0.1.3... [INFO] testing midlware-0.1.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate midlware 0.1.3 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate midlware 0.1.3 [INFO] finished tweaking crates.io crate midlware 0.1.3 [INFO] tweaked toml for crates.io crate midlware 0.1.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate midlware 0.1.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 243 packages to latest compatible versions [INFO] [stderr] Adding actix-rt v1.1.1 (available: v2.11.0) [INFO] [stderr] Adding actix-web v3.3.3 (available: v4.11.0) [INFO] [stderr] Adding bson v0.14.1 (available: v3.0.0) [INFO] [stderr] Adding jsonwebtoken v7.2.0 (available: v10.0.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27c109e1fd181690479e0c619be9efb70066a5da1557a9a44c2ae8394be06a65 [INFO] running `Command { std: "docker" "start" "-a" "27c109e1fd181690479e0c619be9efb70066a5da1557a9a44c2ae8394be06a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27c109e1fd181690479e0c619be9efb70066a5da1557a9a44c2ae8394be06a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27c109e1fd181690479e0c619be9efb70066a5da1557a9a44c2ae8394be06a65", kill_on_drop: false }` [INFO] [stdout] 27c109e1fd181690479e0c619be9efb70066a5da1557a9a44c2ae8394be06a65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69f55f708b30a7b63781de04a0874ea1ef0bef95c7741cfa020492a1370d3138 [INFO] running `Command { std: "docker" "start" "-a" "69f55f708b30a7b63781de04a0874ea1ef0bef95c7741cfa020492a1370d3138", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling resolv-conf v0.7.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling snailquote v0.2.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling envfile v0.2.1 [INFO] [stderr] Compiling bson v0.14.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling midlware v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let config: Config = Config {path: "src/config/config.env".to_string() }; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.14.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "69f55f708b30a7b63781de04a0874ea1ef0bef95c7741cfa020492a1370d3138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f55f708b30a7b63781de04a0874ea1ef0bef95c7741cfa020492a1370d3138", kill_on_drop: false }` [INFO] [stdout] 69f55f708b30a7b63781de04a0874ea1ef0bef95c7741cfa020492a1370d3138 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1237a5c89d80bf140d3bdbf09dcbce33fbb58e0103a27947f452662fd6a8c10b [INFO] running `Command { std: "docker" "start" "-a" "1237a5c89d80bf140d3bdbf09dcbce33fbb58e0103a27947f452662fd6a8c10b", kill_on_drop: false }` [INFO] [stderr] Compiling midlware v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let config: Config = Config {path: "src/config/config.env".to_string() }; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/lib.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let config: Config = Config {path: "src/config/config.env".to_string() }; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.14.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "1237a5c89d80bf140d3bdbf09dcbce33fbb58e0103a27947f452662fd6a8c10b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1237a5c89d80bf140d3bdbf09dcbce33fbb58e0103a27947f452662fd6a8c10b", kill_on_drop: false }` [INFO] [stdout] 1237a5c89d80bf140d3bdbf09dcbce33fbb58e0103a27947f452662fd6a8c10b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd622b66d0cba4a5a6ac50ea84baa6fb4396665c59ce4813ce89aea9013dd85e [INFO] running `Command { std: "docker" "start" "-a" "bd622b66d0cba4a5a6ac50ea84baa6fb4396665c59ce4813ce89aea9013dd85e", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/lib.rs:25:21 [INFO] [stderr] | [INFO] [stderr] 25 | let config: Config = Config {path: "src/config/config.env".to_string() }; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `midlware` (lib) generated 1 warning [INFO] [stderr] warning: `midlware` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.14.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/midlware-cb6a5568edbba61b) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::form_request_fail_invalid_token ... ok [INFO] [stdout] test tests::form_request_work ... ok [INFO] [stdout] test tests::from_request_fail_return_invalid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests midlware [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] running `Command { std: "docker" "inspect" "bd622b66d0cba4a5a6ac50ea84baa6fb4396665c59ce4813ce89aea9013dd85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd622b66d0cba4a5a6ac50ea84baa6fb4396665c59ce4813ce89aea9013dd85e", kill_on_drop: false }` [INFO] [stdout] bd622b66d0cba4a5a6ac50ea84baa6fb4396665c59ce4813ce89aea9013dd85e