[INFO] cloning repository https://github.com/chansuke/rust-redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chansuke/rust-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchansuke%2Frust-redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchansuke%2Frust-redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7bb88af9729da3f0b318076fbe9012dfe89035e [INFO] checking chansuke/rust-redis against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchansuke%2Frust-redis" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chansuke/rust-redis on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chansuke/rust-redis [INFO] finished tweaking git repo https://github.com/chansuke/rust-redis [INFO] tweaked toml for git repo https://github.com/chansuke/rust-redis written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/chansuke/rust-redis already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-segmentation v1.7.0 [INFO] [stderr] Downloaded mini-redis v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92ae8a991d2f21d4daae0ed6a827f1a7ecb43f223c04a77ede5cad88a2a2bb59 [INFO] running `Command { std: "docker" "start" "-a" "92ae8a991d2f21d4daae0ed6a827f1a7ecb43f223c04a77ede5cad88a2a2bb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92ae8a991d2f21d4daae0ed6a827f1a7ecb43f223c04a77ede5cad88a2a2bb59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92ae8a991d2f21d4daae0ed6a827f1a7ecb43f223c04a77ede5cad88a2a2bb59", kill_on_drop: false }` [INFO] [stdout] 92ae8a991d2f21d4daae0ed6a827f1a7ecb43f223c04a77ede5cad88a2a2bb59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19c1d494a3fdf54a0f03ce20bfe7479a6d9ccb1a983466e5a1e3a982e59ee479 [INFO] running `Command { std: "docker" "start" "-a" "19c1d494a3fdf54a0f03ce20bfe7479a6d9ccb1a983466e5a1e3a982e59ee479", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling unicode-segmentation v1.7.0 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Compiling tokio v0.3.3 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking sharded-slab v0.1.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking atoi v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking mio v0.7.5 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling tokio-macros v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Checking async-stream v0.2.1 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Checking mini-redis v0.3.0 [INFO] [stderr] Checking rust-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/main.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | type Db = Arc>>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/main.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | let db = Arc::new(Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `K` declared on the struct `HashMap` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | process(socket, db).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/main.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | let db = Arc::new(Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `K` declared on the struct `HashMap` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/main.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let (socket, _) = listener.accept().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-redis` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> src/main.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | type Db = Arc>>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use core::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/main.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | let db = Arc::new(Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `K` declared on the struct `HashMap` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | process(socket, db).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/main.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | let db = Arc::new(Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `K` declared on the struct `HashMap` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/main.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let (socket, _) = listener.accept().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "19c1d494a3fdf54a0f03ce20bfe7479a6d9ccb1a983466e5a1e3a982e59ee479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19c1d494a3fdf54a0f03ce20bfe7479a6d9ccb1a983466e5a1e3a982e59ee479", kill_on_drop: false }` [INFO] [stdout] 19c1d494a3fdf54a0f03ce20bfe7479a6d9ccb1a983466e5a1e3a982e59ee479