[INFO] crate trie-db 0.12.2 is already in cache [INFO] extracting crate trie-db 0.12.2 into work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/reg/trie-db/0.12.2 [INFO] extracting crate trie-db 0.12.2 into work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/reg/trie-db/0.12.2 [INFO] validating manifest of trie-db-0.12.2 on toolchain master#e305df1846a6d985315917ae0c81b74af8b4e641 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of trie-db-0.12.2 on toolchain try#99a7498759a22b5684caf798a98b7e90ad9d2443 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing trie-db-0.12.2 [INFO] finished frobbing trie-db-0.12.2 [INFO] frobbed toml for trie-db-0.12.2 written to work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/reg/trie-db/0.12.2/Cargo.toml [INFO] started frobbing trie-db-0.12.2 [INFO] finished frobbing trie-db-0.12.2 [INFO] frobbed toml for trie-db-0.12.2 written to work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/reg/trie-db/0.12.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking trie-db-0.12.2 against try#99a7498759a22b5684caf798a98b7e90ad9d2443 for pr-60039-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-60039-1/worker-4/try#99a7498759a22b5684caf798a98b7e90ad9d2443:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/reg/trie-db/0.12.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] bb67ab06a416e61f947648821d8db00b9cb8425ae34a325616bd9580b46b4a02 [INFO] running `"docker" "start" "-a" "bb67ab06a416e61f947648821d8db00b9cb8425ae34a325616bd9580b46b4a02"` [INFO] [stderr] Compiling crunchy v0.2.1 [INFO] [stderr] Checking hash-db v0.12.2 [INFO] [stderr] Checking hashmap_core v0.1.10 [INFO] [stderr] Compiling hex-literal-impl v0.1.2 [INFO] [stderr] Checking elastic-array v0.10.2 [INFO] [stderr] Checking env_logger v0.6.1 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking memory-db v0.12.2 [INFO] [stderr] Checking trie-root v0.12.2 [INFO] [stderr] Checking trie-db v0.12.2 (/opt/crater/workdir) [INFO] [stderr] Checking hash256-std-hasher v0.12.2 [INFO] [stderr] Checking hex-literal v0.1.4 [INFO] [stderr] Checking keccak-hasher v0.12.2 [INFO] [stderr] Checking trie-standardmap v0.12.2 [INFO] [stderr] error[E0463]: can't find crate for `reference_trie` [INFO] [stderr] --> src/lib.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | extern crate reference_trie; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] error: Could not compile `trie-db`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0597]: `keys` does not live long enough [INFO] [stderr] --> benches/bench.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | let mixed: Vec<_> = keys.iter().zip(values.iter().rev()).map(|pair| { [INFO] [stderr] | ^^^^ borrowed value does not live long enough [INFO] [stderr] 37 | (NibbleSlice::new(pair.0), NibbleSlice::new(pair.1)) [INFO] [stderr] | ---------------------------------------------------- returning this value requires that `keys` is borrowed for `'static` [INFO] [stderr] ... [INFO] [stderr] 44 | } [INFO] [stderr] | - `keys` dropped here while still borrowed [INFO] [stderr] [INFO] [stderr] error[E0597]: `values` does not live long enough [INFO] [stderr] --> benches/bench.rs:36:38 [INFO] [stderr] | [INFO] [stderr] 36 | let mixed: Vec<_> = keys.iter().zip(values.iter().rev()).map(|pair| { [INFO] [stderr] | ^^^^^^ borrowed value does not live long enough [INFO] [stderr] 37 | (NibbleSlice::new(pair.0), NibbleSlice::new(pair.1)) [INFO] [stderr] | ---------------------------------------------------- returning this value requires that `values` is borrowed for `'static` [INFO] [stderr] ... [INFO] [stderr] 44 | } [INFO] [stderr] | - `values` dropped here while still borrowed [INFO] [stderr] [INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `mixed`, which is owned by the current function [INFO] [stderr] --> benches/bench.rs:39:43 [INFO] [stderr] | [INFO] [stderr] 39 | b.bench_function("nibble_common_prefix", |b| b.iter(&mut ||{ [INFO] [stderr] | ^^^ may outlive borrowed value `mixed` [INFO] [stderr] 40 | for (left, right) in mixed.iter() { [INFO] [stderr] | ----- `mixed` is borrowed here [INFO] [stderr] | [INFO] [stderr] note: function requires argument type to outlive `'static` [INFO] [stderr] --> benches/bench.rs:39:2 [INFO] [stderr] | [INFO] [stderr] 39 | b.bench_function("nibble_common_prefix", |b| b.iter(&mut ||{ [INFO] [stderr] | _____^ [INFO] [stderr] 40 | | for (left, right) in mixed.iter() { [INFO] [stderr] 41 | | let _ = black_box(left.common_prefix(&right)); [INFO] [stderr] 42 | | } [INFO] [stderr] 43 | | })); [INFO] [stderr] | |_______^ [INFO] [stderr] help: to force the closure to take ownership of `mixed` (and any other referenced variables), use the `move` keyword [INFO] [stderr] | [INFO] [stderr] 39 | b.bench_function("nibble_common_prefix", move |b| b.iter(&mut ||{ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0373, E0597. [INFO] [stderr] For more information about an error, try `rustc --explain E0373`. [INFO] [stderr] error: Could not compile `trie-db`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "bb67ab06a416e61f947648821d8db00b9cb8425ae34a325616bd9580b46b4a02"` [INFO] running `"docker" "rm" "-f" "bb67ab06a416e61f947648821d8db00b9cb8425ae34a325616bd9580b46b4a02"` [INFO] [stdout] bb67ab06a416e61f947648821d8db00b9cb8425ae34a325616bd9580b46b4a02