[INFO] fetching crate hat_trie 0.2.4... [INFO] checking hat_trie-0.2.4 against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] extracting crate hat_trie 0.2.4 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate hat_trie 0.2.4 on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hat_trie 0.2.4 [INFO] finished tweaking crates.io crate hat_trie 0.2.4 [INFO] tweaked toml for crates.io crate hat_trie 0.2.4 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a893384d771f39beef95f0241ebe2fac526f492f8126fb23724a001a194ef6de [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" "a893384d771f39beef95f0241ebe2fac526f492f8126fb23724a001a194ef6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a893384d771f39beef95f0241ebe2fac526f492f8126fb23724a001a194ef6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a893384d771f39beef95f0241ebe2fac526f492f8126fb23724a001a194ef6de", kill_on_drop: false }` [INFO] [stdout] a893384d771f39beef95f0241ebe2fac526f492f8126fb23724a001a194ef6de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56ff42b6efc67cf1efbbe23298d37f29772f5cf4b29fd255c29859e9b4f96cc7 [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" "56ff42b6efc67cf1efbbe23298d37f29772f5cf4b29fd255c29859e9b4f96cc7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking ahtable v0.1.5 [INFO] [stderr] Checking hat_trie v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/htrie/mod.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | return child.get(&key[offset..].into()) [INFO] [stdout] | ^^^ -------------------- this method call resolves to `T` [INFO] [stdout] | | [INFO] [stdout] | cannot infer type for type parameter `T` declared on the associated function `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/htrie/mod.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | return child.get(&key[offset..].into()) [INFO] [stdout] | ^^^ -------------------- this method call resolves to `T` [INFO] [stdout] | | [INFO] [stdout] | cannot infer type for type parameter `T` declared on the associated function `get` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[K]` cannot be known at compilation time [INFO] [stdout] --> src/htrie/mod.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 199 | if let Some(v) = bucket.smart_get(cur_key) { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[K]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[K]` cannot be known at compilation time [INFO] [stdout] --> src/htrie/mod.rs:249:45 [INFO] [stdout] | [INFO] [stdout] 249 | if let Some(v) = bucket.smart_get(cur_key) { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[K]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[K]` cannot be known at compilation time [INFO] [stdout] --> src/htrie/mod.rs:199:41 [INFO] [stdout] | [INFO] [stdout] 199 | if let Some(v) = bucket.smart_get(cur_key) { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[K]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[K]` cannot be known at compilation time [INFO] [stdout] --> src/htrie/mod.rs:249:45 [INFO] [stdout] | [INFO] [stdout] 249 | if let Some(v) = bucket.smart_get(cur_key) { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[K]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hat_trie` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/htrie/dense/tests.rs:365:41 [INFO] [stdout] | [INFO] [stdout] 365 | if let Some(_) = bucket.smart_get(&test_key[1..i]) { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "56ff42b6efc67cf1efbbe23298d37f29772f5cf4b29fd255c29859e9b4f96cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ff42b6efc67cf1efbbe23298d37f29772f5cf4b29fd255c29859e9b4f96cc7", kill_on_drop: false }` [INFO] [stdout] 56ff42b6efc67cf1efbbe23298d37f29772f5cf4b29fd255c29859e9b4f96cc7