[INFO] fetching crate hat_trie 0.2.4... [INFO] checking hat_trie-0.2.4 against master#39b841dfe36f90a7cd111e7f0c55f32594f6e578 for pr-77035 [INFO] extracting crate hat_trie 0.2.4 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate hat_trie 0.2.4 on toolchain 39b841dfe36f90a7cd111e7f0c55f32594f6e578 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4122013d7c639d426032b75c4ad7a2a4a5002788e02808d8d2527b2e40cf5ff5 [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" "4122013d7c639d426032b75c4ad7a2a4a5002788e02808d8d2527b2e40cf5ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4122013d7c639d426032b75c4ad7a2a4a5002788e02808d8d2527b2e40cf5ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4122013d7c639d426032b75c4ad7a2a4a5002788e02808d8d2527b2e40cf5ff5", kill_on_drop: false }` [INFO] [stdout] 4122013d7c639d426032b75c4ad7a2a4a5002788e02808d8d2527b2e40cf5ff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+39b841dfe36f90a7cd111e7f0c55f32594f6e578" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea0f695e7a9a61a1fb8cc98e55007cedadcf0ce5cc3b9d069d961aaa095d0415 [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" "ea0f695e7a9a61a1fb8cc98e55007cedadcf0ce5cc3b9d069d961aaa095d0415", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [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: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: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" "ea0f695e7a9a61a1fb8cc98e55007cedadcf0ce5cc3b9d069d961aaa095d0415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea0f695e7a9a61a1fb8cc98e55007cedadcf0ce5cc3b9d069d961aaa095d0415", kill_on_drop: false }` [INFO] [stdout] ea0f695e7a9a61a1fb8cc98e55007cedadcf0ce5cc3b9d069d961aaa095d0415