[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af4a215da30506b41992c1945fa3ea102b5bdbcc [INFO] testing Anxys/rusty-weather against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnxys%2Frusty-weather" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Anxys/rusty-weather on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+beta-2020-07-24" "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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 119ddba29c622e3449b82de9b2ae21c1d4f02acc0febfb1d458b6197f3032f51 [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" "119ddba29c622e3449b82de9b2ae21c1d4f02acc0febfb1d458b6197f3032f51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "119ddba29c622e3449b82de9b2ae21c1d4f02acc0febfb1d458b6197f3032f51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "119ddba29c622e3449b82de9b2ae21c1d4f02acc0febfb1d458b6197f3032f51", kill_on_drop: false }` [INFO] [stdout] 119ddba29c622e3449b82de9b2ae21c1d4f02acc0febfb1d458b6197f3032f51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74f04410d2ec146aa6d1dff745c92f6f9767209af63cbc0648c9d87b1d8587bf [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" "74f04410d2ec146aa6d1dff745c92f6f9767209af63cbc0648c9d87b1d8587bf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling os_str_bytes v2.3.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling tracing-core v0.1.13 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 (https://github.com/kbknapp/clap-rs#6492ae23) [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling clap v3.0.0-beta.1 (https://github.com/kbknapp/clap-rs#6492ae23) [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling hyper v0.13.7 (https://github.com/hyperium/hyper.git#3de81c82) [INFO] [stderr] Compiling weather v0.0.1 (/opt/rustwide/workdir) [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 `clap::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 `clap::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 `clap::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 `clap::Arg<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `get_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | let mut res = client.get(&url) [INFO] [stdout] | ^^^^ expected struct `hyper::Uri`, found `&std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `header` found for struct `hyper::client::ResponseFuture` in the current scope [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .header(Connection::close()) [INFO] [stdout] | ^^^^^^ method not found in `hyper::client::ResponseFuture` [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 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [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" "74f04410d2ec146aa6d1dff745c92f6f9767209af63cbc0648c9d87b1d8587bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f04410d2ec146aa6d1dff745c92f6f9767209af63cbc0648c9d87b1d8587bf", kill_on_drop: false }` [INFO] [stdout] 74f04410d2ec146aa6d1dff745c92f6f9767209af63cbc0648c9d87b1d8587bf