[INFO] fetching crate cargo-danger 0.2.2... [INFO] testing cargo-danger-0.2.2 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate cargo-danger 0.2.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate cargo-danger 0.2.2 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-danger 0.2.2 [INFO] finished tweaking crates.io crate cargo-danger 0.2.2 [INFO] tweaked toml for crates.io crate cargo-danger 0.2.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3a9a077ffa1ab25338777fe3956d943053e2b9a1fec09318d9641958045e2f8 [INFO] running `Command { std: "docker" "start" "-a" "f3a9a077ffa1ab25338777fe3956d943053e2b9a1fec09318d9641958045e2f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3a9a077ffa1ab25338777fe3956d943053e2b9a1fec09318d9641958045e2f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3a9a077ffa1ab25338777fe3956d943053e2b9a1fec09318d9641958045e2f8", kill_on_drop: false }` [INFO] [stdout] f3a9a077ffa1ab25338777fe3956d943053e2b9a1fec09318d9641958045e2f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af25d0cb970fefbb480758505fe1595ac7b37f8cad3e69b09af80aa1307a1d5c [INFO] running `Command { std: "docker" "start" "-a" "af25d0cb970fefbb480758505fe1595ac7b37f8cad3e69b09af80aa1307a1d5c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling curl v0.4.41 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling home v0.3.4 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling curl-sys v0.4.51+curl-7.80.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tar v0.4.37 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling opener v0.3.2 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_ignored v0.0.4 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling rustfix v0.4.6 [INFO] [stderr] Compiling crates-io v0.20.0 [INFO] [stderr] Compiling git2 v0.7.5 [INFO] [stderr] Compiling git2-curl v0.8.2 [INFO] [stderr] Compiling cargo v0.32.0 [INFO] [stderr] Compiling cargo-danger v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 49s [INFO] running `Command { std: "docker" "inspect" "af25d0cb970fefbb480758505fe1595ac7b37f8cad3e69b09af80aa1307a1d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af25d0cb970fefbb480758505fe1595ac7b37f8cad3e69b09af80aa1307a1d5c", kill_on_drop: false }` [INFO] [stdout] af25d0cb970fefbb480758505fe1595ac7b37f8cad3e69b09af80aa1307a1d5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b985d6f82a20df4455ce06a8a44f60e030fcc28cbd6bdd673c616871ed14d173 [INFO] running `Command { std: "docker" "start" "-a" "b985d6f82a20df4455ce06a8a44f60e030fcc28cbd6bdd673c616871ed14d173", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cargo-danger v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.58s [INFO] running `Command { std: "docker" "inspect" "b985d6f82a20df4455ce06a8a44f60e030fcc28cbd6bdd673c616871ed14d173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b985d6f82a20df4455ce06a8a44f60e030fcc28cbd6bdd673c616871ed14d173", kill_on_drop: false }` [INFO] [stdout] b985d6f82a20df4455ce06a8a44f60e030fcc28cbd6bdd673c616871ed14d173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8ebb14b4d9180e2e9d6fe7954009c83c95574205083ccb9e9fe824f92ce630d4 [INFO] running `Command { std: "docker" "start" "-a" "8ebb14b4d9180e2e9d6fe7954009c83c95574205083ccb9e9fe824f92ce630d4", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:19:45 [INFO] [stderr] | [INFO] [stderr] 19 | type Result = std::result::Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `cargo-danger` (bin "cargo-danger" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_danger-277f61bd3cc9cd13) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ebb14b4d9180e2e9d6fe7954009c83c95574205083ccb9e9fe824f92ce630d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ebb14b4d9180e2e9d6fe7954009c83c95574205083ccb9e9fe824f92ce630d4", kill_on_drop: false }` [INFO] [stdout] 8ebb14b4d9180e2e9d6fe7954009c83c95574205083ccb9e9fe824f92ce630d4