[INFO] updating cached repository https://github.com/Anxys/rusty-weather [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] af4a215da30506b41992c1945fa3ea102b5bdbcc [INFO] testing Anxys/rusty-weather against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnxys%2Frusty-weather" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Anxys/rusty-weather on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/Anxys/rusty-weather already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6634ad0ea3eb0740610e4b10e05ed4ae8efea4ad1dad7d7ca9b055ef6a1b5616 [INFO] running `"docker" "start" "-a" "6634ad0ea3eb0740610e4b10e05ed4ae8efea4ad1dad7d7ca9b055ef6a1b5616"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling os_str_bytes v2.3.1 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling pin-project-internal v0.4.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 (https://github.com/kbknapp/clap-rs#f4ace424) [INFO] [stderr] Compiling pin-project v0.4.19 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling clap v3.0.0-beta.1 (https://github.com/kbknapp/clap-rs#f4ace424) [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 (https://github.com/hyperium/hyper.git#d5d09ed7) [INFO] [stderr] Compiling weather v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `hyper::header::Connection` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use hyper::header::Connection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `header` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with_name` found for struct `clap::Arg<'_>` in the current scope [INFO] [stderr] --> src/main.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | .arg(Arg::with_name("METRIC") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `clap::Arg<'_>` [INFO] [stderr] | help: there is an associated function with a similar name: `get_name` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with_name` found for struct `clap::Arg<'_>` in the current scope [INFO] [stderr] --> src/main.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | .arg(Arg::with_name("CODE") [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `clap::Arg<'_>` [INFO] [stderr] | help: there is an associated function with a similar name: `get_name` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:37:30 [INFO] [stderr] | [INFO] [stderr] 37 | let mut res = client.get(&url) [INFO] [stderr] | ^^^^ expected struct `hyper::Uri`, found `&std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `header` found for struct `hyper::client::ResponseFuture` in the current scope [INFO] [stderr] --> src/main.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | .header(Connection::close()) [INFO] [stderr] | ^^^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `weather`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6634ad0ea3eb0740610e4b10e05ed4ae8efea4ad1dad7d7ca9b055ef6a1b5616"` [INFO] running `"docker" "rm" "-f" "6634ad0ea3eb0740610e4b10e05ed4ae8efea4ad1dad7d7ca9b055ef6a1b5616"` [INFO] [stdout] 6634ad0ea3eb0740610e4b10e05ed4ae8efea4ad1dad7d7ca9b055ef6a1b5616