[INFO] cloning repository https://github.com/ShabbirHasan1/Rust_Learnings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShabbirHasan1/Rust_Learnings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShabbirHasan1%2FRust_Learnings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShabbirHasan1%2FRust_Learnings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58b96ec65109f5637320d3bc7528299c39c5d054 [INFO] checking ShabbirHasan1/Rust_Learnings against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShabbirHasan1%2FRust_Learnings" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShabbirHasan1/Rust_Learnings on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ShabbirHasan1/Rust_Learnings [INFO] finished tweaking git repo https://github.com/ShabbirHasan1/Rust_Learnings [INFO] tweaked toml for git repo https://github.com/ShabbirHasan1/Rust_Learnings written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/ShabbirHasan1/Rust_Learnings already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3670fc69174b18d9f8c145903f26263f6927e281f5c5c382ecf5863567678e8f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3670fc69174b18d9f8c145903f26263f6927e281f5c5c382ecf5863567678e8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3670fc69174b18d9f8c145903f26263f6927e281f5c5c382ecf5863567678e8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3670fc69174b18d9f8c145903f26263f6927e281f5c5c382ecf5863567678e8f", kill_on_drop: false }` [INFO] [stdout] 3670fc69174b18d9f8c145903f26263f6927e281f5c5c382ecf5863567678e8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74a3e2c395aa4c75b76e614373983cf2663ff33a4e70194ded5607ec2a0089fa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "74a3e2c395aa4c75b76e614373983cf2663ff33a4e70194ded5607ec2a0089fa", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking httpdate v1.0.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking reqwest_ex_1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/main.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 22 | async fn main() -> Result<(), reqwest::Error> { [INFO] [stdout] | --------------------------------------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 45 | fn main() {} [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/main.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 22 | async fn main() -> Result<(), reqwest::Error> { [INFO] [stdout] | --------------------------------------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 45 | fn main() {} [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest::header::AUTHORITY` [INFO] [stdout] --> src/main.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | HeaderMap, HeaderValue, ACCEPT, ACCEPT_LANGUAGE, AUTHORITY, COOKIE, USER_AGENT, [INFO] [stdout] | ^^^^^^^^^ no `AUTHORITY` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest::header::AUTHORITY` [INFO] [stdout] --> src/main.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 15 | HeaderMap, HeaderValue, ACCEPT, ACCEPT_LANGUAGE, AUTHORITY, COOKIE, USER_AGENT, [INFO] [stdout] | ^^^^^^^^^ no `AUTHORITY` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest_ex_1` due to 3 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0428, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0428, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "74a3e2c395aa4c75b76e614373983cf2663ff33a4e70194ded5607ec2a0089fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a3e2c395aa4c75b76e614373983cf2663ff33a4e70194ded5607ec2a0089fa", kill_on_drop: false }` [INFO] [stdout] 74a3e2c395aa4c75b76e614373983cf2663ff33a4e70194ded5607ec2a0089fa