[INFO] fetching crate rocket_sentry_logger 0.4.1... [INFO] testing rocket_sentry_logger-0.4.1 against try#5a3d3b91048a0adf280e7a4e589c1dda6443f172 for pr-115235 [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 5a3d3b91048a0adf280e7a4e589c1dda6443f172 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "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" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "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" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82c08964265126dd7f184d9f01c730efb8d83fe58678c1737cf62f04065c04b3 [INFO] running `Command { std: "docker" "start" "-a" "82c08964265126dd7f184d9f01c730efb8d83fe58678c1737cf62f04065c04b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82c08964265126dd7f184d9f01c730efb8d83fe58678c1737cf62f04065c04b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82c08964265126dd7f184d9f01c730efb8d83fe58678c1737cf62f04065c04b3", kill_on_drop: false }` [INFO] [stdout] 82c08964265126dd7f184d9f01c730efb8d83fe58678c1737cf62f04065c04b3 [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3385a08777b9bcf3a0243a57410106b4d883f30d25d1ee16626e56991c43809c [INFO] running `Command { std: "docker" "start" "-a" "3385a08777b9bcf3a0243a57410106b4d883f30d25d1ee16626e56991c43809c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling indexmap v1.9.3 [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 bytes v1.5.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling pear_codegen v0.1.5 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling cookie v0.11.5 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling rocket_codegen v0.4.11 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling match_cfg v0.1.0 [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.33 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling devise_core v0.2.1 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling devise_codegen v0.2.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling pest v2.7.3 [INFO] [stderr] Compiling devise v0.2.1 [INFO] [stderr] Compiling pear v0.1.5 [INFO] [stderr] Compiling rocket_http v0.4.11 [INFO] [stderr] Compiling semver-parser v0.10.2 [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 tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling debugid v0.7.3 [INFO] [stderr] Compiling reqwest v0.11.20 [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 42.07s [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" "3385a08777b9bcf3a0243a57410106b4d883f30d25d1ee16626e56991c43809c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3385a08777b9bcf3a0243a57410106b4d883f30d25d1ee16626e56991c43809c", kill_on_drop: false }` [INFO] [stdout] 3385a08777b9bcf3a0243a57410106b4d883f30d25d1ee16626e56991c43809c [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bbeeee1b7ed05b16bc2d21e0bc4b389dde43c2651686525c2275f8a9476c6e5 [INFO] running `Command { std: "docker" "start" "-a" "5bbeeee1b7ed05b16bc2d21e0bc4b389dde43c2651686525c2275f8a9476c6e5", 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.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] Blocking waiting for file lock on package cache [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" "5bbeeee1b7ed05b16bc2d21e0bc4b389dde43c2651686525c2275f8a9476c6e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bbeeee1b7ed05b16bc2d21e0bc4b389dde43c2651686525c2275f8a9476c6e5", kill_on_drop: false }` [INFO] [stdout] 5bbeeee1b7ed05b16bc2d21e0bc4b389dde43c2651686525c2275f8a9476c6e5 [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7a4e1e046e13ec34bcde5058fd2bff3e1c219cf0426e7592560e92c7b1138e4f [INFO] running `Command { std: "docker" "start" "-a" "7a4e1e046e13ec34bcde5058fd2bff3e1c219cf0426e7592560e92c7b1138e4f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [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-2080d2de824fd9a9) [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 - InitConfig (line 25) ... FAILED [INFO] [stdout] test src/lib.rs - fairing (line 166) ... FAILED [INFO] [stdout] test src/lib.rs - init (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - log (line 95) ... FAILED [INFO] [stdout] test src/steps.rs - steps::StepType (line 53) ... 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] test src/lib.rs - set_tag (line 154) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/steps.rs - steps::Step (line 8) ... FAILED [INFO] [stdout] test src/lib.rs - add_data (line 142) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::logger; [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 - 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 - 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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::logger; [INFO] [stdout] | [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 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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::logger; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use rocket_sentry_logger::LogLevel; [INFO] [stdout] | [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::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 - 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/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] ---- 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: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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::logger; [INFO] [stdout] | [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] 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: 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[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 - 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 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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::logger; [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: 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] [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.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7a4e1e046e13ec34bcde5058fd2bff3e1c219cf0426e7592560e92c7b1138e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a4e1e046e13ec34bcde5058fd2bff3e1c219cf0426e7592560e92c7b1138e4f", kill_on_drop: false }` [INFO] [stdout] 7a4e1e046e13ec34bcde5058fd2bff3e1c219cf0426e7592560e92c7b1138e4f