[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] checking Anxys/rusty-weather against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnxys%2Frusty-weather" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Anxys/rusty-weather on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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-11/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc05afbab1cbb559e4d0a4af9a222b7759fabb776a7109e28d2b0b08eee50fb7 [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" "fc05afbab1cbb559e4d0a4af9a222b7759fabb776a7109e28d2b0b08eee50fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc05afbab1cbb559e4d0a4af9a222b7759fabb776a7109e28d2b0b08eee50fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc05afbab1cbb559e4d0a4af9a222b7759fabb776a7109e28d2b0b08eee50fb7", kill_on_drop: false }` [INFO] [stdout] fc05afbab1cbb559e4d0a4af9a222b7759fabb776a7109e28d2b0b08eee50fb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c289d6df4b3af4affda3dfda9ef2a4e8a502515e80b5c87fc733d2bb270d3611 [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" "c289d6df4b3af4affda3dfda9ef2a4e8a502515e80b5c87fc733d2bb270d3611", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking os_str_bytes v3.0.0 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking textwrap v0.13.4 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking regex v0.1.80 [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#73cf47a5) [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking hyper v0.14.7 (https://github.com/hyperium/hyper.git#e79d0939) [INFO] [stderr] Checking clap v3.0.0-beta.2 (https://github.com/kbknapp/clap-rs#73cf47a5) [INFO] [stderr] Checking 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[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[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: 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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c289d6df4b3af4affda3dfda9ef2a4e8a502515e80b5c87fc733d2bb270d3611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c289d6df4b3af4affda3dfda9ef2a4e8a502515e80b5c87fc733d2bb270d3611", kill_on_drop: false }` [INFO] [stdout] c289d6df4b3af4affda3dfda9ef2a4e8a502515e80b5c87fc733d2bb270d3611