[INFO] fetching crate rocket_sentry_logger 0.4.1... [INFO] testing rocket_sentry_logger-0.4.1 against try#ecd7b559f89c73ac8f1d318f7501006f37b944b2 for pr-112849 [INFO] extracting crate rocket_sentry_logger 0.4.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rocket_sentry_logger 0.4.1 on toolchain ecd7b559f89c73ac8f1d318f7501006f37b944b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "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-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dac3324997b0a767d05444c7f049cad8850bea102d428f9d20a3c1624e3183cb [INFO] running `Command { std: "docker" "start" "-a" "dac3324997b0a767d05444c7f049cad8850bea102d428f9d20a3c1624e3183cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dac3324997b0a767d05444c7f049cad8850bea102d428f9d20a3c1624e3183cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dac3324997b0a767d05444c7f049cad8850bea102d428f9d20a3c1624e3183cb", kill_on_drop: false }` [INFO] [stdout] dac3324997b0a767d05444c7f049cad8850bea102d428f9d20a3c1624e3183cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b02e50d8634af16b1e79fe8edb88d71ebc31aaba08ef649c7908fcfea629cb53 [INFO] running `Command { std: "docker" "start" "-a" "b02e50d8634af16b1e79fe8edb88d71ebc31aaba08ef649c7908fcfea629cb53", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling pear_codegen v0.1.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling object v0.30.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling cookie v0.11.5 [INFO] [stderr] Compiling rocket_codegen v0.4.11 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling uname v0.1.1 [INFO] [stderr] Compiling rocket v0.4.11 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling devise_core v0.2.1 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling devise_codegen v0.2.1 [INFO] [stderr] Compiling h2 v0.3.19 [INFO] [stderr] Compiling pest v2.7.0 [INFO] [stderr] Compiling pear v0.1.5 [INFO] [stderr] Compiling devise v0.2.1 [INFO] [stderr] Compiling rocket_http v0.4.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling sentry-contexts v0.22.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling debugid v0.7.3 [INFO] [stderr] Compiling reqwest v0.11.18 [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 54.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b02e50d8634af16b1e79fe8edb88d71ebc31aaba08ef649c7908fcfea629cb53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b02e50d8634af16b1e79fe8edb88d71ebc31aaba08ef649c7908fcfea629cb53", kill_on_drop: false }` [INFO] [stdout] b02e50d8634af16b1e79fe8edb88d71ebc31aaba08ef649c7908fcfea629cb53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c67920d3bf63f447a4403e622bb1121e5da2fbdde2726647d64adb06cd63658 [INFO] running `Command { std: "docker" "start" "-a" "6c67920d3bf63f447a4403e622bb1121e5da2fbdde2726647d64adb06cd63658", 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.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6c67920d3bf63f447a4403e622bb1121e5da2fbdde2726647d64adb06cd63658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c67920d3bf63f447a4403e622bb1121e5da2fbdde2726647d64adb06cd63658", kill_on_drop: false }` [INFO] [stdout] 6c67920d3bf63f447a4403e622bb1121e5da2fbdde2726647d64adb06cd63658 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 49d6a07d9e2168a8b31923b11444a5ebec33179ea11d2c1f988d2157b4e5161f [INFO] running `Command { std: "docker" "start" "-a" "49d6a07d9e2168a8b31923b11444a5ebec33179ea11d2c1f988d2157b4e5161f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket_sentry_logger-5e9a852a0870a5ab) [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 rocket_sentry_logger [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - set_user (line 124) ... FAILED [INFO] [stdout] test src/steps.rs - steps::StepType (line 53) ... FAILED [INFO] [stdout] test src/lib.rs - init (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - fairing (line 166) ... FAILED [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/lib.rs - set_tag (line 154) ... FAILED [INFO] [stdout] test src/lib.rs - InitConfig (line 25) ... FAILED [INFO] [stdout] test src/lib.rs - add_data (line 142) ... FAILED [INFO] [stdout] test src/lib.rs - track_step (line 106) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - set_user (line 124) 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[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: 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/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[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[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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use rocket_sentry_logger::StepType; [INFO] [stdout] | [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: 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 - 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 - 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 - log (line 95) 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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use rocket_sentry_logger::LogLevel; [INFO] [stdout] | [INFO] [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: 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[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[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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use rocket_sentry_logger::StepType; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use rocket_sentry_logger::LogLevel; [INFO] [stdout] | [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: 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 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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use rocket_sentry_logger::LogLevel; [INFO] [stdout] | [INFO] [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: 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 - 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[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[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: 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 - 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] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_json::json; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use rocket_sentry_logger::LogLevel; [INFO] [stdout] | [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: 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 - track_step (line 106) 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[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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use rocket_sentry_logger::StepType; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use rocket_sentry_logger::LogLevel; [INFO] [stdout] | [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: 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 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "49d6a07d9e2168a8b31923b11444a5ebec33179ea11d2c1f988d2157b4e5161f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d6a07d9e2168a8b31923b11444a5ebec33179ea11d2c1f988d2157b4e5161f", kill_on_drop: false }` [INFO] [stdout] 49d6a07d9e2168a8b31923b11444a5ebec33179ea11d2c1f988d2157b4e5161f