[INFO] fetching crate mini-moka 0.10.3... [INFO] testing mini-moka-0.10.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate mini-moka 0.10.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate mini-moka 0.10.3 [INFO] finished tweaking crates.io crate mini-moka 0.10.3 [INFO] tweaked toml for crates.io crate mini-moka 0.10.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mini-moka 0.10.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 77 packages to latest compatible versions [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] aa90aeb7dbbe58805a2f3a0ea69ed12993ba3c8c5561865d8b6db5ba1496bb44 [INFO] running `Command { std: "docker" "start" "-a" "aa90aeb7dbbe58805a2f3a0ea69ed12993ba3c8c5561865d8b6db5ba1496bb44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa90aeb7dbbe58805a2f3a0ea69ed12993ba3c8c5561865d8b6db5ba1496bb44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa90aeb7dbbe58805a2f3a0ea69ed12993ba3c8c5561865d8b6db5ba1496bb44", kill_on_drop: false }` [INFO] [stdout] aa90aeb7dbbe58805a2f3a0ea69ed12993ba3c8c5561865d8b6db5ba1496bb44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fa0e556bd72a266cf220e21107a99614d48a4d9773c8f0e6ecf50c029a77b222 [INFO] running `Command { std: "docker" "start" "-a" "fa0e556bd72a266cf220e21107a99614d48a4d9773c8f0e6ecf50c029a77b222", kill_on_drop: false }` [INFO] [stderr] Compiling mini-moka v0.10.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stdout] warning: unexpected `cfg` condition name: `skeptic` [INFO] [stdout] --> build.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(skeptic)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(skeptic)'] } [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] warning: unexpected `cfg` condition name: `skeptic` [INFO] [stdout] --> build.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(not(any(skeptic)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(skeptic)'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/common/frequency_sketch.rs:328:7 [INFO] [stdout] | [INFO] [stdout] 328 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [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] warning: unexpected `cfg` condition name: `beta_clippy` [INFO] [stdout] --> src/sync/base_cache.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg_attr(beta_clippy, allow(clippy::arc_with_non_send_sync))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(beta_clippy)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(beta_clippy)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "fa0e556bd72a266cf220e21107a99614d48a4d9773c8f0e6ecf50c029a77b222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa0e556bd72a266cf220e21107a99614d48a4d9773c8f0e6ecf50c029a77b222", kill_on_drop: false }` [INFO] [stdout] fa0e556bd72a266cf220e21107a99614d48a4d9773c8f0e6ecf50c029a77b222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ef1c065e3564839bc044c67ef822a92d3936ae468115d8300db7a4c02bdff427 [INFO] running `Command { std: "docker" "start" "-a" "ef1c065e3564839bc044c67ef822a92d3936ae468115d8300db7a4c02bdff427", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stdout] warning: unexpected `cfg` condition name: `skeptic` [INFO] [stdout] --> build.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(skeptic)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(skeptic)'] } [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] warning: unexpected `cfg` condition name: `skeptic` [INFO] [stdout] --> build.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(not(any(skeptic)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(skeptic)'] } [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stdout] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/common/frequency_sketch.rs:328:7 [INFO] [stdout] | [INFO] [stdout] 328 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [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] warning: unexpected `cfg` condition name: `beta_clippy` [INFO] [stdout] --> src/sync/base_cache.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg_attr(beta_clippy, allow(clippy::arc_with_non_send_sync))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(beta_clippy)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(beta_clippy)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling mini-moka v0.10.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `skeptic` [INFO] [stdout] --> tests/skeptic.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(skeptic)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(skeptic)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(skeptic)");` to the top of the `build.rs` [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] warning: unexpected `cfg` condition name: `kani` [INFO] [stdout] --> src/common/frequency_sketch.rs:328:7 [INFO] [stdout] | [INFO] [stdout] 328 | #[cfg(kani)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [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] warning: unexpected `cfg` condition name: `circleci` [INFO] [stdout] --> src/unsync/cache.rs:1410:22 [INFO] [stdout] | [INFO] [stdout] 1410 | if !cfg!(circleci) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(circleci)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(circleci)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `beta_clippy` [INFO] [stdout] --> src/sync/base_cache.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg_attr(beta_clippy, allow(clippy::arc_with_non_send_sync))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(beta_clippy)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(beta_clippy)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `circleci` [INFO] [stdout] --> src/sync/base_cache.rs:1366:22 [INFO] [stdout] | [INFO] [stdout] 1366 | if !cfg!(circleci) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(circleci)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(circleci)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `trybuild` [INFO] [stdout] --> src/lib.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(all(trybuild, feature = "sync"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(trybuild)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/common/frequency_sketch.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 209 | unsafe { std::mem::transmute::<[u8; 4], u32>(buf) } [INFO] [stdout] | -----------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.18s [INFO] running `Command { std: "docker" "inspect" "ef1c065e3564839bc044c67ef822a92d3936ae468115d8300db7a4c02bdff427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef1c065e3564839bc044c67ef822a92d3936ae468115d8300db7a4c02bdff427", kill_on_drop: false }` [INFO] [stdout] ef1c065e3564839bc044c67ef822a92d3936ae468115d8300db7a4c02bdff427 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0eca7b503bdf91ca03ad6de729ade179d29fec837de794d1ed0ba418461edb9d [INFO] running `Command { std: "docker" "start" "-a" "0eca7b503bdf91ca03ad6de729ade179d29fec837de794d1ed0ba418461edb9d", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `skeptic` [INFO] [stderr] --> build.rs:1:7 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(skeptic)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(skeptic)'] } [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `skeptic` [INFO] [stderr] --> build.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg(not(any(skeptic)))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(skeptic)'] } [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `mini-moka` (build script) generated 2 warnings [INFO] [stderr] warning: unexpected `cfg` condition name: `kani` [INFO] [stderr] --> src/common/frequency_sketch.rs:328:7 [INFO] [stderr] | [INFO] [stderr] 328 | #[cfg(kani)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(kani)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `beta_clippy` [INFO] [stderr] --> src/sync/base_cache.rs:112:24 [INFO] [stderr] | [INFO] [stderr] 112 | #[cfg_attr(beta_clippy, allow(clippy::arc_with_non_send_sync))] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(beta_clippy)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(beta_clippy)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `mini-moka` (lib) generated 2 warnings [INFO] [stderr] warning: unexpected `cfg` condition name: `skeptic` [INFO] [stderr] --> tests/skeptic.rs:1:7 [INFO] [stderr] | [INFO] [stderr] 1 | #[cfg(skeptic)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(skeptic)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(skeptic)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `circleci` [INFO] [stderr] --> src/unsync/cache.rs:1410:22 [INFO] [stderr] | [INFO] [stderr] 1410 | if !cfg!(circleci) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(circleci)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(circleci)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `circleci` [INFO] [stderr] --> src/sync/base_cache.rs:1366:22 [INFO] [stderr] | [INFO] [stderr] 1366 | if !cfg!(circleci) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(circleci)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(circleci)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild` [INFO] [stderr] --> src/lib.rs:73:15 [INFO] [stderr] | [INFO] [stderr] 73 | #[cfg(all(trybuild, feature = "sync"))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(trybuild)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/common/frequency_sketch.rs:209:18 [INFO] [stderr] | [INFO] [stderr] 209 | unsafe { std::mem::transmute::<[u8; 4], u32>(buf) } [INFO] [stderr] | -----------------------------------^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::from_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `mini-moka` (test "skeptic") generated 1 warning [INFO] [stderr] warning: `mini-moka` (lib test) generated 6 warnings (2 duplicates) (run `cargo fix --lib -p mini-moka --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mini_moka-8573ac323a8191e3) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test common::deque::tests::basics ... ok [INFO] [stdout] test common::deque::tests::drop ... ok [INFO] [stdout] test common::deque::tests::iter ... ok [INFO] [stdout] test common::deque::tests::next_node ... ok [INFO] [stdout] test common::deque::tests::peek_and_move_to_back ... ok [INFO] [stdout] test common::frequency_sketch::tests::increment_distinct ... ok [INFO] [stdout] test common::frequency_sketch::tests::increment_max ... ok [INFO] [stdout] test common::frequency_sketch::tests::increment_once ... ok [INFO] [stdout] test common::frequency_sketch::tests::index_of_around_zero ... ok [INFO] [stdout] test common::frequency_sketch::tests::reset ... ok [INFO] [stdout] test sync::builder::tests::build_cache ... ok [INFO] [stdout] test sync::cache::tests::basic_single_thread ... ok [INFO] [stdout] test sync::base_cache::tests::test_skt_capacity_will_not_overflow ... ok [INFO] [stdout] test sync::cache::tests::invalidate_all ... ok [INFO] [stdout] test unsync::builder::tests::build_cache ... ok [INFO] [stdout] test sync::cache::tests::size_aware_eviction ... ok [INFO] [stdout] test sync::cache::tests::time_to_live ... ok [INFO] [stdout] test unsync::cache::tests::invalidate_entries_if ... ok [INFO] [stdout] test sync::cache::tests::basic_multi_threads ... ok [INFO] [stdout] test unsync::cache::tests::size_aware_eviction ... ok [INFO] [stdout] test sync::cache::tests::time_to_idle ... ok [INFO] [stdout] test unsync::cache::tests::invalidate_all ... ok [INFO] [stdout] test sync::cache::tests::test_iter ... ok [INFO] [stdout] test unsync::cache::tests::time_to_live ... ok [INFO] [stdout] test sync::cache::tests::test_debug_format ... ok [INFO] [stdout] test unsync::cache::tests::time_to_idle ... ok [INFO] [stdout] test unsync::cache::tests::basic_single_thread ... ok [INFO] [stdout] test unsync::cache::tests::test_debug_format ... ok [INFO] [stdout] test unsync::cache::tests::test_skt_capacity_will_not_overflow ... ok [INFO] [stdout] test sync::builder::tests::build_cache_too_long_ttl - should panic ... ok [INFO] [stdout] test sync::builder::tests::build_cache_too_long_tti - should panic ... ok [INFO] [stdout] test unsync::builder::tests::build_cache_too_long_tti - should panic ... ok [INFO] [stdout] test unsync::builder::tests::build_cache_too_long_ttl - should panic ... ok [INFO] [stdout] test sync::cache::tests::test_iter_multi_threads ... ok [INFO] [stdout] test common::frequency_sketch::tests::heavy_hitters ... ok [INFO] [stdout] [INFO] [stderr] Running tests/skeptic.rs (/opt/rustwide/target/debug/deps/skeptic-f98cbbf0fb8e634f) [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stderr] Doc-tests mini_moka [INFO] [stdout] [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] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/unsync/cache.rs - unsync::cache::Cache (line 91) ... ok [INFO] [stdout] test src/unsync/cache.rs - unsync::cache::Cache (line 57) ... ok [INFO] [stdout] test src/unsync/cache.rs - unsync::cache::Cache::entry_count (line 240) ... ok [INFO] [stdout] test src/unsync/builder.rs - unsync::builder::CacheBuilder (line 17) ... ok [INFO] [stdout] test src/unsync/cache.rs - unsync::cache::Cache::iter (line 470) ... ok [INFO] [stdout] test src/sync/cache.rs - sync::cache::Cache (line 111) ... ok [INFO] [stdout] test src/sync/cache.rs - sync::cache::Cache (line 163) ... ok [INFO] [stdout] test src/sync/cache.rs - sync::cache::Cache::entry_count (line 323) ... ok [INFO] [stdout] test src/sync/builder.rs - sync::builder::CacheBuilder (line 18) ... ok [INFO] [stdout] test src/sync/cache.rs - sync::cache::Cache (line 41) ... ok [INFO] [stdout] test src/sync/cache.rs - sync::cache::Cache::iter (line 519) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.92s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0eca7b503bdf91ca03ad6de729ade179d29fec837de794d1ed0ba418461edb9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eca7b503bdf91ca03ad6de729ade179d29fec837de794d1ed0ba418461edb9d", kill_on_drop: false }` [INFO] [stdout] 0eca7b503bdf91ca03ad6de729ade179d29fec837de794d1ed0ba418461edb9d