[INFO] cloning repository https://github.com/leandronowras/rust-web-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leandronowras/rust-web-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleandronowras%2Frust-web-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleandronowras%2Frust-web-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59070634e37bc9b8b1786ef896999b5202de9d9e [INFO] checking leandronowras/rust-web-server against try#3c75d5844aa65b4aa19243ac44ceda49fe4e61ca for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleandronowras%2Frust-web-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leandronowras/rust-web-server [INFO] finished tweaking git repo https://github.com/leandronowras/rust-web-server [INFO] tweaked toml for git repo https://github.com/leandronowras/rust-web-server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leandronowras/rust-web-server on toolchain 3c75d5844aa65b4aa19243ac44ceda49fe4e61ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/leandronowras/rust-web-server 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" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a9ceea5f492024642aaa7b12143d301280dae6f933fa45d78e8f0858b3904f4 [INFO] running `Command { std: "docker" "start" "-a" "1a9ceea5f492024642aaa7b12143d301280dae6f933fa45d78e8f0858b3904f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a9ceea5f492024642aaa7b12143d301280dae6f933fa45d78e8f0858b3904f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a9ceea5f492024642aaa7b12143d301280dae6f933fa45d78e8f0858b3904f4", kill_on_drop: false }` [INFO] [stdout] 1a9ceea5f492024642aaa7b12143d301280dae6f933fa45d78e8f0858b3904f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efc76c5b3b9614c47ce9d812d5f29d022e61c2ec486a89b7ee4b29c9e7fc1659 [INFO] running `Command { std: "docker" "start" "-a" "efc76c5b3b9614c47ce9d812d5f29d022e61c2ec486a89b7ee4b29c9e7fc1659", kill_on_drop: false }` [INFO] [stderr] Checking rust-web-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | self.sender.send(job).unwrap(); [INFO] [stdout] | ---- ^^^ expected `Job`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Job` [INFO] [stdout] found struct `Box` [INFO] [stdout] help: the return type of this call is `Box` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | self.sender.send(job).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `send` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/3c75d5844aa65b4aa19243ac44ceda49fe4e61ca/library/std/src/sync/mpsc.rs:607:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | self.sender.send(job).unwrap(); [INFO] [stdout] | ---- ^^^ expected `Job`, found `Box` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Job` [INFO] [stdout] found struct `Box` [INFO] [stdout] help: the return type of this call is `Box` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | self.sender.send(job).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `send` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/3c75d5844aa65b4aa19243ac44ceda49fe4e61ca/library/std/src/sync/mpsc.rs:607:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Job` [INFO] [stdout] --> src/lib.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 45 | let job = receiver [INFO] [stdout] | --- `job` has type `Job` [INFO] [stdout] ... [INFO] [stdout] 53 | job(); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `Job` [INFO] [stdout] --> src/lib.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 45 | let job = receiver [INFO] [stdout] | --- `job` has type `Job` [INFO] [stdout] ... [INFO] [stdout] 53 | job(); [INFO] [stdout] | ^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0618. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0618. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-web-server` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-web-server` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "efc76c5b3b9614c47ce9d812d5f29d022e61c2ec486a89b7ee4b29c9e7fc1659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efc76c5b3b9614c47ce9d812d5f29d022e61c2ec486a89b7ee4b29c9e7fc1659", kill_on_drop: false }` [INFO] [stdout] efc76c5b3b9614c47ce9d812d5f29d022e61c2ec486a89b7ee4b29c9e7fc1659