[INFO] fetching crate rocket_sentry_logger 0.4.1... [INFO] testing rocket_sentry_logger-0.4.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate rocket_sentry_logger 0.4.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate rocket_sentry_logger 0.4.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sentry-types v0.22.0 [INFO] [stderr] Downloaded sentry-contexts v0.22.0 [INFO] [stderr] Downloaded sentry-panic v0.22.0 [INFO] [stderr] Downloaded sentry-core v0.22.0 [INFO] [stderr] Downloaded sentry v0.22.0 [INFO] [stderr] Downloaded sentry-backtrace v0.22.0 [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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a36e5cccd4ec711f59eb0b56efba3233b208a1cb04cb20a5d3472ee5c1d30cf [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" "1a36e5cccd4ec711f59eb0b56efba3233b208a1cb04cb20a5d3472ee5c1d30cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a36e5cccd4ec711f59eb0b56efba3233b208a1cb04cb20a5d3472ee5c1d30cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a36e5cccd4ec711f59eb0b56efba3233b208a1cb04cb20a5d3472ee5c1d30cf", kill_on_drop: false }` [INFO] [stdout] 1a36e5cccd4ec711f59eb0b56efba3233b208a1cb04cb20a5d3472ee5c1d30cf [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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] e78fe7e8649316d28c5043f4a2524e266faee06f051fab955a88087f6f3a7fbf [INFO] running `Command { std: "docker" "start" "-a" "e78fe7e8649316d28c5043f4a2524e266faee06f051fab955a88087f6f3a7fbf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [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 pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling uname v0.1.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling digest v0.9.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 url v1.7.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling quote v1.0.9 [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 syn v1.0.72 [INFO] [stderr] Compiling sentry-contexts v0.22.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling native-tls v0.2.7 [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 devise_core v0.2.0 [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_codegen v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling hyper v0.14.8 [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 reqwest v0.11.3 [INFO] [stderr] Compiling sentry-types v0.22.0 [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 05s [INFO] running `Command { std: "docker" "inspect" "e78fe7e8649316d28c5043f4a2524e266faee06f051fab955a88087f6f3a7fbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e78fe7e8649316d28c5043f4a2524e266faee06f051fab955a88087f6f3a7fbf", kill_on_drop: false }` [INFO] [stdout] e78fe7e8649316d28c5043f4a2524e266faee06f051fab955a88087f6f3a7fbf [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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 983c9f9fc2e6b84bd823c142ef586fa211b4e3fdfb11423942f8b3d0f12704fe [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" "983c9f9fc2e6b84bd823c142ef586fa211b4e3fdfb11423942f8b3d0f12704fe", 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.76s [INFO] running `Command { std: "docker" "inspect" "983c9f9fc2e6b84bd823c142ef586fa211b4e3fdfb11423942f8b3d0f12704fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983c9f9fc2e6b84bd823c142ef586fa211b4e3fdfb11423942f8b3d0f12704fe", kill_on_drop: false }` [INFO] [stdout] 983c9f9fc2e6b84bd823c142ef586fa211b4e3fdfb11423942f8b3d0f12704fe [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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", 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] 9b0763b4a72de252fc561cbf59be525b19a22cb9e9541e0b0354aadfd1a2ac52 [INFO] running `Command { std: "docker" "start" "-a" "9b0763b4a72de252fc561cbf59be525b19a22cb9e9541e0b0354aadfd1a2ac52", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rocket_sentry_logger-cdafcb74460e2a49) [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 rocket_sentry_logger [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - log (line 95) ... FAILED [INFO] [stdout] test src/steps.rs - steps::Step (line 8) ... FAILED [INFO] [stdout] test src/steps.rs - steps::StepType (line 53) ... FAILED [INFO] [stdout] test src/lib.rs - fairing (line 166) ... FAILED [INFO] [stdout] test src/lib.rs - add_data (line 142) ... FAILED [INFO] [stdout] test src/lib.rs - set_tag (line 154) ... FAILED [INFO] [stdout] test src/lib.rs - init (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - InitConfig (line 25) ... FAILED [INFO] [stdout] test src/lib.rs - set_user (line 124) ... FAILED [INFO] [stdout] test src/lib.rs - track_step (line 106) ... 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/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/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 - 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 - 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 - 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/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/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] ---- 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 - 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] [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.25s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "9b0763b4a72de252fc561cbf59be525b19a22cb9e9541e0b0354aadfd1a2ac52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0763b4a72de252fc561cbf59be525b19a22cb9e9541e0b0354aadfd1a2ac52", kill_on_drop: false }` [INFO] [stdout] 9b0763b4a72de252fc561cbf59be525b19a22cb9e9541e0b0354aadfd1a2ac52