[INFO] fetching crate sentry-core 0.22.0... [INFO] checking sentry-core-0.22.0 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] extracting crate sentry-core 0.22.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sentry-core 0.22.0 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sentry-core 0.22.0 [INFO] finished tweaking crates.io crate sentry-core 0.22.0 [INFO] tweaked toml for crates.io crate sentry-core 0.22.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8db59bc6459a4315cc264f112a5790bd28b100301a1eae4b1d3a56d890881f83 [INFO] running `Command { std: "docker" "start" "-a" "8db59bc6459a4315cc264f112a5790bd28b100301a1eae4b1d3a56d890881f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8db59bc6459a4315cc264f112a5790bd28b100301a1eae4b1d3a56d890881f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db59bc6459a4315cc264f112a5790bd28b100301a1eae4b1d3a56d890881f83", kill_on_drop: false }` [INFO] [stdout] 8db59bc6459a4315cc264f112a5790bd28b100301a1eae4b1d3a56d890881f83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d4e2e494e2f962ea50a5437b1a56dffeb58b432cc7656bbee066a4c952aa98b [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" "3d4e2e494e2f962ea50a5437b1a56dffeb58b432cc7656bbee066a4c952aa98b", kill_on_drop: false }` [INFO] [stderr] Checking sentry-core v0.22.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anyhow` [INFO] [stdout] --> src/error.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | anyhow::Error::from("NaN".parse::().unwrap_err()) [INFO] [stdout] | ^^^^^ not found in `anyhow` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use serde::__private::doc::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use serde::__private::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 7 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sentry-core` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/scope_benchmark.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_group` [INFO] [stdout] --> benches/scope_benchmark.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | criterion_group!(benches, scope_benchmark); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_main` [INFO] [stdout] --> benches/scope_benchmark.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | criterion_main!(benches); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `scope_benchmark` [INFO] [stdout] --> benches/scope_benchmark.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Sentry Scope Benchmarks [INFO] [stdout] 2 | | //! [INFO] [stdout] 3 | | //! Run the benchmarks with: [INFO] [stdout] 4 | | //! [INFO] [stdout] ... | [INFO] [stdout] 194 | | criterion_group!(benches, scope_benchmark); [INFO] [stdout] 195 | | criterion_main!(benches); [INFO] [stdout] | |_________________________^ consider adding a `main` function to `benches/scope_benchmark.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3d4e2e494e2f962ea50a5437b1a56dffeb58b432cc7656bbee066a4c952aa98b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d4e2e494e2f962ea50a5437b1a56dffeb58b432cc7656bbee066a4c952aa98b", kill_on_drop: false }` [INFO] [stdout] 3d4e2e494e2f962ea50a5437b1a56dffeb58b432cc7656bbee066a4c952aa98b