[INFO] cloning repository https://github.com/Anxys/rusty-weather [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Anxys/rusty-weather" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnxys%2Frusty-weather", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnxys%2Frusty-weather'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af4a215da30506b41992c1945fa3ea102b5bdbcc [INFO] testing Anxys/rusty-weather against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnxys%2Frusty-weather" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Anxys/rusty-weather on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Anxys/rusty-weather [INFO] finished tweaking git repo https://github.com/Anxys/rusty-weather [INFO] tweaked toml for git repo https://github.com/Anxys/rusty-weather written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Anxys/rusty-weather already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/kbknapp/clap-rs` [INFO] [stderr] Updating git repository `https://github.com/hyperium/hyper.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/kbknapp/clap-rs` [INFO] [stderr] Updating git repository `https://github.com/hyperium/hyper.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded os_str_bytes v3.0.0 [INFO] [stderr] Downloaded textwrap v0.13.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a7286acaff49c41bcb90e41aab2bb7ced8566da4629150dea2979185e6eec41 [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" "1a7286acaff49c41bcb90e41aab2bb7ced8566da4629150dea2979185e6eec41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a7286acaff49c41bcb90e41aab2bb7ced8566da4629150dea2979185e6eec41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a7286acaff49c41bcb90e41aab2bb7ced8566da4629150dea2979185e6eec41", kill_on_drop: false }` [INFO] [stdout] 1a7286acaff49c41bcb90e41aab2bb7ced8566da4629150dea2979185e6eec41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11d99c98de3be25f703ac8a1bce077511b4a592191e3454f1c6c9da78527ea4f [INFO] running `Command { std: "docker" "start" "-a" "11d99c98de3be25f703ac8a1bce077511b4a592191e3454f1c6c9da78527ea4f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling os_str_bytes v3.0.0 [INFO] [stderr] Compiling textwrap v0.13.4 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 (https://github.com/kbknapp/clap-rs#8e1a2e11) [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling hyper v0.14.7 (https://github.com/hyperium/hyper.git#d1d2f32a) [INFO] [stderr] Compiling clap v3.0.0-beta.2 (https://github.com/kbknapp/clap-rs#8e1a2e11) [INFO] [stderr] Compiling weather v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::Client` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::Client; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Client` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::header::Connection` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hyper::header::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg<'_>` in the current scope [INFO] [stdout] --> src/main.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | .arg(Arg::with_name("METRIC") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Arg<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_name` found for struct `Arg<'_>` in the current scope [INFO] [stdout] --> src/main.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | .arg(Arg::with_name("CODE") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Arg<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `weather` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "11d99c98de3be25f703ac8a1bce077511b4a592191e3454f1c6c9da78527ea4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11d99c98de3be25f703ac8a1bce077511b4a592191e3454f1c6c9da78527ea4f", kill_on_drop: false }` [INFO] [stdout] 11d99c98de3be25f703ac8a1bce077511b4a592191e3454f1c6c9da78527ea4f