[INFO] cloning repository https://github.com/MagicPotatoBean/HttpServer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MagicPotatoBean/HttpServer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagicPotatoBean%2FHttpServer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagicPotatoBean%2FHttpServer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 518486536acea29cde8a53d45ed544907aa13bf9 [INFO] checking MagicPotatoBean/HttpServer against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagicPotatoBean%2FHttpServer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MagicPotatoBean/HttpServer [INFO] finished tweaking git repo https://github.com/MagicPotatoBean/HttpServer [INFO] tweaked toml for git repo https://github.com/MagicPotatoBean/HttpServer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MagicPotatoBean/HttpServer on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MagicPotatoBean/HttpServer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-lc-sys v0.28.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1cff85dd80c170cb76e5a1a1d57e73fc29a351793c679eddb5a406162f4c722 [INFO] running `Command { std: "docker" "start" "-a" "d1cff85dd80c170cb76e5a1a1d57e73fc29a351793c679eddb5a406162f4c722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1cff85dd80c170cb76e5a1a1d57e73fc29a351793c679eddb5a406162f4c722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1cff85dd80c170cb76e5a1a1d57e73fc29a351793c679eddb5a406162f4c722", kill_on_drop: false }` [INFO] [stdout] d1cff85dd80c170cb76e5a1a1d57e73fc29a351793c679eddb5a406162f4c722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 700d889df3c61f9420a7c984f6b640fc2954aec5a5e75bc7b9c60321d86c8434 [INFO] running `Command { std: "docker" "start" "-a" "700d889df3c61f9420a7c984f6b640fc2954aec5a5e75bc7b9c60321d86c8434", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.0 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling aws-lc-sys v0.28.2 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Checking https_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RwLock` and `cell::RefCell` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | sync::{Arc, Mutex, RwLock}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RwLock` and `cell::RefCell` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | sync::{Arc, Mutex, RwLock}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extract_if` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extract_if)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extract_if` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extract_if)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/threadpool.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | .extract_if(|(_index, thread)| thread.is_finished()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 38 | .extract_if(|(_index, thread): (_, _)| thread.is_finished()) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/threadpool.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | .extract_if(|(_index, thread)| thread.is_finished()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 38 | .extract_if(|(_index, thread): (_, _)| thread.is_finished()) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/threadpool.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | .extract_if(|(_index, thread)| thread.is_finished()) [INFO] [stdout] | ^^^^^^^^^^----------------------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/73ffebff6f34db7eb167bf9edcf2afa19c3073e9/library/alloc/src/vec/mod.rs:3971:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 38 | .extract_if(|(_index, thread)| thread.is_finished(), /* filter */) [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/threadpool.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | .extract_if(|(_index, thread)| thread.is_finished()) [INFO] [stdout] | ^^^^^^^^^^----------------------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/73ffebff6f34db7eb167bf9edcf2afa19c3073e9/library/alloc/src/vec/mod.rs:3971:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 38 | .extract_if(|(_index, thread)| thread.is_finished(), /* filter */) [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `https_server` (bin "https_server") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `https_server` (bin "https_server" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "700d889df3c61f9420a7c984f6b640fc2954aec5a5e75bc7b9c60321d86c8434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "700d889df3c61f9420a7c984f6b640fc2954aec5a5e75bc7b9c60321d86c8434", kill_on_drop: false }` [INFO] [stdout] 700d889df3c61f9420a7c984f6b640fc2954aec5a5e75bc7b9c60321d86c8434