[INFO] cloning repository https://github.com/VitalyAnkh/rget [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VitalyAnkh/rget" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVitalyAnkh%2Frget", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVitalyAnkh%2Frget'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e49a3131352e9afe7a993fce5d0fa3fa73c3874 [INFO] checking VitalyAnkh/rget against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVitalyAnkh%2Frget" "/workspace/builds/worker-100/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-100/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VitalyAnkh/rget on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VitalyAnkh/rget [INFO] finished tweaking git repo https://github.com/VitalyAnkh/rget [INFO] tweaked toml for git repo https://github.com/VitalyAnkh/rget written to /workspace/builds/worker-100/source/Cargo.toml [INFO] crate git repo https://github.com/VitalyAnkh/rget already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ed98490ce5cf873fe07d8a25d84a2df33b61a30ea5be332cd0936d76f73f600 [INFO] running `Command { std: "docker" "start" "-a" "8ed98490ce5cf873fe07d8a25d84a2df33b61a30ea5be332cd0936d76f73f600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ed98490ce5cf873fe07d8a25d84a2df33b61a30ea5be332cd0936d76f73f600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ed98490ce5cf873fe07d8a25d84a2df33b61a30ea5be332cd0936d76f73f600", kill_on_drop: false }` [INFO] [stdout] 8ed98490ce5cf873fe07d8a25d84a2df33b61a30ea5be332cd0936d76f73f600 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbc5c98484e6fa0d5de61e4d3defe2c02cbbe522e496cb0bbba18ad7e6382d4c [INFO] running `Command { std: "docker" "start" "-a" "fbc5c98484e6fa0d5de61e4d3defe2c02cbbe522e496cb0bbba18ad7e6382d4c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] phf_shared v0.7.23 (as host dependency): unicase [INFO] [stderr] [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking ucd-util v0.1.2 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling openssl v0.10.15 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Checking string v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.10 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.39 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.6.1 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Checking libflate v0.1.18 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Checking mime v0.3.12 [INFO] [stderr] Checking tokio-executor v0.1.5 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking phf v0.7.23 [INFO] [stderr] Checking tokio-timer v0.2.7 [INFO] [stderr] Checking tokio-current-thread v0.1.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking serde_json v1.0.32 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking http v0.1.13 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking serde_urlencoded v0.5.3 [INFO] [stderr] Checking tokio-threadpool v0.1.8 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-reactor v0.1.6 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.3 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking console v0.6.2 [INFO] [stderr] Checking tokio v0.1.11 [INFO] [stderr] Checking indicatif v0.9.0 [INFO] [stderr] Checking h2 v0.1.13 [INFO] [stderr] Checking hyper v0.12.13 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Checking reqwest v0.9.4 [INFO] [stderr] Checking rget v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0425]: cannot find function `parse_url` in this scope [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let url=parse_url(target)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:57 [INFO] [stdout] | [INFO] [stdout] 46 | fn download(target:&str,quiet_mode:bool)->Result<(),Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | fn download(target:&str,quiet_mode:bool)->Result<(),Box>{ [INFO] [stdout] | ^^^^^^ ---------------------- help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/reqwest-0.9.4/src/error.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub type Result = ::std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rget` due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `parse_url` in this scope [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let url=parse_url(target)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:46:57 [INFO] [stdout] | [INFO] [stdout] 46 | fn download(target:&str,quiet_mode:bool)->Result<(),Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | fn download(target:&str,quiet_mode:bool)->Result<(),Box>{ [INFO] [stdout] | ^^^^^^ ---------------------- help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/reqwest-0.9.4/src/error.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub type Result = ::std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "fbc5c98484e6fa0d5de61e4d3defe2c02cbbe522e496cb0bbba18ad7e6382d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbc5c98484e6fa0d5de61e4d3defe2c02cbbe522e496cb0bbba18ad7e6382d4c", kill_on_drop: false }` [INFO] [stdout] fbc5c98484e6fa0d5de61e4d3defe2c02cbbe522e496cb0bbba18ad7e6382d4c