[INFO] fetching crate ckb-sentry-failure 0.21.0... [INFO] testing ckb-sentry-failure-0.21.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate ckb-sentry-failure 0.21.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate ckb-sentry-failure 0.21.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ckb-sentry-failure 0.21.0 [INFO] finished tweaking crates.io crate ckb-sentry-failure 0.21.0 [INFO] tweaked toml for crates.io crate ckb-sentry-failure 0.21.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97dcf4c2a5a11dbbac8461bf718602bd1a52c301cf93f2fa767465b308c2047c [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" "97dcf4c2a5a11dbbac8461bf718602bd1a52c301cf93f2fa767465b308c2047c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97dcf4c2a5a11dbbac8461bf718602bd1a52c301cf93f2fa767465b308c2047c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97dcf4c2a5a11dbbac8461bf718602bd1a52c301cf93f2fa767465b308c2047c", kill_on_drop: false }` [INFO] [stdout] 97dcf4c2a5a11dbbac8461bf718602bd1a52c301cf93f2fa767465b308c2047c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc26db7e39e470973cbe843983f120b9f7bc572c7f4aa7cc6607b8aaca0dd18a [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" "cc26db7e39e470973cbe843983f120b9f7bc572c7f4aa7cc6607b8aaca0dd18a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling object v0.25.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling debugid v0.7.2 [INFO] [stderr] Compiling ckb-sentry-types v0.21.0 [INFO] [stderr] Compiling ckb-sentry-core v0.21.0 [INFO] [stderr] Compiling ckb-sentry-backtrace v0.21.0 [INFO] [stderr] Compiling ckb-sentry-failure v0.21.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 219 | panic!("{}", e) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 219 | std::panic::panic_any(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.04s [INFO] running `Command { std: "docker" "inspect" "cc26db7e39e470973cbe843983f120b9f7bc572c7f4aa7cc6607b8aaca0dd18a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc26db7e39e470973cbe843983f120b9f7bc572c7f4aa7cc6607b8aaca0dd18a", kill_on_drop: false }` [INFO] [stdout] cc26db7e39e470973cbe843983f120b9f7bc572c7f4aa7cc6607b8aaca0dd18a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 332e11dd3416b505e2857bd34716d4a3cd02d66b2ec468f3882dac66efc50e7e [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" "332e11dd3416b505e2857bd34716d4a3cd02d66b2ec468f3882dac66efc50e7e", kill_on_drop: false }` [INFO] [stderr] Compiling ckb-sentry-failure v0.21.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 219 | panic!("{}", e) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 219 | std::panic::panic_any(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 219 | panic!("{}", e) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 219 | std::panic::panic_any(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "332e11dd3416b505e2857bd34716d4a3cd02d66b2ec468f3882dac66efc50e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332e11dd3416b505e2857bd34716d4a3cd02d66b2ec468f3882dac66efc50e7e", kill_on_drop: false }` [INFO] [stdout] 332e11dd3416b505e2857bd34716d4a3cd02d66b2ec468f3882dac66efc50e7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f49c6253e9177f9021816215cad469b5e508cec9622414389f7103ca9970909b [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" "f49c6253e9177f9021816215cad469b5e508cec9622414389f7103ca9970909b", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/lib.rs:219:24 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 219 | panic!(e) [INFO] [stdout] [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 219 | panic!("{}", e) [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 219 | std::panic::panic_any(e) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:219:24 [INFO] [stderr] | [INFO] [stderr] 219 | panic!(e) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 219 | panic!("{}", e) [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 219 | std::panic::panic_any(e) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ckb_sentry_failure-d672dc4710f8e311) [INFO] [stderr] Doc-tests ckb-sentry-failure [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - panic_extractor (line 81) ... FAILED [INFO] [stdout] test src/lib.rs - (line 10) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - panic_extractor (line 81) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sentry_panic` [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 7 | sentry_panic::PanicIntegration::new().add_extractor(sentry_failure::panic_extractor); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `sentry_panic` [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ckb_sentry_failure::panic_extractor`: The `failure` integration is deprecated and will be removed in the future. [INFO] [stdout] --> src/lib.rs:85:57 [INFO] [stdout] | [INFO] [stdout] 7 | sentry_panic::PanicIntegration::new().add_extractor(sentry_failure::panic_extractor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning 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 - panic_extractor (line 81) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f49c6253e9177f9021816215cad469b5e508cec9622414389f7103ca9970909b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f49c6253e9177f9021816215cad469b5e508cec9622414389f7103ca9970909b", kill_on_drop: false }` [INFO] [stdout] f49c6253e9177f9021816215cad469b5e508cec9622414389f7103ca9970909b