[INFO] fetching crate rocket_sentry_logger 0.4.1... [INFO] testing rocket_sentry_logger-0.4.1 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate rocket_sentry_logger 0.4.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate rocket_sentry_logger 0.4.1 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 rocket_sentry_logger 0.4.1 [INFO] finished tweaking crates.io crate rocket_sentry_logger 0.4.1 [INFO] tweaked toml for crates.io crate rocket_sentry_logger 0.4.1 written to /workspace/builds/worker-6/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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 01c83d9891d0aa87163a71ca3ff60ee96bf2e8d96340585a4e42d6c56a06748f [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" "01c83d9891d0aa87163a71ca3ff60ee96bf2e8d96340585a4e42d6c56a06748f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01c83d9891d0aa87163a71ca3ff60ee96bf2e8d96340585a4e42d6c56a06748f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01c83d9891d0aa87163a71ca3ff60ee96bf2e8d96340585a4e42d6c56a06748f", kill_on_drop: false }` [INFO] [stdout] 01c83d9891d0aa87163a71ca3ff60ee96bf2e8d96340585a4e42d6c56a06748f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bbe278dbe9ac10efedb935018c342be9e5e35bc10d59e1a51e47e1867d9c444c [INFO] running `Command { std: "docker" "start" "-a" "bbe278dbe9ac10efedb935018c342be9e5e35bc10d59e1a51e47e1867d9c444c", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling uname v0.1.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling object v0.25.2 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling sentry-contexts v0.22.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling hyper v0.14.8 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling debugid v0.7.2 [INFO] [stderr] Compiling sentry-types v0.22.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling sentry-core v0.22.0 [INFO] [stderr] Compiling sentry-backtrace v0.22.0 [INFO] [stderr] Compiling sentry-panic v0.22.0 [INFO] [stderr] Compiling sentry v0.22.0 [INFO] [stderr] Compiling rocket_sentry_logger v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 00s [INFO] running `Command { std: "docker" "inspect" "bbe278dbe9ac10efedb935018c342be9e5e35bc10d59e1a51e47e1867d9c444c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbe278dbe9ac10efedb935018c342be9e5e35bc10d59e1a51e47e1867d9c444c", kill_on_drop: false }` [INFO] [stdout] bbe278dbe9ac10efedb935018c342be9e5e35bc10d59e1a51e47e1867d9c444c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0e26a3c016da45ccea04978c4ca29b6ab429d439dd014473bd3300a4954833ae [INFO] running `Command { std: "docker" "start" "-a" "0e26a3c016da45ccea04978c4ca29b6ab429d439dd014473bd3300a4954833ae", kill_on_drop: false }` [INFO] [stderr] Compiling rocket_sentry_logger v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "0e26a3c016da45ccea04978c4ca29b6ab429d439dd014473bd3300a4954833ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e26a3c016da45ccea04978c4ca29b6ab429d439dd014473bd3300a4954833ae", kill_on_drop: false }` [INFO] [stdout] 0e26a3c016da45ccea04978c4ca29b6ab429d439dd014473bd3300a4954833ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 2b88b1c03dccbce9f3d77eacb85132f4df8711bbd4438968e90b701d265fc3c4 [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" "2b88b1c03dccbce9f3d77eacb85132f4df8711bbd4438968e90b701d265fc3c4", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rocket_sentry_logger-cdafcb74460e2a49) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rocket_sentry_logger [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] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - log (line 95) ... FAILED [INFO] [stdout] test src/lib.rs - set_user (line 124) ... FAILED [INFO] [stdout] test src/lib.rs - init (line 61) ... FAILED [INFO] [stdout] test src/steps.rs - steps::StepType (line 53) ... FAILED [INFO] [stdout] test src/lib.rs - track_step (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - set_tag (line 154) ... FAILED [INFO] [stdout] test src/steps.rs - steps::Step (line 8) ... FAILED [INFO] [stdout] test src/lib.rs - add_data (line 142) ... FAILED [INFO] [stdout] test src/lib.rs - fairing (line 166) ... FAILED [INFO] [stdout] test src/lib.rs - InitConfig (line 25) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - log (line 95) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `logger` [INFO] [stdout] --> src/lib.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 3 | logger::log("This is a mock message, Hello World!", LogLevel::Info); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `logger` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> src/lib.rs:97:58 [INFO] [stdout] | [INFO] [stdout] 3 | logger::log("This is a mock message, Hello World!", LogLevel::Info); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - set_user (line 124) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `logger` [INFO] [stdout] --> src/lib.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 10 | logger::set_user(user); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `logger` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `User` in this scope [INFO] [stdout] --> src/lib.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 3 | let user = User { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_sentry_logger::User; [INFO] [stdout] | [INFO] [stdout] 2 | use sentry::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - init (line 61) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `logger` [INFO] [stdout] --> src/lib.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 3 | logger::init(None); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `logger` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/steps.rs - steps::StepType (line 53) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/steps.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 3 | let step = Step { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 4 | ty: StepType::Error, [INFO] [stdout] 5 | ... [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StepType` [INFO] [stdout] --> src/steps.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 4 | ty: StepType::Error, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StepType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `logger` [INFO] [stdout] --> src/steps.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 8 | logger::track_step(step); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `logger` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Step` in this scope [INFO] [stdout] --> src/steps.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 3 | let step = Step { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_sentry_logger::Step; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - track_step (line 106) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StepType` [INFO] [stdout] --> src/lib.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 4 | ty: StepType::Error, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StepType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> src/lib.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 7 | level: LogLevel::Info, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `logger` [INFO] [stdout] --> src/lib.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 11 | logger::track_step(step); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `logger` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Step` in this scope [INFO] [stdout] --> src/lib.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 3 | let step = Step { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_sentry_logger::Step; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - set_tag (line 154) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `logger` [INFO] [stdout] --> src/lib.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 3 | logger::set_tag("API", "emergency"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `logger` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `logger` [INFO] [stdout] --> src/lib.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 4 | logger::log("Bad Request: name field required", LogLevel::Error); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `logger` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> src/lib.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 4 | logger::log("Bad Request: name field required", LogLevel::Error); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/steps.rs - steps::Step (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StepType` [INFO] [stdout] --> src/steps.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 4 | ty: StepType::Error, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StepType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> src/steps.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 7 | level: LogLevel::Info, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `logger` [INFO] [stdout] --> src/steps.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 11 | logger::track_step(step); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `logger` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Step` in this scope [INFO] [stdout] --> src/steps.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 3 | let step = Step { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_sentry_logger::Step; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - add_data (line 142) stdout ---- [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/lib.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 3 | logger::add_data("Response body", json!(body)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] serde_json::json [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `logger` [INFO] [stdout] --> src/lib.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 3 | logger::add_data("Response body", json!(body)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `logger` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `logger` [INFO] [stdout] --> src/lib.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 4 | logger::log("Bad Request: name field required", LogLevel::Error); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `logger` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LogLevel` [INFO] [stdout] --> src/lib.rs:144:49 [INFO] [stdout] | [INFO] [stdout] 4 | logger::log("Bad Request: name field required", LogLevel::Error); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LogLevel` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - fairing (line 166) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `logger` [INFO] [stdout] --> src/lib.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 4 | .attach(logger::fairing()); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `logger` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - InitConfig (line 25) stdout ---- [INFO] [stdout] error: expected `;`, found `logger` [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 7 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | logger::init(Some(config)); [INFO] [stdout] | ------ unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `logger` [INFO] [stdout] --> src/lib.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 8 | logger::init(Some(config)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `logger` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InitConfig` in this scope [INFO] [stdout] --> src/lib.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 3 | let config = InitConfig { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_sentry_logger::InitConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - InitConfig (line 25) [INFO] [stdout] src/lib.rs - add_data (line 142) [INFO] [stdout] src/lib.rs - fairing (line 166) [INFO] [stdout] src/lib.rs - init (line 61) [INFO] [stdout] src/lib.rs - log (line 95) [INFO] [stdout] src/lib.rs - set_tag (line 154) [INFO] [stdout] src/lib.rs - set_user (line 124) [INFO] [stdout] src/lib.rs - track_step (line 106) [INFO] [stdout] src/steps.rs - steps::Step (line 8) [INFO] [stdout] src/steps.rs - steps::StepType (line 53) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.45s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2b88b1c03dccbce9f3d77eacb85132f4df8711bbd4438968e90b701d265fc3c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b88b1c03dccbce9f3d77eacb85132f4df8711bbd4438968e90b701d265fc3c4", kill_on_drop: false }` [INFO] [stdout] 2b88b1c03dccbce9f3d77eacb85132f4df8711bbd4438968e90b701d265fc3c4