[INFO] fetching crate Xorfilter 0.2.0... [INFO] testing Xorfilter-0.2.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate Xorfilter 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate Xorfilter 0.2.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate Xorfilter 0.2.0 [INFO] finished tweaking crates.io crate Xorfilter 0.2.0 [INFO] tweaked toml for crates.io crate Xorfilter 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate Xorfilter 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fba5511f115351a02aa3d075091c8ef3de34e7360d2a575e0a66b591e323519a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fba5511f115351a02aa3d075091c8ef3de34e7360d2a575e0a66b591e323519a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fba5511f115351a02aa3d075091c8ef3de34e7360d2a575e0a66b591e323519a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fba5511f115351a02aa3d075091c8ef3de34e7360d2a575e0a66b591e323519a", kill_on_drop: false }` [INFO] [stdout] fba5511f115351a02aa3d075091c8ef3de34e7360d2a575e0a66b591e323519a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e6f72c0e9ff8ad6d83ce420a33bc3f4461c335bf202fb8a04d9e539a524cc33 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0e6f72c0e9ff8ad6d83ce420a33bc3f4461c335bf202fb8a04d9e539a524cc33", kill_on_drop: false }` [INFO] [stderr] Compiling Xorfilter v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | [u8; capacity::()]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | [u8; bl::()]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | pub fingerprints: [T; capacity::()], [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | [T; capacity::()]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | [T; bl::()]: Sized, [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | let mut q0: [Keyindex; bl::() as usize] = [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:43:51 [INFO] [stdout] | [INFO] [stdout] 43 | [Keyindex { hash: 0, index: 0 }; bl::() as usize]; [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | let mut q1: [Keyindex; bl::() as usize] = [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | [Keyindex { hash: 0, index: 0 }; bl::() as usize]; [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | let mut q2: [Keyindex; bl::() as usize] = [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | [Keyindex { hash: 0, index: 0 }; bl::() as usize]; [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | let mut sets0: [Xorset; bl::() as usize] = [Xorset { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | }; bl::() as usize]; [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | let mut sets1: [Xorset; bl::() as usize] = [Xorset { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | }; bl::() as usize]; [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | let mut sets2: [Xorset; bl::() as usize] = [Xorset { [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | }; bl::() as usize]; [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: generic parameters may not be used in const operations [INFO] [stdout] --> src/lib.rs:282:61 [INFO] [stdout] | [INFO] [stdout] 282 | fingerprints: [Default::default(); capacity::<{ N }>()], [INFO] [stdout] | ^ cannot perform const operation using `N` [INFO] [stdout] | [INFO] [stdout] = help: const parameters may only be used as standalone arguments, i.e. `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_fn_floating_point_arithmetic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::hash::SipHasher` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::hash::SipHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib.rs:181:42 [INFO] [stdout] | [INFO] [stdout] 181 | Keyindexvar.index += (2 * bl::() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around const expression [INFO] [stdout] --> src/lib.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn new(keys: [u64; { N }]) -> Self { [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `core::hash::SipHasher`: use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/lib.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use core::hash::SipHasher; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0747]: unresolved item provided when a constant was expected [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | [u8; capacity::()]: Sized, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this generic argument was intended as a const parameter, surround it with braces [INFO] [stdout] | [INFO] [stdout] 15 | [u8; capacity::<{ N }>()]: Sized, [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0747]: unresolved item provided when a constant was expected [INFO] [stdout] --> src/lib.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | [u8; bl::()]: Sized, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this generic argument was intended as a const parameter, surround it with braces [INFO] [stdout] | [INFO] [stdout] 16 | [u8; bl::<{ N }>()]: Sized, [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0747. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Xorfilter` due to 23 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0e6f72c0e9ff8ad6d83ce420a33bc3f4461c335bf202fb8a04d9e539a524cc33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e6f72c0e9ff8ad6d83ce420a33bc3f4461c335bf202fb8a04d9e539a524cc33", kill_on_drop: false }` [INFO] [stdout] 0e6f72c0e9ff8ad6d83ce420a33bc3f4461c335bf202fb8a04d9e539a524cc33