[INFO] fetching crate xxhash 0.0.8... [INFO] checking xxhash-0.0.8 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate xxhash 0.0.8 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate xxhash 0.0.8 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 xxhash 0.0.8 [INFO] finished tweaking crates.io crate xxhash 0.0.8 [INFO] tweaked toml for crates.io crate xxhash 0.0.8 written to /workspace/builds/worker-2-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] 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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c71bcfd93e1d92c6d1ce462ffef1aafd36019f39e9e889cce777340c4afad95f [INFO] running `Command { std: "docker" "start" "-a" "c71bcfd93e1d92c6d1ce462ffef1aafd36019f39e9e889cce777340c4afad95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c71bcfd93e1d92c6d1ce462ffef1aafd36019f39e9e889cce777340c4afad95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c71bcfd93e1d92c6d1ce462ffef1aafd36019f39e9e889cce777340c4afad95f", kill_on_drop: false }` [INFO] [stdout] c71bcfd93e1d92c6d1ce462ffef1aafd36019f39e9e889cce777340c4afad95f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] bb7f27862b5cbb3d20b34bb78f4f09268e8c62c7002649d77baab4de1a5b2864 [INFO] running `Command { std: "docker" "start" "-a" "bb7f27862b5cbb3d20b34bb78f4f09268e8c62c7002649d77baab4de1a5b2864", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking xxhash v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/lib.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | let test = |&: size: usize, seed: u64, expected: u64| { [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/lib.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | let test = |&: size: usize, seed: u64, expected: u64| { [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/lib.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | bench_base(b, |&: v| oneshot(v, 0)) [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/lib.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | bench_base(b, |&: v| oneshot(v, 0)) [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/xxh32.rs:215:18 [INFO] [stdout] | [INFO] [stdout] 215 | let test = |&: size: usize, seed: u32, expected: u32| { [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/xxh32.rs:215:18 [INFO] [stdout] | [INFO] [stdout] 215 | let test = |&: size: usize, seed: u32, expected: u32| { [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/xxh32.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | bench.iter( |&:| f(v.as_slice()) ); [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] help: maybe write a path separator here [INFO] [stdout] | [INFO] [stdout] 240 | bench.iter( |&::| f(v.as_slice()) ); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/xxh32.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | test_base(|&: v, seed|{ [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/xxh32.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | bench.iter( |&:| f(v.as_slice()) ); [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] | [INFO] [stdout] = note: type ascription syntax has been removed, see issue #101728 [INFO] [stdout] help: maybe write a path separator here [INFO] [stdout] | [INFO] [stdout] 240 | bench.iter( |&::| f(v.as_slice()) ); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/xxh32.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | test_base(|&: v, seed|{ [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Int` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::num::Int; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::raw` [INFO] [stdout] --> src/lib.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | use std::raw::{Repr}; [INFO] [stdout] | ^^^ could not find `raw` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ptr::copy_memory` [INFO] [stdout] --> src/lib.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | use std::ptr::{copy_memory}; [INFO] [stdout] | ^^^^^^^^^^^ no `copy_memory` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::hash::Writer` [INFO] [stdout] --> src/lib.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | use std::hash::{Hash, Hasher, Writer}; [INFO] [stdout] | ^^^^^^ no `Writer` in `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Int` [INFO] [stdout] --> src/xxh32.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::num::Int; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 2 | use Int; [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::raw` [INFO] [stdout] --> src/xxh32.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::raw::{Repr}; [INFO] [stdout] | ^^^ could not find `raw` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ptr::copy_memory` [INFO] [stdout] --> src/xxh32.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ptr::{copy_memory}; [INFO] [stdout] | ^^^^^^^^^^^ no `copy_memory` in `ptr` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] copy_memory [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::hash::Writer` [INFO] [stdout] --> src/xxh32.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::{Hash, Hasher, Writer}; [INFO] [stdout] | ^^^^^^ no `Writer` in `hash` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] Writer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Int` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use std::num::Int; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::raw` [INFO] [stdout] --> src/lib.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | use std::raw::{Repr}; [INFO] [stdout] | ^^^ could not find `raw` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ptr::copy_memory` [INFO] [stdout] --> src/lib.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | use std::ptr::{copy_memory}; [INFO] [stdout] | ^^^^^^^^^^^ no `copy_memory` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::hash::Writer` [INFO] [stdout] --> src/lib.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | use std::hash::{Hash, Hasher, Writer}; [INFO] [stdout] | ^^^^^^ no `Writer` in `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Int` [INFO] [stdout] --> src/xxh32.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::num::Int; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 2 | use Int; [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::raw` [INFO] [stdout] --> src/xxh32.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::raw::{Repr}; [INFO] [stdout] | ^^^ could not find `raw` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ptr::copy_memory` [INFO] [stdout] --> src/xxh32.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ptr::{copy_memory}; [INFO] [stdout] | ^^^^^^^^^^^ no `copy_memory` in `ptr` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] copy_memory [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::hash::Writer` [INFO] [stdout] --> src/xxh32.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::{Hash, Hasher, Writer}; [INFO] [stdout] | ^^^^^^ no `Writer` in `hash` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] Writer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Output` is not a member of trait `Hasher` [INFO] [stdout] --> src/xxh32.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | type Output = u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not a member of trait `Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `reset` is not a member of trait `Hasher` [INFO] [stdout] --> src/xxh32.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / fn reset(&mut self) { #![inline] [INFO] [stdout] 134 | | self.v1 = self.seed + PRIME1 + PRIME2; [INFO] [stdout] 135 | | self.v2 = self.seed + PRIME2; [INFO] [stdout] 136 | | self.v3 = self.seed; [INFO] [stdout] ... | [INFO] [stdout] 139 | | self.memsize = 0; [INFO] [stdout] 140 | | } [INFO] [stdout] | |_____^ not a member of trait `Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Output` is not a member of trait `Hasher` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | type Output = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not a member of trait `Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `reset` is not a member of trait `Hasher` [INFO] [stdout] --> src/lib.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / fn reset(&mut self) { #![inline] [INFO] [stdout] 185 | | self.v1 = self.seed + PRIME1 + PRIME2; [INFO] [stdout] 186 | | self.v2 = self.seed + PRIME2; [INFO] [stdout] 187 | | self.v3 = self.seed; [INFO] [stdout] ... | [INFO] [stdout] 190 | | self.memsize = 0; [INFO] [stdout] 191 | | } [INFO] [stdout] | |_____^ not a member of trait `Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/xxh32.rs:63:59 [INFO] [stdout] | [INFO] [stdout] 63 | let dst: *mut u8 = mem.offset(self.memsize as int); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/xxh32.rs:72:59 [INFO] [stdout] | [INFO] [stdout] 72 | let dst: *mut u8 = mem.offset(self.memsize as int); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/xxh32.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | data = data.offset(bump as int); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:103:59 [INFO] [stdout] | [INFO] [stdout] 103 | let dst: *mut u8 = mem.offset(self.memsize as int); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:112:59 [INFO] [stdout] | [INFO] [stdout] 112 | let dst: *mut u8 = mem.offset(self.memsize as int); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | data = data.offset(bump as int); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Output` is not a member of trait `Hasher` [INFO] [stdout] --> src/xxh32.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | type Output = u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not a member of trait `Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `reset` is not a member of trait `Hasher` [INFO] [stdout] --> src/xxh32.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / fn reset(&mut self) { #![inline] [INFO] [stdout] 134 | | self.v1 = self.seed + PRIME1 + PRIME2; [INFO] [stdout] 135 | | self.v2 = self.seed + PRIME2; [INFO] [stdout] 136 | | self.v3 = self.seed; [INFO] [stdout] ... | [INFO] [stdout] 139 | | self.memsize = 0; [INFO] [stdout] 140 | | } [INFO] [stdout] | |_____^ not a member of trait `Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 336 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:423:3 [INFO] [stdout] | [INFO] [stdout] 423 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:432:3 [INFO] [stdout] | [INFO] [stdout] 432 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:441:3 [INFO] [stdout] | [INFO] [stdout] 441 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:450:3 [INFO] [stdout] | [INFO] [stdout] 450 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:464:3 [INFO] [stdout] | [INFO] [stdout] 464 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[macro_use] extern crate core; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/xxh32.rs:264:3 [INFO] [stdout] | [INFO] [stdout] 264 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/xxh32.rs:351:3 [INFO] [stdout] | [INFO] [stdout] 351 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/xxh32.rs:360:3 [INFO] [stdout] | [INFO] [stdout] 360 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/xxh32.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/xxh32.rs:378:3 [INFO] [stdout] | [INFO] [stdout] 378 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/xxh32.rs:392:3 [INFO] [stdout] | [INFO] [stdout] 392 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/xxh32.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ((x << b) | (x >> (32 - b))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - ((x << b) | (x >> (32 - b))) [INFO] [stdout] 11 + (x << b) | (x >> (32 - b)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | use std::mem::{uninitialized, transmute}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | let mut state: XXHasher = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/xxh32.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::{uninitialized,transmute}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/xxh32.rs:42:44 [INFO] [stdout] | [INFO] [stdout] 42 | let mut state: XXHasher = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `int_uint` [INFO] [stdout] --> src/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | #![feature(int_uint)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write` [INFO] [stdout] --> src/lib.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 180 | impl Hasher for XXHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `write` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write(&mut self, _: &[u8]) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Output` is not a member of trait `Hasher` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | type Output = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not a member of trait `Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn hash>(value: &T) -> u64 [INFO] [stdout] | ^^^^---------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:268:26 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn hash_with_seed>(seed: u64, value: &T) -> u64 { #![inline] [INFO] [stdout] | ^^^^---------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `reset` is not a member of trait `Hasher` [INFO] [stdout] --> src/lib.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / fn reset(&mut self) { #![inline] [INFO] [stdout] 185 | | self.v1 = self.seed + PRIME1 + PRIME2; [INFO] [stdout] 186 | | self.v2 = self.seed + PRIME2; [INFO] [stdout] 187 | | self.v3 = self.seed; [INFO] [stdout] ... | [INFO] [stdout] 190 | | self.memsize = 0; [INFO] [stdout] 191 | | } [INFO] [stdout] | |_____^ not a member of trait `Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `finish` has an incompatible type for trait [INFO] [stdout] --> src/xxh32.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | fn finish(&self) -> u32 { unsafe { [INFO] [stdout] | ^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&xxh32::XXHasher) -> u64` [INFO] [stdout] found signature `fn(&xxh32::XXHasher) -> u32` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 143 | fn finish(&self) -> u64 { unsafe { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write` [INFO] [stdout] --> src/xxh32.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | impl Hasher for XXHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `write` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write(&mut self, _: &[u8]) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/xxh32.rs:188:16 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn hash>(value: &T) -> u64 { #![inline] [INFO] [stdout] | ^^^^---------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/xxh32.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn hash_with_seed>(seed: u64, value: &T) -> u64 { #![inline] [INFO] [stdout] | ^^^^---------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0107, E0407, E0412, E0432, E0437, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/xxh32.rs:63:59 [INFO] [stdout] | [INFO] [stdout] 63 | let dst: *mut u8 = mem.offset(self.memsize as int); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/xxh32.rs:72:59 [INFO] [stdout] | [INFO] [stdout] 72 | let dst: *mut u8 = mem.offset(self.memsize as int); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/xxh32.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | data = data.offset(bump as int); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/xxh32.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | for _ in range(0, BUFSIZE) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use core::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/xxh32.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | for i in range(0, BUFSIZE) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use core::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:103:59 [INFO] [stdout] | [INFO] [stdout] 103 | let dst: *mut u8 = mem.offset(self.memsize as int); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:112:59 [INFO] [stdout] | [INFO] [stdout] 112 | let dst: *mut u8 = mem.offset(self.memsize as int); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | data = data.offset(bump as int); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | for _ in range(0, BUFSIZE) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 33 + use core::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/lib.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | for i in range(0, BUFSIZE) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 33 + use core::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 336 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:423:3 [INFO] [stdout] | [INFO] [stdout] 423 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:432:3 [INFO] [stdout] | [INFO] [stdout] 432 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:441:3 [INFO] [stdout] | [INFO] [stdout] 441 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:450:3 [INFO] [stdout] | [INFO] [stdout] 450 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/lib.rs:464:3 [INFO] [stdout] | [INFO] [stdout] 464 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/xxh32.rs:264:3 [INFO] [stdout] | [INFO] [stdout] 264 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/xxh32.rs:351:3 [INFO] [stdout] | [INFO] [stdout] 351 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/xxh32.rs:360:3 [INFO] [stdout] | [INFO] [stdout] 360 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/xxh32.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/xxh32.rs:378:3 [INFO] [stdout] | [INFO] [stdout] 378 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/xxh32.rs:392:3 [INFO] [stdout] | [INFO] [stdout] 392 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/xxh32.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ((x << b) | (x >> (32 - b))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - ((x << b) | (x >> (32 - b))) [INFO] [stdout] 11 + (x << b) | (x >> (32 - b)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xxhash` (lib) due to 56 previous errors; 7 warnings emitted [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | use std::mem::{uninitialized, transmute}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(test)] use test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:302:30 [INFO] [stdout] | [INFO] [stdout] 302 | fn bench_base(bench: &mut Bencher, f: F ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:337:30 [INFO] [stdout] | [INFO] [stdout] 337 | fn bench_64k_oneshot(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:424:36 [INFO] [stdout] | [INFO] [stdout] 424 | fn bench_str_under_8_bytes(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:433:33 [INFO] [stdout] | [INFO] [stdout] 433 | fn bench_str_of_8_bytes(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:442:35 [INFO] [stdout] | [INFO] [stdout] 442 | fn bench_str_over_8_bytes(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:451:27 [INFO] [stdout] | [INFO] [stdout] 451 | fn bench_long_str(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:465:22 [INFO] [stdout] | [INFO] [stdout] 465 | fn bench_u64(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | let mut state: XXHasher = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/xxh32.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::{uninitialized,transmute}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/xxh32.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(test)] use test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/xxh32.rs:230:30 [INFO] [stdout] | [INFO] [stdout] 230 | fn bench_base(bench: &mut Bencher, f: F) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/xxh32.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | fn bench_64k_oneshot(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/xxh32.rs:352:36 [INFO] [stdout] | [INFO] [stdout] 352 | fn bench_str_under_8_bytes(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/xxh32.rs:361:33 [INFO] [stdout] | [INFO] [stdout] 361 | fn bench_str_of_8_bytes(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/xxh32.rs:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | fn bench_str_over_8_bytes(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/xxh32.rs:379:27 [INFO] [stdout] | [INFO] [stdout] 379 | fn bench_long_str(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/xxh32.rs:393:22 [INFO] [stdout] | [INFO] [stdout] 393 | fn bench_u64(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/xxh32.rs:42:44 [INFO] [stdout] | [INFO] [stdout] 42 | let mut state: XXHasher = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `int_uint` [INFO] [stdout] --> src/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | #![feature(int_uint)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write` [INFO] [stdout] --> src/lib.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 180 | impl Hasher for XXHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `write` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write(&mut self, _: &[u8]) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:261:25 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn hash>(value: &T) -> u64 [INFO] [stdout] | ^^^^---------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:268:26 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn hash_with_seed>(seed: u64, value: &T) -> u64 { #![inline] [INFO] [stdout] | ^^^^---------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `finish` has an incompatible type for trait [INFO] [stdout] --> src/xxh32.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | fn finish(&self) -> u32 { unsafe { [INFO] [stdout] | ^^^ expected `u64`, found `u32` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&xxh32::XXHasher) -> u64` [INFO] [stdout] found signature `fn(&xxh32::XXHasher) -> u32` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 143 | fn finish(&self) -> u64 { unsafe { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `write` [INFO] [stdout] --> src/xxh32.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | impl Hasher for XXHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `write` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn write(&mut self, _: &[u8]) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/xxh32.rs:188:16 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn hash>(value: &T) -> u64 { #![inline] [INFO] [stdout] | ^^^^---------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/xxh32.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn hash_with_seed>(seed: u64, value: &T) -> u64 { #![inline] [INFO] [stdout] | ^^^^---------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 64 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0107, E0407, E0412, E0425, E0432, E0437, E0635... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xxhash` (lib test) due to 77 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bb7f27862b5cbb3d20b34bb78f4f09268e8c62c7002649d77baab4de1a5b2864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb7f27862b5cbb3d20b34bb78f4f09268e8c62c7002649d77baab4de1a5b2864", kill_on_drop: false }` [INFO] [stdout] bb7f27862b5cbb3d20b34bb78f4f09268e8c62c7002649d77baab4de1a5b2864