[INFO] fetching crate cargo-ghp-upload 0.3.4... [INFO] checking cargo-ghp-upload-0.3.4 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate cargo-ghp-upload 0.3.4 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate cargo-ghp-upload 0.3.4 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-ghp-upload 0.3.4 [INFO] finished tweaking crates.io crate cargo-ghp-upload 0.3.4 [INFO] tweaked toml for crates.io crate cargo-ghp-upload 0.3.4 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 560086f0c7e2ddcd6a3819c1a6be6b95419f6a65fb7113aa322d9983aaf355a8 [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" "560086f0c7e2ddcd6a3819c1a6be6b95419f6a65fb7113aa322d9983aaf355a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "560086f0c7e2ddcd6a3819c1a6be6b95419f6a65fb7113aa322d9983aaf355a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "560086f0c7e2ddcd6a3819c1a6be6b95419f6a65fb7113aa322d9983aaf355a8", kill_on_drop: false }` [INFO] [stdout] 560086f0c7e2ddcd6a3819c1a6be6b95419f6a65fb7113aa322d9983aaf355a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc6316e2e5d7e61fe88f82698d067c62ba9c487e870883dd9ecb4cf9af085249 [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" "fc6316e2e5d7e61fe88f82698d067c62ba9c487e870883dd9ecb4cf9af085249", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking rayon v0.9.0 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking quicli v0.2.0 [INFO] [stderr] Checking cargo-ghp-upload v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #![forbid(future_incompatible)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[forbid(absolute_paths_not_starting_with_crate)]` implied by `#[forbid(future_incompatible)]` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #![forbid(future_incompatible)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[forbid(absolute_paths_not_starting_with_crate)]` implied by `#[forbid(future_incompatible)]` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `[_]` cannot be built from an iterator over elements of type `PathBuf` [INFO] [stdout] --> src/main.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | .collect(), [INFO] [stdout] | ^^^^^^^ value of type `[_]` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `[_]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-ghp-upload` [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] [stdout] error[E0277]: a value of type `[_]` cannot be built from an iterator over elements of type `PathBuf` [INFO] [stdout] --> src/main.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | .collect(), [INFO] [stdout] | ^^^^^^^ value of type `[_]` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `[_]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fc6316e2e5d7e61fe88f82698d067c62ba9c487e870883dd9ecb4cf9af085249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc6316e2e5d7e61fe88f82698d067c62ba9c487e870883dd9ecb4cf9af085249", kill_on_drop: false }` [INFO] [stdout] fc6316e2e5d7e61fe88f82698d067c62ba9c487e870883dd9ecb4cf9af085249