[INFO] fetching crate kcup 0.2.1... [INFO] checking kcup-0.2.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate kcup 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate kcup 0.2.1 [INFO] finished tweaking crates.io crate kcup 0.2.1 [INFO] tweaked toml for crates.io crate kcup 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kcup 0.2.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kcup 0.2.1 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d848fd30fb3586a63c3e288825ac68433ff2cb8bfd8bbca7e1857ce60e8ac06a [INFO] running `Command { std: "docker" "start" "-a" "d848fd30fb3586a63c3e288825ac68433ff2cb8bfd8bbca7e1857ce60e8ac06a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d848fd30fb3586a63c3e288825ac68433ff2cb8bfd8bbca7e1857ce60e8ac06a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d848fd30fb3586a63c3e288825ac68433ff2cb8bfd8bbca7e1857ce60e8ac06a", kill_on_drop: false }` [INFO] [stdout] d848fd30fb3586a63c3e288825ac68433ff2cb8bfd8bbca7e1857ce60e8ac06a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08c1dd981a7f59f5f94c526362e13d5124439aede8a9ab9a2e875105b0ce7193 [INFO] running `Command { std: "docker" "start" "-a" "08c1dd981a7f59f5f94c526362e13d5124439aede8a9ab9a2e875105b0ce7193", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking mio v0.7.10 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking httpdate v1.0.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling async-stream-impl v0.3.1 [INFO] [stderr] Checking async-stream v0.3.1 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking tokio-util v0.6.4 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking kcup v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / /// Host [INFO] [stdout] 33 | | #[structopt(short = "h", long = "host", default_value = "127.0.0.1", env = "HOST")] [INFO] [stdout] 34 | | host: String, [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 85 | | match req.method() { [INFO] [stdout] 86 | | // Serve the content for every GET request [INFO] [stdout] 87 | | &Method::GET => Ok(Response::new(Body::from(content))), [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 85 | | match req.method() { [INFO] [stdout] 86 | | // Serve the content for every GET request [INFO] [stdout] 87 | | &Method::GET => Ok(Response::new(Body::from(content))), [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / match req.method() { [INFO] [stdout] 86 | | // Serve the content for every GET request [INFO] [stdout] 87 | | &Method::GET => Ok(Response::new(Body::from(content))), [INFO] [stdout] ... | [INFO] [stdout] 93 | | .unwrap()), [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | &Method::GET => Ok(Response::new(Body::from(content))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | _ => Ok(Response::builder() [INFO] [stdout] | ______________^ [INFO] [stdout] 91 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 92 | | .body("No such resource".into()) [INFO] [stdout] 93 | | .unwrap()), [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 294 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 295 | | // Create service fn [INFO] [stdout] 296 | | Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] ... | [INFO] [stdout] 302 | | })) [INFO] [stdout] 303 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | / Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] 297 | | // Create a another name-shadowed, cloned reference [INFO] [stdout] 298 | | // since we have moved the original clone past the service_fn boundary [INFO] [stdout] 299 | | let file_contents = file_contents.clone(); [INFO] [stdout] 300 | | [INFO] [stdout] 301 | | serve_static_content(req, file_contents) [INFO] [stdout] 302 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:395:15 [INFO] [stdout] | [INFO] [stdout] 395 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 396 | | // Create service fn [INFO] [stdout] 397 | | Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] ... | [INFO] [stdout] 403 | | })) [INFO] [stdout] 404 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | / Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] 398 | | // Create a another name-shadowed, cloned reference [INFO] [stdout] 399 | | // since we have moved the original clone past the service_fn boundary [INFO] [stdout] 400 | | let file_contents = file_contents.clone(); [INFO] [stdout] 401 | | [INFO] [stdout] 402 | | serve_static_content(req, file_contents) [INFO] [stdout] 403 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / /// Host [INFO] [stdout] 33 | | #[structopt(short = "h", long = "host", default_value = "127.0.0.1", env = "HOST")] [INFO] [stdout] 34 | | host: String, [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 85 | | match req.method() { [INFO] [stdout] 86 | | // Serve the content for every GET request [INFO] [stdout] 87 | | &Method::GET => Ok(Response::new(Body::from(content))), [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 85 | | match req.method() { [INFO] [stdout] 86 | | // Serve the content for every GET request [INFO] [stdout] 87 | | &Method::GET => Ok(Response::new(Body::from(content))), [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / match req.method() { [INFO] [stdout] 86 | | // Serve the content for every GET request [INFO] [stdout] 87 | | &Method::GET => Ok(Response::new(Body::from(content))), [INFO] [stdout] ... | [INFO] [stdout] 93 | | .unwrap()), [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | &Method::GET => Ok(Response::new(Body::from(content))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | _ => Ok(Response::builder() [INFO] [stdout] | ______________^ [INFO] [stdout] 91 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 92 | | .body("No such resource".into()) [INFO] [stdout] 93 | | .unwrap()), [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 294 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 295 | | // Create service fn [INFO] [stdout] 296 | | Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] ... | [INFO] [stdout] 302 | | })) [INFO] [stdout] 303 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | / Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] 297 | | // Create a another name-shadowed, cloned reference [INFO] [stdout] 298 | | // since we have moved the original clone past the service_fn boundary [INFO] [stdout] 299 | | let file_contents = file_contents.clone(); [INFO] [stdout] 300 | | [INFO] [stdout] 301 | | serve_static_content(req, file_contents) [INFO] [stdout] 302 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:395:15 [INFO] [stdout] | [INFO] [stdout] 395 | async { [INFO] [stdout] | _______________^ [INFO] [stdout] 396 | | // Create service fn [INFO] [stdout] 397 | | Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] ... | [INFO] [stdout] 403 | | })) [INFO] [stdout] 404 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | / Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] 398 | | // Create a another name-shadowed, cloned reference [INFO] [stdout] 399 | | // since we have moved the original clone past the service_fn boundary [INFO] [stdout] 400 | | let file_contents = file_contents.clone(); [INFO] [stdout] 401 | | [INFO] [stdout] 402 | | serve_static_content(req, file_contents) [INFO] [stdout] 403 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kcup` (bin "kcup" test) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kcup` (bin "kcup") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "08c1dd981a7f59f5f94c526362e13d5124439aede8a9ab9a2e875105b0ce7193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c1dd981a7f59f5f94c526362e13d5124439aede8a9ab9a2e875105b0ce7193", kill_on_drop: false }` [INFO] [stdout] 08c1dd981a7f59f5f94c526362e13d5124439aede8a9ab9a2e875105b0ce7193