[INFO] cloning repository https://github.com/DaAitch/rustdis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DaAitch/rustdis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaAitch%2Frustdis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaAitch%2Frustdis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1911014a2a9983afa7305f0c12a543637f554a8d [INFO] checking DaAitch/rustdis against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaAitch%2Frustdis" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DaAitch/rustdis 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 git repo https://github.com/DaAitch/rustdis [INFO] finished tweaking git repo https://github.com/DaAitch/rustdis [INFO] tweaked toml for git repo https://github.com/DaAitch/rustdis written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/DaAitch/rustdis already has a lockfile, it will not be regenerated [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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] cc063590e76829e502575c6a50cfc5be6f77a76c12a2d1135598ef998d43d9c1 [INFO] running `Command { std: "docker" "start" "-a" "cc063590e76829e502575c6a50cfc5be6f77a76c12a2d1135598ef998d43d9c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc063590e76829e502575c6a50cfc5be6f77a76c12a2d1135598ef998d43d9c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc063590e76829e502575c6a50cfc5be6f77a76c12a2d1135598ef998d43d9c1", kill_on_drop: false }` [INFO] [stdout] cc063590e76829e502575c6a50cfc5be6f77a76c12a2d1135598ef998d43d9c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] fda8102d56fb0d363dbdbccc9b92836769b303dbfbc0673b4be0bcd56ed59d9a [INFO] running `Command { std: "docker" "start" "-a" "fda8102d56fb0d363dbdbccc9b92836769b303dbfbc0673b4be0bcd56ed59d9a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking rustdis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/processor.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/processor.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `connection::handle_connection` [INFO] [stdout] --> src/connection.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/connection.rs:60:46: 108:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `connection::handle_connection`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `connection::handle_connection` [INFO] [stdout] --> src/connection.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn handle_connection(socket: TcpStream, shared_state: SharedState) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustdis` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0391]: cycle detected when type-checking `connection::handle_connection` [INFO] [stdout] --> src/connection.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/connection.rs:60:46: 108:10]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires elaborating drops for `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires borrow-checking `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires processing MIR for `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires unsafety-checking `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires building MIR for `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] note: ...which requires type-checking `connection::handle_connection::{closure#0}::{closure#1}`... [INFO] [stdout] --> src/connection.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let upstream_task = spawn(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 61 | | let end_of_socket = loop { [INFO] [stdout] 62 | | select! { [INFO] [stdout] 63 | | Some(event) = io_ctx.receiver.recv() => { [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok((io_ctx, end_of_socket)) [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] = note: ...which again requires type-checking `connection::handle_connection`, completing the cycle [INFO] [stdout] note: cycle used when building MIR for `connection::handle_connection` [INFO] [stdout] --> src/connection.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn handle_connection(socket: TcpStream, shared_state: SharedState) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustdis` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fda8102d56fb0d363dbdbccc9b92836769b303dbfbc0673b4be0bcd56ed59d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda8102d56fb0d363dbdbccc9b92836769b303dbfbc0673b4be0bcd56ed59d9a", kill_on_drop: false }` [INFO] [stdout] fda8102d56fb0d363dbdbccc9b92836769b303dbfbc0673b4be0bcd56ed59d9a