[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 try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShabbirHasan1%2FRust_Learnings" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShabbirHasan1/Rust_Learnings on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-2/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded httpdate v1.0.0 [INFO] [stderr] Downloaded hyper v0.14.7 [INFO] [stderr] Downloaded tokio v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecb1df9de3e8b49cad93f5bafd604bbfac3fa3fa3ebef1a3566f9db273a7fca7 [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" "ecb1df9de3e8b49cad93f5bafd604bbfac3fa3fa3ebef1a3566f9db273a7fca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecb1df9de3e8b49cad93f5bafd604bbfac3fa3fa3ebef1a3566f9db273a7fca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecb1df9de3e8b49cad93f5bafd604bbfac3fa3fa3ebef1a3566f9db273a7fca7", kill_on_drop: false }` [INFO] [stdout] ecb1df9de3e8b49cad93f5bafd604bbfac3fa3fa3ebef1a3566f9db273a7fca7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f641ec806bc595db238635e8fb4ad3446db31afa0c45a3b0349edb6442c13151 [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" "f641ec806bc595db238635e8fb4ad3446db31afa0c45a3b0349edb6442c13151", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking futures-channel v0.3.15 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [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[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: 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: could not compile `reqwest_ex_1` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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" "f641ec806bc595db238635e8fb4ad3446db31afa0c45a3b0349edb6442c13151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f641ec806bc595db238635e8fb4ad3446db31afa0c45a3b0349edb6442c13151", kill_on_drop: false }` [INFO] [stdout] f641ec806bc595db238635e8fb4ad3446db31afa0c45a3b0349edb6442c13151