[INFO] fetching crate xxhash 0.0.8... [INFO] checking xxhash-0.0.8 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate xxhash 0.0.8 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate xxhash 0.0.8 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac808c7756f94ed17dd68738c93a356dcb2140535046f4d04fb83a19e8a50a8c [INFO] running `Command { std: "docker" "start" "-a" "ac808c7756f94ed17dd68738c93a356dcb2140535046f4d04fb83a19e8a50a8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac808c7756f94ed17dd68738c93a356dcb2140535046f4d04fb83a19e8a50a8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac808c7756f94ed17dd68738c93a356dcb2140535046f4d04fb83a19e8a50a8c", kill_on_drop: false }` [INFO] [stdout] ac808c7756f94ed17dd68738c93a356dcb2140535046f4d04fb83a19e8a50a8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78c9f3453d0d3e87f6c9c11e74d2b45344608478e0ef3fd0ca0e71010636004e [INFO] running `Command { std: "docker" "start" "-a" "78c9f3453d0d3e87f6c9c11e74d2b45344608478e0ef3fd0ca0e71010636004e", 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::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::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::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::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::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::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/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/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[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[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] 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-11-23; 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: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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; consider upgrading it if it is out of date [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[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-11-23; 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-11-23; 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-11-23; 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: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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; 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-11-23; consider upgrading it if it is out of date [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[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[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] 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[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] [stderr] error: could not compile `xxhash` (lib) due to 31 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 52 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "78c9f3453d0d3e87f6c9c11e74d2b45344608478e0ef3fd0ca0e71010636004e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78c9f3453d0d3e87f6c9c11e74d2b45344608478e0ef3fd0ca0e71010636004e", kill_on_drop: false }` [INFO] [stdout] 78c9f3453d0d3e87f6c9c11e74d2b45344608478e0ef3fd0ca0e71010636004e