[INFO] fetching crate surf-governor 0.2.0... [INFO] testing surf-governor-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate surf-governor 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate surf-governor 0.2.0 [INFO] finished tweaking crates.io crate surf-governor 0.2.0 [INFO] tweaked toml for crates.io crate surf-governor 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate surf-governor 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 271 packages to latest compatible versions [INFO] [stderr] Adding governor v0.6.3 (available: v0.10.1) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding wiremock v0.5.22 (available: v0.6.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8a6f05b95f678579c01924fe8d6dde02cab0c2343e09aca4f06d5480217f2bf [INFO] running `Command { std: "docker" "start" "-a" "b8a6f05b95f678579c01924fe8d6dde02cab0c2343e09aca4f06d5480217f2bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8a6f05b95f678579c01924fe8d6dde02cab0c2343e09aca4f06d5480217f2bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8a6f05b95f678579c01924fe8d6dde02cab0c2343e09aca4f06d5480217f2bf", kill_on_drop: false }` [INFO] [stdout] b8a6f05b95f678579c01924fe8d6dde02cab0c2343e09aca4f06d5480217f2bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8af014f55fb39cf9e26b8f7179d539802b7829e5a8ba392e711c946b61d8c70 [INFO] running `Command { std: "docker" "start" "-a" "d8af014f55fb39cf9e26b8f7179d539802b7829e5a8ba392e711c946b61d8c70", kill_on_drop: false }` [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling raw-cpuid v11.5.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling spinning_top v0.3.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling governor v0.6.3 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling surf-governor v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.65s [INFO] running `Command { std: "docker" "inspect" "d8af014f55fb39cf9e26b8f7179d539802b7829e5a8ba392e711c946b61d8c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8af014f55fb39cf9e26b8f7179d539802b7829e5a8ba392e711c946b61d8c70", kill_on_drop: false }` [INFO] [stdout] d8af014f55fb39cf9e26b8f7179d539802b7829e5a8ba392e711c946b61d8c70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 576572cc8aa4a34017570b29a69b201ac7bb3c9b66581fe8026760d9c2c01233 [INFO] running `Command { std: "docker" "start" "-a" "576572cc8aa4a34017570b29a69b201ac7bb3c9b66581fe8026760d9c2c01233", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling libnghttp2-sys v0.1.11+1.64.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling governor v0.6.3 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling surf-governor v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wiremock v0.5.22 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 32.49s [INFO] running `Command { std: "docker" "inspect" "576572cc8aa4a34017570b29a69b201ac7bb3c9b66581fe8026760d9c2c01233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "576572cc8aa4a34017570b29a69b201ac7bb3c9b66581fe8026760d9c2c01233", kill_on_drop: false }` [INFO] [stdout] 576572cc8aa4a34017570b29a69b201ac7bb3c9b66581fe8026760d9c2c01233 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1d6d4333bbb8cd8db2cf36be6478be9d1535aa323409768b713ca85e6f7fab53 [INFO] running `Command { std: "docker" "start" "-a" "1d6d4333bbb8cd8db2cf36be6478be9d1535aa323409768b713ca85e6f7fab53", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/surf_governor-0812c7285677dffa) [INFO] [stdout] running 1 test [INFO] [stdout] test tests::limits_requests ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests surf_governor [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - GovernorMiddleware::per_second (line 95) - compile ... ok [INFO] [stdout] test src/lib.rs - GovernorMiddleware::per_minute (line 127) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 17) - compile ... ok [INFO] [stdout] test src/lib.rs - GovernorMiddleware::with_period (line 64) - compile ... ok [INFO] [stdout] test src/lib.rs - GovernorMiddleware::per_hour (line 159) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1d6d4333bbb8cd8db2cf36be6478be9d1535aa323409768b713ca85e6f7fab53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d6d4333bbb8cd8db2cf36be6478be9d1535aa323409768b713ca85e6f7fab53", kill_on_drop: false }` [INFO] [stdout] 1d6d4333bbb8cd8db2cf36be6478be9d1535aa323409768b713ca85e6f7fab53