[INFO] updating cached repository https://github.com/Murray918/rget [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] 0bbb6389cc2256de242206b5e795dbf2224d65f6 [INFO] testing Murray918/rget against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMurray918%2Frget" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Murray918/rget on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Murray918/rget [INFO] finished tweaking git repo https://github.com/Murray918/rget [INFO] tweaked toml for git repo https://github.com/Murray918/rget written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Murray918/rget already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2020-06-03" "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] 2ac3f7ab53e2cff603901d0b2d33404c8f49f24e92584fbfda6bbe64923f5676 [INFO] running `"docker" "start" "-a" "2ac3f7ab53e2cff603901d0b2d33404c8f49f24e92584fbfda6bbe64923f5676"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.19 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling console v0.9.1 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling indicatif v0.13.0 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.22 [INFO] [stderr] Compiling rget v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `reqwest::header::ContentLength` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use reqwest::header::ContentLength; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ContentLength` in `header` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `parse_url` in this scope [INFO] [stderr] --> src/main.rs:57:15 [INFO] [stderr] | [INFO] [stderr] 57 | let url = parse_url(target)?; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found struct `Client` [INFO] [stderr] --> src/main.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | let client = Client.new().unwrap(); [INFO] [stderr] | ^^^^^^---- [INFO] [stderr] | | [INFO] [stderr] | help: use the path separator to refer to an item: `Client::new` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::copy` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::copy; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:55:63 [INFO] [stderr] | [INFO] [stderr] 55 | fn download(target: &str, quiet_mode: bool) -> Result<(), Box<::std::error::Error>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:55:48 [INFO] [stderr] | [INFO] [stderr] 55 | fn download(target: &str, quiet_mode: bool) -> Result<(), Box<::std::error::Error>> { [INFO] [stderr] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<(), std::boxed::Box<(dyn std::error::Error + 'static)>>` [INFO] [stderr] found unit type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0423, E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rget`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2ac3f7ab53e2cff603901d0b2d33404c8f49f24e92584fbfda6bbe64923f5676"` [INFO] running `"docker" "rm" "-f" "2ac3f7ab53e2cff603901d0b2d33404c8f49f24e92584fbfda6bbe64923f5676"` [INFO] [stdout] 2ac3f7ab53e2cff603901d0b2d33404c8f49f24e92584fbfda6bbe64923f5676