[INFO] fetching crate discord-indexmap 1.4.0... [INFO] checking discord-indexmap-1.4.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate discord-indexmap 1.4.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate discord-indexmap 1.4.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate discord-indexmap 1.4.0 [INFO] finished tweaking crates.io crate discord-indexmap 1.4.0 [INFO] tweaked toml for crates.io crate discord-indexmap 1.4.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] [stderr] Adding autocfg v0.1.8 (available: v1.3.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding itertools v0.8.2 (available: v0.13.0) [INFO] [stderr] Adding quickcheck v0.8.5 (available: v1.0.3) [INFO] [stderr] Adding rand v0.6.5 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (available: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (available: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (available: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (available: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (available: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (available: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4b5db7ae36eee5022ba17fd46ce4c66512c45bcdd7107797b2613205c906d01 [INFO] running `Command { std: "docker" "start" "-a" "d4b5db7ae36eee5022ba17fd46ce4c66512c45bcdd7107797b2613205c906d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4b5db7ae36eee5022ba17fd46ce4c66512c45bcdd7107797b2613205c906d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b5db7ae36eee5022ba17fd46ce4c66512c45bcdd7107797b2613205c906d01", kill_on_drop: false }` [INFO] [stdout] d4b5db7ae36eee5022ba17fd46ce4c66512c45bcdd7107797b2613205c906d01 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae5662dab48b51bf5ff5ceb5c42e4bcb45e0580fc397c0a815168c663dccebf5 [INFO] running `Command { std: "docker" "start" "-a" "ae5662dab48b51bf5ff5ceb5c42e4bcb45e0580fc397c0a815168c663dccebf5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling discord-indexmap v1.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `has_std` [INFO] [stdout] --> src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(not(has_std), no_std)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/lib.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/lib.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/lib.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/macros.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/macros.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/map.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/map.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/map.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/map.rs:296:7 [INFO] [stdout] | [INFO] [stdout] 296 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/map.rs:302:11 [INFO] [stdout] | [INFO] [stdout] 302 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/map.rs:423:7 [INFO] [stdout] | [INFO] [stdout] 423 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/set.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/set.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/set.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/set.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/set.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: trait `Entries` is never used [INFO] [stdout] --> src/lib.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | trait Entries { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quickcheck v0.8.5 [INFO] [stdout] error[E0463]: can't find crate for `indexmap` [INFO] [stdout] --> benches/faststring.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate indexmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `indexmap` [INFO] [stdout] --> benches/bench.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate indexmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> benches/bench.rs:360:33 [INFO] [stdout] | [INFO] [stdout] 360 | static ref KEYS: Vec = { shuffled_keys(0..LOOKUP_MAP_SIZE) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 360 - static ref KEYS: Vec = { shuffled_keys(0..LOOKUP_MAP_SIZE) }; [INFO] [stdout] 360 + static ref KEYS: Vec = shuffled_keys(0..LOOKUP_MAP_SIZE); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-indexmap` (bench "faststring") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition name: `has_std` [INFO] [stdout] --> src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(not(has_std), no_std)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/lib.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/lib.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/lib.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/macros.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/macros.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/map.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/map.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/map.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/map.rs:296:7 [INFO] [stdout] | [INFO] [stdout] 296 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/map.rs:302:11 [INFO] [stdout] | [INFO] [stdout] 302 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/map.rs:423:7 [INFO] [stdout] | [INFO] [stdout] 423 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/set.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/set.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/set.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/set.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(not(has_std))] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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: `has_std` [INFO] [stdout] --> src/set.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(has_std)] [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(has_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_std)");` 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 value: `cargo-clippy` [INFO] [stdout] --> src/set.rs:1469:20 [INFO] [stdout] | [INFO] [stdout] 1469 | #[cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints, eq_op))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `rayon`, `serde`, `serde-1`, `test_debug`, and `test_low_transition_point` [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] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OMAP_100K` in the current scope [INFO] [stdout] --> benches/bench.rs:560:25 [INFO] [stdout] | [INFO] [stdout] 375 | / lazy_static! { [INFO] [stdout] 376 | | static ref OMAP_100K: IndexMap = { [INFO] [stdout] 377 | | let c = LOOKUP_MAP_SIZE; [INFO] [stdout] 378 | | let mut map = IndexMap::with_capacity(c as usize); [INFO] [stdout] ... | [INFO] [stdout] 384 | | }; [INFO] [stdout] 385 | | } [INFO] [stdout] | |_- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 560 | let map = OMAP_100K.clone(); [INFO] [stdout] | ^^^^^ method not found in `OMAP_100K` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OMAP_100K` in the current scope [INFO] [stdout] --> benches/bench.rs:577:25 [INFO] [stdout] | [INFO] [stdout] 375 | / lazy_static! { [INFO] [stdout] 376 | | static ref OMAP_100K: IndexMap = { [INFO] [stdout] 377 | | let c = LOOKUP_MAP_SIZE; [INFO] [stdout] 378 | | let mut map = IndexMap::with_capacity(c as usize); [INFO] [stdout] ... | [INFO] [stdout] 384 | | }; [INFO] [stdout] 385 | | } [INFO] [stdout] | |_- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 577 | let map = OMAP_100K.clone(); [INFO] [stdout] | ^^^^^ method not found in `OMAP_100K` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `OMAP_100K` in the current scope [INFO] [stdout] --> benches/bench.rs:588:41 [INFO] [stdout] | [INFO] [stdout] 375 | / lazy_static! { [INFO] [stdout] 376 | | static ref OMAP_100K: IndexMap = { [INFO] [stdout] 377 | | let c = LOOKUP_MAP_SIZE; [INFO] [stdout] 378 | | let mut map = IndexMap::with_capacity(c as usize); [INFO] [stdout] ... | [INFO] [stdout] 384 | | }; [INFO] [stdout] 385 | | } [INFO] [stdout] | |_- method `len` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 588 | assert_eq!(map.len(), OMAP_100K.len() - keys.len()); [INFO] [stdout] | ^^^ method not found in `OMAP_100K` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `len`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OMAP_100K` in the current scope [INFO] [stdout] --> benches/bench.rs:615:25 [INFO] [stdout] | [INFO] [stdout] 375 | / lazy_static! { [INFO] [stdout] 376 | | static ref OMAP_100K: IndexMap = { [INFO] [stdout] 377 | | let c = LOOKUP_MAP_SIZE; [INFO] [stdout] 378 | | let mut map = IndexMap::with_capacity(c as usize); [INFO] [stdout] ... | [INFO] [stdout] 384 | | }; [INFO] [stdout] 385 | | } [INFO] [stdout] | |_- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 615 | let map = OMAP_100K.clone(); [INFO] [stdout] | ^^^^^ method not found in `OMAP_100K` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OMAP_100K` in the current scope [INFO] [stdout] --> benches/bench.rs:629:25 [INFO] [stdout] | [INFO] [stdout] 375 | / lazy_static! { [INFO] [stdout] 376 | | static ref OMAP_100K: IndexMap = { [INFO] [stdout] 377 | | let c = LOOKUP_MAP_SIZE; [INFO] [stdout] 378 | | let mut map = IndexMap::with_capacity(c as usize); [INFO] [stdout] ... | [INFO] [stdout] 384 | | }; [INFO] [stdout] 385 | | } [INFO] [stdout] | |_- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 629 | let map = OMAP_100K.clone(); [INFO] [stdout] | ^^^^^ method not found in `OMAP_100K` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OMAP_100K` in the current scope [INFO] [stdout] --> benches/bench.rs:651:25 [INFO] [stdout] | [INFO] [stdout] 375 | / lazy_static! { [INFO] [stdout] 376 | | static ref OMAP_100K: IndexMap = { [INFO] [stdout] 377 | | let c = LOOKUP_MAP_SIZE; [INFO] [stdout] 378 | | let mut map = IndexMap::with_capacity(c as usize); [INFO] [stdout] ... | [INFO] [stdout] 384 | | }; [INFO] [stdout] 385 | | } [INFO] [stdout] | |_- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 651 | let map = OMAP_100K.clone(); [INFO] [stdout] | ^^^^^ method not found in `OMAP_100K` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OMAP_100K` in the current scope [INFO] [stdout] --> benches/bench.rs:673:25 [INFO] [stdout] | [INFO] [stdout] 375 | / lazy_static! { [INFO] [stdout] 376 | | static ref OMAP_100K: IndexMap = { [INFO] [stdout] 377 | | let c = LOOKUP_MAP_SIZE; [INFO] [stdout] 378 | | let mut map = IndexMap::with_capacity(c as usize); [INFO] [stdout] ... | [INFO] [stdout] 384 | | }; [INFO] [stdout] 385 | | } [INFO] [stdout] | |_- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 673 | let map = OMAP_100K.clone(); [INFO] [stdout] | ^^^^^ method not found in `OMAP_100K` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OMAP_SORT_S` in the current scope [INFO] [stdout] --> benches/bench.rs:702:27 [INFO] [stdout] | [INFO] [stdout] 396 | / lazy_static! { [INFO] [stdout] 397 | | static ref OMAP_SORT_S: IndexMap = { [INFO] [stdout] 398 | | let mut map = IndexMap::with_capacity(SORT_MAP_SIZE); [INFO] [stdout] 399 | | for &key in &KEYS[..SORT_MAP_SIZE] { [INFO] [stdout] ... | [INFO] [stdout] 403 | | }; [INFO] [stdout] 404 | | } [INFO] [stdout] | |_- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 702 | let map = OMAP_SORT_S.clone(); [INFO] [stdout] | ^^^^^ method not found in `OMAP_SORT_S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OMAP_SORT_S` in the current scope [INFO] [stdout] --> benches/bench.rs:714:27 [INFO] [stdout] | [INFO] [stdout] 396 | / lazy_static! { [INFO] [stdout] 397 | | static ref OMAP_SORT_S: IndexMap = { [INFO] [stdout] 398 | | let mut map = IndexMap::with_capacity(SORT_MAP_SIZE); [INFO] [stdout] 399 | | for &key in &KEYS[..SORT_MAP_SIZE] { [INFO] [stdout] ... | [INFO] [stdout] 403 | | }; [INFO] [stdout] 404 | | } [INFO] [stdout] | |_- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 714 | let map = OMAP_SORT_S.clone(); [INFO] [stdout] | ^^^^^ method not found in `OMAP_SORT_S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OMAP_SORT_U32` in the current scope [INFO] [stdout] --> benches/bench.rs:726:29 [INFO] [stdout] | [INFO] [stdout] 387 | / lazy_static! { [INFO] [stdout] 388 | | static ref OMAP_SORT_U32: IndexMap = { [INFO] [stdout] 389 | | let mut map = IndexMap::with_capacity(SORT_MAP_SIZE); [INFO] [stdout] 390 | | for &key in &KEYS[..SORT_MAP_SIZE] { [INFO] [stdout] ... | [INFO] [stdout] 394 | | }; [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 726 | let map = OMAP_SORT_U32.clone(); [INFO] [stdout] | ^^^^^ method not found in `OMAP_SORT_U32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OMAP_SORT_U32` in the current scope [INFO] [stdout] --> benches/bench.rs:738:29 [INFO] [stdout] | [INFO] [stdout] 387 | / lazy_static! { [INFO] [stdout] 388 | | static ref OMAP_SORT_U32: IndexMap = { [INFO] [stdout] 389 | | let mut map = IndexMap::with_capacity(SORT_MAP_SIZE); [INFO] [stdout] 390 | | for &key in &KEYS[..SORT_MAP_SIZE] { [INFO] [stdout] ... | [INFO] [stdout] 394 | | }; [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 738 | let map = OMAP_SORT_U32.clone(); [INFO] [stdout] | ^^^^^ method not found in `OMAP_SORT_U32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OMAP_SORT_S` in the current scope [INFO] [stdout] --> benches/bench.rs:751:27 [INFO] [stdout] | [INFO] [stdout] 396 | / lazy_static! { [INFO] [stdout] 397 | | static ref OMAP_SORT_S: IndexMap = { [INFO] [stdout] 398 | | let mut map = IndexMap::with_capacity(SORT_MAP_SIZE); [INFO] [stdout] 399 | | for &key in &KEYS[..SORT_MAP_SIZE] { [INFO] [stdout] ... | [INFO] [stdout] 403 | | }; [INFO] [stdout] 404 | | } [INFO] [stdout] | |_- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 751 | let map = OMAP_SORT_S.clone(); [INFO] [stdout] | ^^^^^ method not found in `OMAP_SORT_S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OMAP_SORT_U32` in the current scope [INFO] [stdout] --> benches/bench.rs:758:29 [INFO] [stdout] | [INFO] [stdout] 387 | / lazy_static! { [INFO] [stdout] 388 | | static ref OMAP_SORT_U32: IndexMap = { [INFO] [stdout] 389 | | let mut map = IndexMap::with_capacity(SORT_MAP_SIZE); [INFO] [stdout] 390 | | for &key in &KEYS[..SORT_MAP_SIZE] { [INFO] [stdout] ... | [INFO] [stdout] 394 | | }; [INFO] [stdout] 395 | | } [INFO] [stdout] | |_- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 758 | let map = OMAP_SORT_U32.clone(); [INFO] [stdout] | ^^^^^ method not found in `OMAP_SORT_U32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-indexmap` (bench "bench") due to 15 previous errors; 1 warning emitted [INFO] [stdout] warning: trait `Entries` is never used [INFO] [stdout] --> src/lib.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | trait Entries { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ae5662dab48b51bf5ff5ceb5c42e4bcb45e0580fc397c0a815168c663dccebf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae5662dab48b51bf5ff5ceb5c42e4bcb45e0580fc397c0a815168c663dccebf5", kill_on_drop: false }` [INFO] [stdout] ae5662dab48b51bf5ff5ceb5c42e4bcb45e0580fc397c0a815168c663dccebf5