[INFO] fetching crate sentry-error-chain 0.21.0... [INFO] testing sentry-error-chain-0.21.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate sentry-error-chain 0.21.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate sentry-error-chain 0.21.0 [INFO] finished tweaking crates.io crate sentry-error-chain 0.21.0 [INFO] tweaked toml for crates.io crate sentry-error-chain 0.21.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sentry-error-chain 0.21.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 98 packages to latest compatible versions [INFO] [stderr] Adding sentry-backtrace v0.21.0 (available: v0.42.0) [INFO] [stderr] Adding sentry-core v0.21.0 (available: v0.42.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sentry-types v0.21.0 [INFO] [stderr] Downloaded sentry-core v0.21.0 [INFO] [stderr] Downloaded sentry-backtrace v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d73b6129a69ff8ea900fe28a4b1410dba3a89ad1073349d4bf1fa123f08116af [INFO] running `Command { std: "docker" "start" "-a" "d73b6129a69ff8ea900fe28a4b1410dba3a89ad1073349d4bf1fa123f08116af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d73b6129a69ff8ea900fe28a4b1410dba3a89ad1073349d4bf1fa123f08116af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d73b6129a69ff8ea900fe28a4b1410dba3a89ad1073349d4bf1fa123f08116af", kill_on_drop: false }` [INFO] [stdout] d73b6129a69ff8ea900fe28a4b1410dba3a89ad1073349d4bf1fa123f08116af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5f242fdbc942aa6d56df0e3132150f37925ae2bd1a5fcd5160aeac2f94675d2 [INFO] running `Command { std: "docker" "start" "-a" "c5f242fdbc942aa6d56df0e3132150f37925ae2bd1a5fcd5160aeac2f94675d2", kill_on_drop: false }` [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling debugid v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling sentry-types v0.21.0 [INFO] [stderr] Compiling sentry-core v0.21.0 [INFO] [stderr] Compiling sentry-backtrace v0.21.0 [INFO] [stderr] Compiling sentry-error-chain v0.21.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.25s [INFO] running `Command { std: "docker" "inspect" "c5f242fdbc942aa6d56df0e3132150f37925ae2bd1a5fcd5160aeac2f94675d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f242fdbc942aa6d56df0e3132150f37925ae2bd1a5fcd5160aeac2f94675d2", kill_on_drop: false }` [INFO] [stdout] c5f242fdbc942aa6d56df0e3132150f37925ae2bd1a5fcd5160aeac2f94675d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6115715aa64f1bd44e665356a61b6ec8043af593fe5c52fbe6c3cfe7873badf [INFO] running `Command { std: "docker" "start" "-a" "e6115715aa64f1bd44e665356a61b6ec8043af593fe5c52fbe6c3cfe7873badf", kill_on_drop: false }` [INFO] [stderr] Compiling sentry-error-chain v0.21.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "e6115715aa64f1bd44e665356a61b6ec8043af593fe5c52fbe6c3cfe7873badf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6115715aa64f1bd44e665356a61b6ec8043af593fe5c52fbe6c3cfe7873badf", kill_on_drop: false }` [INFO] [stdout] e6115715aa64f1bd44e665356a61b6ec8043af593fe5c52fbe6c3cfe7873badf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5d55cbf6989d916417a2cd529bd59a9dcc7434b1d20d87e6395f5a680ecda8ee [INFO] running `Command { std: "docker" "start" "-a" "5d55cbf6989d916417a2cd529bd59a9dcc7434b1d20d87e6395f5a680ecda8ee", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sentry_error_chain-48df7592bbbbbec8) [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] [stderr] Doc-tests sentry_error_chain [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 8) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sentry` [INFO] [stdout] --> src/lib.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 11 | sentry::init(sentry::ClientOptions::default().add_integration(ErrorChainIntegration)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `sentry` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sentry`, use `cargo add sentry` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use sentry_core::ClientOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ClientOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - sentry::init(sentry::ClientOptions::default().add_integration(ErrorChainIntegration)); [INFO] [stdout] 11 + sentry::init(ClientOptions::default().add_integration(ErrorChainIntegration)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 6 | error_chain! {} [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] warning: use of deprecated function `sentry_error_chain::capture_error_chain`: The `error_chain` integration is deprecated and will be removed in the future. [INFO] [stdout] --> src/lib.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 7 | use sentry_error_chain::{capture_error_chain, ErrorChainIntegration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `sentry_error_chain::ErrorChainIntegration`: The `error_chain` integration is deprecated and will be removed in the future. [INFO] [stdout] --> src/lib.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 7 | use sentry_error_chain::{capture_error_chain, ErrorChainIntegration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit struct `sentry_error_chain::ErrorChainIntegration`: The `error_chain` integration is deprecated and will be removed in the future. [INFO] [stdout] --> src/lib.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 7 | use sentry_error_chain::{capture_error_chain, ErrorChainIntegration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit struct `sentry_error_chain::ErrorChainIntegration`: The `error_chain` integration is deprecated and will be removed in the future. [INFO] [stdout] --> src/lib.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 11 | sentry::init(sentry::ClientOptions::default().add_integration(ErrorChainIntegration)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `sentry_error_chain::capture_error_chain`: The `error_chain` integration is deprecated and will be removed in the future. [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 15 | capture_error_chain(&err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sentry` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 11 | sentry::init(sentry::ClientOptions::default().add_integration(ErrorChainIntegration)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `sentry` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sentry`, use `cargo add sentry` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5d55cbf6989d916417a2cd529bd59a9dcc7434b1d20d87e6395f5a680ecda8ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d55cbf6989d916417a2cd529bd59a9dcc7434b1d20d87e6395f5a680ecda8ee", kill_on_drop: false }` [INFO] [stdout] 5d55cbf6989d916417a2cd529bd59a9dcc7434b1d20d87e6395f5a680ecda8ee