[INFO] fetching crate codealong-github 0.1.1... [INFO] checking codealong-github-0.1.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate codealong-github 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate codealong-github 0.1.1 [INFO] finished tweaking crates.io crate codealong-github 0.1.1 [INFO] tweaked toml for crates.io crate codealong-github 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate codealong-github 0.1.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 264 packages to latest compatible versions [INFO] [stderr] Adding git2 v0.8.0 (available: v0.20.2) [INFO] [stderr] Adding reqwest v0.9.24 (available: v0.12.23) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-hack v0.4.3 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.4.3 [INFO] [stderr] Downloaded include_dir_impl v0.2.1 [INFO] [stderr] Downloaded include_dir v0.2.1 [INFO] [stderr] Downloaded codealong v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3cf60473630b03cc18e965799f22ef968f47e486c7ea5b0c56f5fedfefee002 [INFO] running `Command { std: "docker" "start" "-a" "c3cf60473630b03cc18e965799f22ef968f47e486c7ea5b0c56f5fedfefee002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3cf60473630b03cc18e965799f22ef968f47e486c7ea5b0c56f5fedfefee002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3cf60473630b03cc18e965799f22ef968f47e486c7ea5b0c56f5fedfefee002", kill_on_drop: false }` [INFO] [stdout] c3cf60473630b03cc18e965799f22ef968f47e486c7ea5b0c56f5fedfefee002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5915f566c0d9d57a1086a96853d45182d2cd14b2c6443053de256c87e891cc0a [INFO] running `Command { std: "docker" "start" "-a" "5915f566c0d9d57a1086a96853d45182d2cd14b2c6443053de256c87e891cc0a", kill_on_drop: false }` [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling libgit2-sys v0.7.11 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Compiling proc-macro-hack v0.4.3 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking hyper v0.12.36 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling include_dir_impl v0.2.1 [INFO] [stderr] Checking include_dir v0.2.1 [INFO] [stderr] Checking git2 v0.8.0 [INFO] [stderr] Checking codealong v0.1.1 [INFO] [stderr] Checking codealong-github v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | errors { [INFO] [stdout] 7 | | RateLimitted {} [INFO] [stdout] 8 | | Unknown {} [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / error_chain! { [INFO] [stdout] 6 | | errors { [INFO] [stdout] 7 | | RateLimitted {} [INFO] [stdout] 8 | | Unknown {} [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (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/error.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | f: &mut FnMut() -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | f: &mut dyn FnMut() -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | mut cb: Option<&mut FnMut(u64)>, [INFO] [stdout] | ^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | mut cb: Option<&mut dyn FnMut(u64)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | f: &mut FnMut() -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | f: &mut dyn FnMut() -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | mut cb: Option<&mut FnMut(u64)>, [INFO] [stdout] | ^^^^^^^^^^ [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | mut cb: Option<&mut dyn FnMut(u64)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analyzed_pull_request.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | fn id(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn id(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pull_requests_analyzer.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 36 | opts: AnalyzeOpts, [INFO] [stdout] 37 | ) -> Result>> { [INFO] [stdout] | ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | ) -> Result>>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pull_requests_analyzer.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | fn build_cursor(&self, _opts: AnalyzeOpts) -> Cursor { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn build_cursor(&self, _opts: AnalyzeOpts) -> Cursor<'_, PullRequest> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/analyzed_pull_request.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | fn id(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn id(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pull_requests_analyzer.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 36 | opts: AnalyzeOpts, [INFO] [stdout] 37 | ) -> Result>> { [INFO] [stdout] | ------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | ) -> Result>>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pull_requests_analyzer.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | fn build_cursor(&self, _opts: AnalyzeOpts) -> Cursor { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn build_cursor(&self, _opts: AnalyzeOpts) -> Cursor<'_, PullRequest> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "5915f566c0d9d57a1086a96853d45182d2cd14b2c6443053de256c87e891cc0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5915f566c0d9d57a1086a96853d45182d2cd14b2c6443053de256c87e891cc0a", kill_on_drop: false }` [INFO] [stdout] 5915f566c0d9d57a1086a96853d45182d2cd14b2c6443053de256c87e891cc0a