[INFO] cloning repository https://github.com/PeterGrace/herald [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PeterGrace/herald" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterGrace%2Fherald", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterGrace%2Fherald'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 280d1b30797766ee773df374f7adf322bef0e452 [INFO] testing PeterGrace/herald against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterGrace%2Fherald" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PeterGrace/herald on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/source/.cargo/config [INFO] started tweaking git repo https://github.com/PeterGrace/herald [INFO] finished tweaking git repo https://github.com/PeterGrace/herald [INFO] tweaked toml for git repo https://github.com/PeterGrace/herald written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/PeterGrace/herald already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower v0.4.6 [INFO] [stderr] Downloaded async-object-pool v0.1.4 [INFO] [stderr] Downloaded indenter v0.3.3 [INFO] [stderr] Downloaded eyre v0.6.5 [INFO] [stderr] Downloaded signal-hook v0.3.6 [INFO] [stderr] Downloaded basic-cookies v0.1.4 [INFO] [stderr] Downloaded case v0.1.0 [INFO] [stderr] Downloaded jsonpath_lib v0.2.6 [INFO] [stderr] Downloaded jsonschema v0.6.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.5 [INFO] [stderr] Downloaded prometheus-static-metric v0.5.1 [INFO] [stderr] Downloaded kube-runtime v0.51.0 [INFO] [stderr] Downloaded derive-error v0.0.5 [INFO] [stderr] Downloaded schemars v0.8.0 [INFO] [stderr] Downloaded lalrpop v0.19.5 [INFO] [stderr] Downloaded levenshtein v1.0.5 [INFO] [stderr] Downloaded httpmock-macros v0.4.0 [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] [stderr] Downloaded kube-derive v0.51.0 [INFO] [stderr] Downloaded kube v0.51.0 [INFO] [stderr] Downloaded curl-sys v0.4.40+curl-7.75.0 [INFO] [stderr] Downloaded httpmock v0.5.5 [INFO] [stderr] Downloaded isahc v1.1.0 [INFO] [stderr] Downloaded k8s-openapi v0.11.0 [INFO] [stderr] Downloaded schemars_derive v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c921bcbe60565231bebc780a0878285b262361e3a8f3d4eee8b388b1c9594533 [INFO] running `Command { std: "docker" "start" "-a" "c921bcbe60565231bebc780a0878285b262361e3a8f3d4eee8b388b1c9594533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c921bcbe60565231bebc780a0878285b262361e3a8f3d4eee8b388b1c9594533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c921bcbe60565231bebc780a0878285b262361e3a8f3d4eee8b388b1c9594533", kill_on_drop: false }` [INFO] [stdout] c921bcbe60565231bebc780a0878285b262361e3a8f3d4eee8b388b1c9594533 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bf4d5da106312ab5e16c87c9a5fb5d3cafa0ed9e62343f5d3f95e300fa642a5 [INFO] running `Command { std: "docker" "start" "-a" "6bf4d5da106312ab5e16c87c9a5fb5d3cafa0ed9e62343f5d3f95e300fa642a5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling k8s-openapi v0.11.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling array_tool v1.0.3 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling protobuf v2.22.0 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling prometheus v0.11.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling schemars v0.8.0 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling case v0.1.0 [INFO] [stderr] Compiling quick-error v2.0.0 [INFO] [stderr] Compiling auditable v0.1.0 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling tracing-subscriber v0.2.16 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling derive-error v0.0.5 [INFO] [stderr] Compiling ordered-float v2.1.1 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling darling_core v0.12.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.13 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling schemars_derive v0.8.0 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling prometheus-static-metric v0.5.1 [INFO] [stderr] Compiling darling_macro v0.12.2 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling darling v0.12.2 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling color-eyre v0.5.10 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling tokio-util v0.6.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-io-timeout v1.1.1 [INFO] [stderr] Compiling async-compression v0.3.7 [INFO] [stderr] Compiling h2 v0.3.1 [INFO] [stderr] Compiling tower v0.4.6 [INFO] [stderr] Compiling semver v0.10.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling cargo_metadata v0.11.4 [INFO] [stderr] Compiling handlebars v3.5.3 [INFO] [stderr] Compiling jsonpath_lib v0.2.6 [INFO] [stderr] Compiling kube-derive v0.51.0 [INFO] [stderr] Compiling auditable-serde v0.1.0 [INFO] [stderr] Compiling auditable-build v0.1.0 [INFO] [stderr] Compiling herald v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling reqwest v0.11.1 [INFO] [stderr] Compiling jsonschema v0.6.0 [INFO] [stderr] Compiling kube v0.51.0 [INFO] [stderr] Compiling kube-runtime v0.51.0 [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | Err(e) => metrics_port = 9898, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 37s [INFO] running `Command { std: "docker" "inspect" "6bf4d5da106312ab5e16c87c9a5fb5d3cafa0ed9e62343f5d3f95e300fa642a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf4d5da106312ab5e16c87c9a5fb5d3cafa0ed9e62343f5d3f95e300fa642a5", kill_on_drop: false }` [INFO] [stdout] 6bf4d5da106312ab5e16c87c9a5fb5d3cafa0ed9e62343f5d3f95e300fa642a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61503cb2c57d1e9a08c3fe0869e69419d421ec4230f27e06143c0986ce99ab35 [INFO] running `Command { std: "docker" "start" "-a" "61503cb2c57d1e9a08c3fe0869e69419d421ec4230f27e06143c0986ce99ab35", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling signal-hook v0.3.6 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling pico-args v0.4.0 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Compiling isahc v1.1.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling libnghttp2-sys v0.1.6+1.43.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling curl-sys v0.4.40+curl-7.75.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.3.0 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling spinning_top v0.2.2 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling sluice v0.5.4 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling nb-connect v1.0.3 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling httpmock-macros v0.4.0 [INFO] [stderr] Compiling lalrpop-util v0.19.5 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling flume v0.10.2 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling async-process v1.0.2 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling lalrpop v0.19.5 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling assert-json-diff v1.1.0 [INFO] [stderr] Compiling async-object-pool v0.1.4 [INFO] [stderr] Compiling basic-cookies v0.1.4 [INFO] [stderr] Compiling httpmock v0.5.5 [INFO] [stderr] Compiling herald v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `tests::test_send_hook::httpmock::Mock`: Please use newer API (see: https://github.com/alexliesenfeld/httpmock/blob/master/CHANGELOG.md#version-050) [INFO] [stdout] --> src/tests/test_send_hook.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use httpmock::{Mock, MockServer}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tests::test_send_hook::httpmock::Mock`: Please use newer API (see: https://github.com/alexliesenfeld/httpmock/blob/master/CHANGELOG.md#version-050) [INFO] [stdout] --> src/tests/test_send_hook.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let search_mock = Mock::new() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tests::test_send_hook::httpmock::Mock`: Please use newer API (see: https://github.com/alexliesenfeld/httpmock/blob/master/CHANGELOG.md#version-050) [INFO] [stdout] --> src/tests/test_send_hook.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | let search_mock = Mock::new() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tests::test_send_hook::httpmock::MockRef::<'a>::times_called`: Please use 'hits' function instead [INFO] [stdout] --> src/tests/test_send_hook.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(search_mock.times_called(), 1); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tests::test_send_hook::httpmock::MockRef::<'a>::times_called`: Please use 'hits' function instead [INFO] [stdout] --> src/tests/test_send_hook.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(search_mock.times_called(), 1); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | Err(e) => metrics_port = 9898, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "61503cb2c57d1e9a08c3fe0869e69419d421ec4230f27e06143c0986ce99ab35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61503cb2c57d1e9a08c3fe0869e69419d421ec4230f27e06143c0986ce99ab35", kill_on_drop: false }` [INFO] [stdout] 61503cb2c57d1e9a08c3fe0869e69419d421ec4230f27e06143c0986ce99ab35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4d70297479a5b6f8b3ac4fcaaec022460856b41ff981a8ebe5fa7f6a84d625d8 [INFO] running `Command { std: "docker" "start" "-a" "4d70297479a5b6f8b3ac4fcaaec022460856b41ff981a8ebe5fa7f6a84d625d8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated struct `tests::test_send_hook::httpmock::Mock`: Please use newer API (see: https://github.com/alexliesenfeld/httpmock/blob/master/CHANGELOG.md#version-050) [INFO] [stderr] --> src/tests/test_send_hook.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | use httpmock::{Mock, MockServer}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tests::test_send_hook::httpmock::Mock`: Please use newer API (see: https://github.com/alexliesenfeld/httpmock/blob/master/CHANGELOG.md#version-050) [INFO] [stderr] --> src/tests/test_send_hook.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | let search_mock = Mock::new() [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tests::test_send_hook::httpmock::Mock`: Please use newer API (see: https://github.com/alexliesenfeld/httpmock/blob/master/CHANGELOG.md#version-050) [INFO] [stderr] --> src/tests/test_send_hook.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | let search_mock = Mock::new() [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tests::test_send_hook::httpmock::MockRef::<'a>::times_called`: Please use 'hits' function instead [INFO] [stderr] --> src/tests/test_send_hook.rs:28:28 [INFO] [stderr] | [INFO] [stderr] 28 | assert_eq!(search_mock.times_called(), 1); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tests::test_send_hook::httpmock::MockRef::<'a>::times_called`: Please use 'hits' function instead [INFO] [stderr] --> src/tests/test_send_hook.rs:49:28 [INFO] [stderr] | [INFO] [stderr] 49 | assert_eq!(search_mock.times_called(), 1); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | Err(e) => metrics_port = 9898, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `herald` (bin "herald" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/herald-e856b33dbeaa7c54) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_btree::test_single_btree_to_string ... ok [INFO] [stdout] test tests::test_btree::test_multi_btree_to_string ... ok [INFO] [stdout] test tests::test_send_hook::test_send_hook_invalid_method ... ok [INFO] [stdout] test tests::test_send_hook::test_send_get_hook ... ok [INFO] [stdout] test tests::test_send_hook::test_send_hook ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4d70297479a5b6f8b3ac4fcaaec022460856b41ff981a8ebe5fa7f6a84d625d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d70297479a5b6f8b3ac4fcaaec022460856b41ff981a8ebe5fa7f6a84d625d8", kill_on_drop: false }` [INFO] [stdout] 4d70297479a5b6f8b3ac4fcaaec022460856b41ff981a8ebe5fa7f6a84d625d8