[INFO] cloning repository https://github.com/loganintech/gitpub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loganintech/gitpub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floganintech%2Fgitpub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floganintech%2Fgitpub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2be9526d2284d06f865a029434888a6183edddd0 [INFO] checking loganintech/gitpub against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floganintech%2Fgitpub" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/loganintech/gitpub on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/loganintech/gitpub [INFO] finished tweaking git repo https://github.com/loganintech/gitpub [INFO] tweaked toml for git repo https://github.com/loganintech/gitpub written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/loganintech/gitpub already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a561c9b31cfe3991017c3e63e11f0baba655e2a29701d31c9b7d20405dc1e26 [INFO] running `Command { std: "docker" "start" "-a" "8a561c9b31cfe3991017c3e63e11f0baba655e2a29701d31c9b7d20405dc1e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a561c9b31cfe3991017c3e63e11f0baba655e2a29701d31c9b7d20405dc1e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a561c9b31cfe3991017c3e63e11f0baba655e2a29701d31c9b7d20405dc1e26", kill_on_drop: false }` [INFO] [stdout] 8a561c9b31cfe3991017c3e63e11f0baba655e2a29701d31c9b7d20405dc1e26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f46f694525a223f2017f74317fe62a8a360e25d50c9cac85becc27b95c383ff [INFO] running `Command { std: "docker" "start" "-a" "5f46f694525a223f2017f74317fe62a8a360e25d50c9cac85becc27b95c383ff", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling openssl v0.10.20 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.1 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking backtrace v0.3.15 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking miniz_oxide v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.43 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking tokio-threadpool v0.1.13 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking cookie v0.11.0 [INFO] [stderr] Checking flate2 v1.0.7 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking publicsuffix v1.5.2 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.18 [INFO] [stderr] Checking hyper v0.12.27 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking serde_urlencoded v0.5.4 [INFO] [stderr] Checking cookie_store v0.5.1 [INFO] [stderr] Checking reqwest v0.9.16 [INFO] [stderr] Checking gitpub v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/../test_config.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | include_str!("../test_config.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../test_config.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | include_str!("../test_config.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../test_config.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | include_str!("../test_config.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | Gitpo::Github(x) => x as &Provider, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Provider` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | Gitpo::Gitlab(x) => x as &Provider, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Provider` [INFO] [stdout] | [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | Gitpo::BitBucket(x) => x as &Provider, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Provider` [INFO] [stdout] | [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | Gitpo::Github(x) => x as &Provider, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Provider` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | Gitpo::Gitlab(x) => x as &Provider, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Provider` [INFO] [stdout] | [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | Gitpo::BitBucket(x) => x as &Provider, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Provider` [INFO] [stdout] | [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gitpub` due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5f46f694525a223f2017f74317fe62a8a360e25d50c9cac85becc27b95c383ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f46f694525a223f2017f74317fe62a8a360e25d50c9cac85becc27b95c383ff", kill_on_drop: false }` [INFO] [stdout] 5f46f694525a223f2017f74317fe62a8a360e25d50c9cac85becc27b95c383ff