[INFO] fetching crate async-map 0.2.2... [INFO] checking async-map-0.2.2 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate async-map 0.2.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate async-map 0.2.2 on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate async-map 0.2.2 [INFO] finished tweaking crates.io crate async-map 0.2.2 [INFO] tweaked toml for crates.io crate async-map 0.2.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "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" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ecae3e71e7d9cd7167d9ca93651ceabd03ee9c908289d120acbe25d0fcb46d8 [INFO] running `Command { std: "docker" "start" "-a" "4ecae3e71e7d9cd7167d9ca93651ceabd03ee9c908289d120acbe25d0fcb46d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ecae3e71e7d9cd7167d9ca93651ceabd03ee9c908289d120acbe25d0fcb46d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ecae3e71e7d9cd7167d9ca93651ceabd03ee9c908289d120acbe25d0fcb46d8", kill_on_drop: false }` [INFO] [stdout] 4ecae3e71e7d9cd7167d9ca93651ceabd03ee9c908289d120acbe25d0fcb46d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df394222a05ec20c2c874ef5a8443dad45c160c83faa8c82eedc60fed5ed8491 [INFO] running `Command { std: "docker" "start" "-a" "df394222a05ec20c2c874ef5a8443dad45c160c83faa8c82eedc60fed5ed8491", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking plotters-svg v0.3.3 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking plotters v0.3.4 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking async-map v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `do_something` [INFO] [stdout] --> benches/async_map_benchmark.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / async fn do_something + 'static>( [INFO] [stdout] 18 | | size: usize, [INFO] [stdout] 19 | | keys: Arc>>, [INFO] [stdout] 20 | | factory: fn() -> M, [INFO] [stdout] 21 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `do_something::{closure#0}::{closure#0}`... [INFO] [stdout] --> benches/async_map_benchmark.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | handles.push(tokio::task::spawn(async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 31 | | for step in 0..1000 { [INFO] [stdout] 32 | | let step_pair: &(String, String) = &(keys[(step / 100) % 10][(step + thread) % 10]); [INFO] [stdout] 33 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | })); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `do_something::{closure#0}::{closure#0}`... [INFO] [stdout] --> benches/async_map_benchmark.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | handles.push(tokio::task::spawn(async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 31 | | for step in 0..1000 { [INFO] [stdout] 32 | | let step_pair: &(String, String) = &(keys[(step / 100) % 10][(step + thread) % 10]); [INFO] [stdout] 33 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | })); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `do_something::{closure#0}::{closure#0}`... [INFO] [stdout] --> benches/async_map_benchmark.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | handles.push(tokio::task::spawn(async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 31 | | for step in 0..1000 { [INFO] [stdout] 32 | | let step_pair: &(String, String) = &(keys[(step / 100) % 10][(step + thread) % 10]); [INFO] [stdout] 33 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | })); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `do_something::{closure#0}::{closure#0}`... [INFO] [stdout] --> benches/async_map_benchmark.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | handles.push(tokio::task::spawn(async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 31 | | for step in 0..1000 { [INFO] [stdout] 32 | | let step_pair: &(String, String) = &(keys[(step / 100) % 10][(step + thread) % 10]); [INFO] [stdout] 33 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | })); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `do_something::{closure#0}::{closure#0}`... [INFO] [stdout] --> benches/async_map_benchmark.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | handles.push(tokio::task::spawn(async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 31 | | for step in 0..1000 { [INFO] [stdout] 32 | | let step_pair: &(String, String) = &(keys[(step / 100) % 10][(step + thread) % 10]); [INFO] [stdout] 33 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | })); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `do_something::{closure#0}::{closure#0}`... [INFO] [stdout] --> benches/async_map_benchmark.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | handles.push(tokio::task::spawn(async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 31 | | for step in 0..1000 { [INFO] [stdout] 32 | | let step_pair: &(String, String) = &(keys[(step / 100) % 10][(step + thread) % 10]); [INFO] [stdout] 33 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | })); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `do_something::{closure#0}::{closure#0}`... [INFO] [stdout] --> benches/async_map_benchmark.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | handles.push(tokio::task::spawn(async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 31 | | for step in 0..1000 { [INFO] [stdout] 32 | | let step_pair: &(String, String) = &(keys[(step / 100) % 10][(step + thread) % 10]); [INFO] [stdout] 33 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | })); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `do_something::{closure#0}::{closure#0}`... [INFO] [stdout] --> benches/async_map_benchmark.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | handles.push(tokio::task::spawn(async move { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 31 | | for step in 0..1000 { [INFO] [stdout] 32 | | let step_pair: &(String, String) = &(keys[(step / 100) % 10][(step + thread) % 10]); [INFO] [stdout] 33 | | [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | })); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `do_something`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `do_something` [INFO] [stdout] --> benches/async_map_benchmark.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / async fn do_something + 'static>( [INFO] [stdout] 18 | | size: usize, [INFO] [stdout] 19 | | keys: Arc>>, [INFO] [stdout] 20 | | factory: fn() -> M, [INFO] [stdout] 21 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-map` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0477]: the type `&str` does not fulfill the required lifetime [INFO] [stdout] --> src/single_writer_versioned/mod.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: type must satisfy the static lifetime as required by this binding [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.1/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0477`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-map` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "df394222a05ec20c2c874ef5a8443dad45c160c83faa8c82eedc60fed5ed8491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df394222a05ec20c2c874ef5a8443dad45c160c83faa8c82eedc60fed5ed8491", kill_on_drop: false }` [INFO] [stdout] df394222a05ec20c2c874ef5a8443dad45c160c83faa8c82eedc60fed5ed8491