[INFO] cloning repository https://github.com/JLL32/rust-http
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JLL32/rust-http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJLL32%2Frust-http", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJLL32%2Frust-http'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 041cb1b6966ec4a3d4039b47b01b40ff2a36f52c
[INFO] building JLL32/rust-http against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJLL32%2Frust-http" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JLL32/rust-http on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JLL32/rust-http
[INFO] finished tweaking git repo https://github.com/JLL32/rust-http
[INFO] tweaked toml for git repo https://github.com/JLL32/rust-http written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/JLL32/rust-http 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a8d94da3de577ad683165922a36ff9917c45c9a83071663ef6d318db92ed63d5
[INFO] running `Command { std: "docker" "start" "-a" "a8d94da3de577ad683165922a36ff9917c45c9a83071663ef6d318db92ed63d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8d94da3de577ad683165922a36ff9917c45c9a83071663ef6d318db92ed63d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8d94da3de577ad683165922a36ff9917c45c9a83071663ef6d318db92ed63d5", kill_on_drop: false }`
[INFO] [stdout] a8d94da3de577ad683165922a36ff9917c45c9a83071663ef6d318db92ed63d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b6f0cf5d45740f25d6510d35d9ba6cd4dcc865f1c25e30283839e45e939411e6
[INFO] running `Command { std: "docker" "start" "-a" "b6f0cf5d45740f25d6510d35d9ba6cd4dcc865f1c25e30283839e45e939411e6", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-http v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 40 |         None => return Err("nothing"),
[INFO] [stdout]    |                        --- ^^^^^^^^^ expected `Box<_>`, found `&str`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<_>`
[INFO] [stdout]            found reference `&'static str`
[INFO] [stdout]    = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] help: the type constructed contains `&'static str` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:40:24
[INFO] [stdout]    |
[INFO] [stdout] 40 |         None => return Err("nothing"),
[INFO] [stdout]    |                        ^^^^---------^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this argument influences the type of `Err`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/core/src/result.rs:537:5
[INFO] [stdout] help: store this in the heap by calling `Box::new`
[INFO] [stdout]    |
[INFO] [stdout] 40 |         None => return Err(Box::new("nothing")),
[INFO] [stdout]    |                            +++++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 |             Err(e) => return Err(e),
[INFO] [stdout]    |                              --- ^ expected `Box<_>`, found `Error`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<_>`
[INFO] [stdout]               found struct `std::io::Error`
[INFO] [stdout]    = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] help: the type constructed contains `std::io::Error` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:26:30
[INFO] [stdout]    |
[INFO] [stdout] 26 |             Err(e) => return Err(e),
[INFO] [stdout]    |                              ^^^^-^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  this argument influences the type of `Err`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/core/src/result.rs:537:5
[INFO] [stdout] help: store this in the heap by calling `Box::new`
[INFO] [stdout]    |
[INFO] [stdout] 26 |             Err(e) => return Err(Box::new(e)),
[INFO] [stdout]    |                                  +++++++++ +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | fn add<T>(a: T, b: T) -> T
[INFO] [stdout]    |        -                 - expected `T` because of return type
[INFO] [stdout]    |        |
[INFO] [stdout]    |        expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 98 |     a + b
[INFO] [stdout]    |     ^^^^^ expected type parameter `T`, found associated type
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type parameter `T`
[INFO] [stdout]              found associated type `<T as Add>::Output`
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]    |
[INFO] [stdout] 96 |     T: std::ops::Add<Output = T>,
[INFO] [stdout]    |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-http` (bin "rust-http") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "b6f0cf5d45740f25d6510d35d9ba6cd4dcc865f1c25e30283839e45e939411e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6f0cf5d45740f25d6510d35d9ba6cd4dcc865f1c25e30283839e45e939411e6", kill_on_drop: false }`
[INFO] [stdout] b6f0cf5d45740f25d6510d35d9ba6cd4dcc865f1c25e30283839e45e939411e6
