[INFO] cloning repository https://github.com/enkron/single_threaded_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/enkron/single_threaded_web_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenkron%2Fsingle_threaded_web_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenkron%2Fsingle_threaded_web_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27eba6fa62fd6d3cdb01f385e3502a94f82d941d [INFO] checking enkron/single_threaded_web_server/27eba6fa62fd6d3cdb01f385e3502a94f82d941d against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenkron%2Fsingle_threaded_web_server" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enkron/single_threaded_web_server on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/enkron/single_threaded_web_server [INFO] finished tweaking git repo https://github.com/enkron/single_threaded_web_server [INFO] tweaked toml for git repo https://github.com/enkron/single_threaded_web_server written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/enkron/single_threaded_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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cebb3b5fbccef79b5038d131163b2aae0e3b10bc66cc9946177a93c57c90a5b2 [INFO] running `Command { std: "docker" "start" "-a" "cebb3b5fbccef79b5038d131163b2aae0e3b10bc66cc9946177a93c57c90a5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cebb3b5fbccef79b5038d131163b2aae0e3b10bc66cc9946177a93c57c90a5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cebb3b5fbccef79b5038d131163b2aae0e3b10bc66cc9946177a93c57c90a5b2", kill_on_drop: false }` [INFO] [stdout] cebb3b5fbccef79b5038d131163b2aae0e3b10bc66cc9946177a93c57c90a5b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91c1bcc0dbc7f529e17b83042aecac5fe076e0113b9425825800b476424e6183 [INFO] running `Command { std: "docker" "start" "-a" "91c1bcc0dbc7f529e17b83042aecac5fe076e0113b9425825800b476424e6183", kill_on_drop: false }` [INFO] [stderr] Checking single_threaded_web_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `Job` is defined multiple times [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Job; [INFO] [stdout] | ----------- previous definition of the type `Job` here [INFO] [stdout] 10 | [INFO] [stdout] 11 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Job` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Job` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Job` is defined multiple times [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 9 | struct Job; [INFO] [stdout] | ----------- previous definition of the type `Job` here [INFO] [stdout] 10 | [INFO] [stdout] 11 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Job` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Job` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | 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:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/sync/mpsc/mod.rs:611:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | 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:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/sync/mpsc/mod.rs:611:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `single_threaded_web_server` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `single_threaded_web_server` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "91c1bcc0dbc7f529e17b83042aecac5fe076e0113b9425825800b476424e6183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c1bcc0dbc7f529e17b83042aecac5fe076e0113b9425825800b476424e6183", kill_on_drop: false }` [INFO] [stdout] 91c1bcc0dbc7f529e17b83042aecac5fe076e0113b9425825800b476424e6183