[INFO] fetching crate hat_trie 0.2.4... [INFO] checking hat_trie-0.2.4 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate hat_trie 0.2.4 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate hat_trie 0.2.4 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding ahtable v0.1.5 (latest: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ahtable v0.1.5 [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47d5c5fe0417dfa3b6a523caa82023054b203237808730d3a3f1721f4ec9c7f6 [INFO] running `Command { std: "docker" "start" "-a" "47d5c5fe0417dfa3b6a523caa82023054b203237808730d3a3f1721f4ec9c7f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47d5c5fe0417dfa3b6a523caa82023054b203237808730d3a3f1721f4ec9c7f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47d5c5fe0417dfa3b6a523caa82023054b203237808730d3a3f1721f4ec9c7f6", kill_on_drop: false }` [INFO] [stdout] 47d5c5fe0417dfa3b6a523caa82023054b203237808730d3a3f1721f4ec9c7f6 [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be5341dd3ca0bb973d37d3c69b3a5c06ebae9e6fc2c3068da6482f495cbe3524 [INFO] running `Command { std: "docker" "start" "-a" "be5341dd3ca0bb973d37d3c69b3a5c06ebae9e6fc2c3068da6482f495cbe3524", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking ahtable v0.1.5 [INFO] [stderr] Checking hat_trie v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/htrie/mod.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | return child.get(&key[offset..].into()) [INFO] [stdout] | ^^^ --------------------- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `T` declared on the method `get` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Hash` [INFO] [stdout] note: required by a bound in `ahtable::ArrayHash::::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ahtable-0.1.5/src/lib.rs:300:58 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn get(&self, key: &T) -> Option<&V> where T: core::hash::Hash + PartialEq { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `ArrayHash::::get` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 119 | return child.get::(&key[offset..].into()) [INFO] [stdout] | +++++ [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] note: required by an implicit `Sized` bound in `ahtable::ArrayHash::::smart_get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ahtable-0.1.5/src/lib.rs:326:22 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn smart_get(&self, key: Q) -> Option<&V> where Q: core::ops::Deref, K: core::ops::Deref, T: core::hash... [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `ArrayHash::::smart_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: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] note: required by an implicit `Sized` bound in `ahtable::ArrayHash::::smart_get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ahtable-0.1.5/src/lib.rs:326:22 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn smart_get(&self, key: Q) -> Option<&V> where Q: core::ops::Deref, K: core::ops::Deref, T: core::hash... [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `ArrayHash::::smart_get` [INFO] [stdout] [INFO] [stdout] [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] note: required by an implicit `Sized` bound in `ahtable::ArrayHash::::smart_get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ahtable-0.1.5/src/lib.rs:326:22 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn smart_get(&self, key: Q) -> Option<&V> where Q: core::ops::Deref, K: core::ops::Deref, T: core::hash... [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `ArrayHash::::smart_get` [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, E0283. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/htrie/mod.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | return child.get(&key[offset..].into()) [INFO] [stdout] | ^^^ --------------------- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `T` declared on the method `get` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Hash` [INFO] [stdout] note: required by a bound in `ahtable::ArrayHash::::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ahtable-0.1.5/src/lib.rs:300:58 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn get(&self, key: &T) -> Option<&V> where T: core::hash::Hash + PartialEq { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `ArrayHash::::get` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 119 | return child.get::(&key[offset..].into()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hat_trie` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] note: required by an implicit `Sized` bound in `ahtable::ArrayHash::::smart_get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ahtable-0.1.5/src/lib.rs:326:22 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn smart_get(&self, key: Q) -> Option<&V> where Q: core::ops::Deref, K: core::ops::Deref, T: core::hash... [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `ArrayHash::::smart_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: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] note: required by an implicit `Sized` bound in `ahtable::ArrayHash::::smart_get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ahtable-0.1.5/src/lib.rs:326:22 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn smart_get(&self, key: Q) -> Option<&V> where Q: core::ops::Deref, K: core::ops::Deref, T: core::hash... [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `ArrayHash::::smart_get` [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, E0283. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hat_trie` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "be5341dd3ca0bb973d37d3c69b3a5c06ebae9e6fc2c3068da6482f495cbe3524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be5341dd3ca0bb973d37d3c69b3a5c06ebae9e6fc2c3068da6482f495cbe3524", kill_on_drop: false }` [INFO] [stdout] be5341dd3ca0bb973d37d3c69b3a5c06ebae9e6fc2c3068da6482f495cbe3524