[INFO] cloning repository https://github.com/matyhattam/rust_learning_project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matyhattam/rust_learning_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatyhattam%2Frust_learning_project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatyhattam%2Frust_learning_project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffc4376862d274ac0d44614fa1123425772670c4 [INFO] checking matyhattam/rust_learning_project against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatyhattam%2Frust_learning_project" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matyhattam/rust_learning_project [INFO] finished tweaking git repo https://github.com/matyhattam/rust_learning_project [INFO] tweaked toml for git repo https://github.com/matyhattam/rust_learning_project written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matyhattam/rust_learning_project on toolchain 36b21637e93b038453924d3c66821089e71d8baa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matyhattam/rust_learning_project 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" "+36b21637e93b038453924d3c66821089e71d8baa" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] adb4eedc3778b1cf6aeb39e81b9bc709e053ad4ef77c3b2b2198d302a439108b [INFO] running `Command { std: "docker" "start" "-a" "adb4eedc3778b1cf6aeb39e81b9bc709e053ad4ef77c3b2b2198d302a439108b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adb4eedc3778b1cf6aeb39e81b9bc709e053ad4ef77c3b2b2198d302a439108b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adb4eedc3778b1cf6aeb39e81b9bc709e053ad4ef77c3b2b2198d302a439108b", kill_on_drop: false }` [INFO] [stdout] adb4eedc3778b1cf6aeb39e81b9bc709e053ad4ef77c3b2b2198d302a439108b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18d1ecf42ebcf840c1da413342001de6f1a231b11825836fcd84d762b5439e05 [INFO] running `Command { std: "docker" "start" "-a" "18d1ecf42ebcf840c1da413342001de6f1a231b11825836fcd84d762b5439e05", kill_on_drop: false }` [INFO] [stderr] Checking learning_project_1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0255]: the name `Request` is defined multiple times [INFO] [stdout] --> src/http/request.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::http::Request; [INFO] [stdout] | -------------------- previous import of the type `Request` here [INFO] [stdout] ... [INFO] [stdout] 5 | pub struct Request { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `Request` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Request` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 2 | use crate::http::Request as OtherRequest; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Request` is defined multiple times [INFO] [stdout] --> src/http/request.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::http::Request; [INFO] [stdout] | -------------------- previous import of the type `Request` here [INFO] [stdout] ... [INFO] [stdout] 5 | pub struct Request { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `Request` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Request` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 2 | use crate::http::Request as OtherRequest; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http::Method; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http::Method; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Request` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::http::Request` [INFO] [stdout] --> src/http/request.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Request` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::http::Request` [INFO] [stdout] --> src/http/request.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::http::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/http/request.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Request` [INFO] [stdout] --> src/server.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | ... Ok(Request) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/http/request.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | fn try_from(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Request` [INFO] [stdout] --> src/server.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | ... Ok(Request) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learning_project_1` (bin "learning_project_1") due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `learning_project_1` (bin "learning_project_1" test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "18d1ecf42ebcf840c1da413342001de6f1a231b11825836fcd84d762b5439e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18d1ecf42ebcf840c1da413342001de6f1a231b11825836fcd84d762b5439e05", kill_on_drop: false }` [INFO] [stdout] 18d1ecf42ebcf840c1da413342001de6f1a231b11825836fcd84d762b5439e05