[INFO] fetching crate cargo-travis 0.0.11... [INFO] checking cargo-travis-0.0.11 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate cargo-travis 0.0.11 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate cargo-travis 0.0.11 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-travis 0.0.11 [INFO] finished tweaking crates.io crate cargo-travis 0.0.11 [INFO] tweaked toml for crates.io crate cargo-travis 0.0.11 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c32a95b973ffb93e461d1ce2ce82213dad8502056ebefb08530cb9402a991a4f [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" "c32a95b973ffb93e461d1ce2ce82213dad8502056ebefb08530cb9402a991a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c32a95b973ffb93e461d1ce2ce82213dad8502056ebefb08530cb9402a991a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32a95b973ffb93e461d1ce2ce82213dad8502056ebefb08530cb9402a991a4f", kill_on_drop: false }` [INFO] [stdout] c32a95b973ffb93e461d1ce2ce82213dad8502056ebefb08530cb9402a991a4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 39dbba74416292116de01eabc7ea0ad3a482bcd637ce18f6a5b91d5468eff42b [INFO] running `Command { std: "docker" "start" "-a" "39dbba74416292116de01eabc7ea0ad3a482bcd637ce18f6a5b91d5468eff42b", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking docopt v1.1.1 [INFO] [stderr] Checking crates-io v0.20.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking ordered-float v0.5.2 [INFO] [stderr] Checking rusttype v0.4.3 [INFO] [stderr] Checking badge v0.2.0 [INFO] [stderr] Checking cargo v0.32.0 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking cargo-travis v0.0.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | try!(config.shell().concise(|shell| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | try!(config.shell().verbose(|shell| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | try!(cmd.exec()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | let mut compilation = try!(cargo::ops::compile(ws, &options.compile_opts)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | try!(config.shell().concise(|shell| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | try!(config.shell().verbose(|shell| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let mut cmd = try!(compilation.target_process(options.kcov_path, pkg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | try!(config.shell().concise(|shell| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | try!(config.shell().verbose(|shell| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | try!(cmd.exec()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | let mut compilation = try!(cargo::ops::compile(ws, &options.compile_opts)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | try!(config.shell().concise(|shell| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | try!(config.shell().verbose(|shell| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let mut cmd = try!(compilation.target_process(options.kcov_path, pkg)); [INFO] [stdout] | ^^^ [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/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 306 | fs_extra::copy_items_with_progress( [INFO] [stdout] | ---------------------------------- required by a bound introduced by this call [INFO] [stdout] 307 | &doc.map(|entry| entry.unwrap().path()).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] note: required by a bound in `collect` [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/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 306 | fs_extra::copy_items_with_progress( [INFO] [stdout] | ---------------------------------- required by a bound introduced by this call [INFO] [stdout] 307 | &doc.map(|entry| entry.unwrap().path()).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] note: required by a bound in `collect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:333:16 [INFO] [stdout] | [INFO] [stdout] 333 | let json = json!({ [INFO] [stdout] | ________________^ [INFO] [stdout] 334 | | "schemaVersion": 1, [INFO] [stdout] 335 | | "label": "docs", [INFO] [stdout] 336 | | "message": badge_status, [INFO] [stdout] 337 | | "color": badge_color [INFO] [stdout] 338 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::ser::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::ser::Serialize for i128; [INFO] [stdout] - impl serde::ser::Serialize for i16; [INFO] [stdout] - impl serde::ser::Serialize for i32; [INFO] [stdout] - impl serde::ser::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&{integer}` [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.72/src/value/mod.rs:940:8 [INFO] [stdout] | [INFO] [stdout] 940 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] = note: this error originates in the macro `json_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:333:16 [INFO] [stdout] | [INFO] [stdout] 333 | let json = json!({ [INFO] [stdout] | ________________^ [INFO] [stdout] 334 | | "schemaVersion": 1, [INFO] [stdout] 335 | | "label": "docs", [INFO] [stdout] 336 | | "message": badge_status, [INFO] [stdout] 337 | | "color": badge_color [INFO] [stdout] 338 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::ser::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::ser::Serialize for i128; [INFO] [stdout] - impl serde::ser::Serialize for i16; [INFO] [stdout] - impl serde::ser::Serialize for i32; [INFO] [stdout] - impl serde::ser::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `serde::ser::Serialize` for `&{integer}` [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.72/src/value/mod.rs:940:8 [INFO] [stdout] | [INFO] [stdout] 940 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] = note: this error originates in the macro `json_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-travis` due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "39dbba74416292116de01eabc7ea0ad3a482bcd637ce18f6a5b91d5468eff42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39dbba74416292116de01eabc7ea0ad3a482bcd637ce18f6a5b91d5468eff42b", kill_on_drop: false }` [INFO] [stdout] 39dbba74416292116de01eabc7ea0ad3a482bcd637ce18f6a5b91d5468eff42b