[INFO] fetching crate prometrics_sb 0.1.2... [INFO] testing prometrics_sb-0.1.2 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate prometrics_sb 0.1.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate prometrics_sb 0.1.2 [INFO] finished tweaking crates.io crate prometrics_sb 0.1.2 [INFO] tweaked toml for crates.io crate prometrics_sb 0.1.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate prometrics_sb 0.1.2 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 184 packages to latest compatible versions [INFO] [stderr] Adding axum v0.7.9 (available: v0.8.6) [INFO] [stderr] Adding prometheus v0.13.4 (available: v0.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8d65782fe765db4d3d96b5de20d5a7dcabd398b1ce0c9a06c53d8d9795972af [INFO] running `Command { std: "docker" "start" "-a" "e8d65782fe765db4d3d96b5de20d5a7dcabd398b1ce0c9a06c53d8d9795972af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8d65782fe765db4d3d96b5de20d5a7dcabd398b1ce0c9a06c53d8d9795972af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d65782fe765db4d3d96b5de20d5a7dcabd398b1ce0c9a06c53d8d9795972af", kill_on_drop: false }` [INFO] [stdout] e8d65782fe765db4d3d96b5de20d5a7dcabd398b1ce0c9a06c53d8d9795972af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b727d65a185fef214d15b6e8b928f3bf0ba991ab5b557d8d1542a20d103d0df2 [INFO] running `Command { std: "docker" "start" "-a" "b727d65a185fef214d15b6e8b928f3bf0ba991ab5b557d8d1542a20d103d0df2", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling memory-stats v1.2.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling prometrics_sb v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "b727d65a185fef214d15b6e8b928f3bf0ba991ab5b557d8d1542a20d103d0df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b727d65a185fef214d15b6e8b928f3bf0ba991ab5b557d8d1542a20d103d0df2", kill_on_drop: false }` [INFO] [stdout] b727d65a185fef214d15b6e8b928f3bf0ba991ab5b557d8d1542a20d103d0df2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 230a70fa125f48fb1e9b70b930bf0a5add4985341dc862d28012fd1c9beea6ef [INFO] running `Command { std: "docker" "start" "-a" "230a70fa125f48fb1e9b70b930bf0a5add4985341dc862d28012fd1c9beea6ef", kill_on_drop: false }` [INFO] [stderr] Compiling prometrics_sb v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.75s [INFO] running `Command { std: "docker" "inspect" "230a70fa125f48fb1e9b70b930bf0a5add4985341dc862d28012fd1c9beea6ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230a70fa125f48fb1e9b70b930bf0a5add4985341dc862d28012fd1c9beea6ef", kill_on_drop: false }` [INFO] [stdout] 230a70fa125f48fb1e9b70b930bf0a5add4985341dc862d28012fd1c9beea6ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d8b83a73c6a7028dcef379d1cf2ed84ea47ff728130df60e197348c911378289 [INFO] running `Command { std: "docker" "start" "-a" "d8b83a73c6a7028dcef379d1cf2ed84ea47ff728130df60e197348c911378289", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prometrics_sb-d90ebee2c68eb677) [INFO] [stdout] [INFO] [stderr] Doc-tests prometrics_sb [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_counter ... ok [INFO] [stdout] test tests::test_gauge ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 62) ... FAILED [INFO] [stdout] test src/axpromlib.rs - axpromlib::start_sender (line 89) ... FAILED [INFO] [stdout] test src/axpromlib.rs - axpromlib::auth (line 58) ... FAILED [INFO] [stdout] test src/axpromlib.rs - axpromlib::run_prom (line 130) ... FAILED [INFO] [stdout] test src/axpromlib.rs - axpromlib::run_metrics (line 34) ... FAILED [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] test src/axpromlib.rs - axpromlib::load_env (line 145) ... ok [INFO] [stdout] test src/axpromlib.rs - axpromlib::get_str_var (line 80) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 62) stdout ---- [INFO] [stdout] error: expected item, found `[` [INFO] [stdout] --> src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 1 | [dependencies] [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/axpromlib.rs - axpromlib::start_sender (line 89) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `start_sender` in this scope [INFO] [stdout] --> src/axpromlib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 3 | start_sender(5, "job", "name", "value", "127.0.0.1:9090", "username", "pass"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use prometrics_sb::axpromlib::start_sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/axpromlib.rs - axpromlib::auth (line 58) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `auth` in this scope [INFO] [stdout] --> src/axpromlib.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 3 | match auth(req) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use prometrics_sb::axpromlib::auth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `req` in this scope [INFO] [stdout] --> src/axpromlib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 3 | match auth(req) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/axpromlib.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 5 | Err(_err) => return Err(StatusCode::UNAUTHORIZED), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/axpromlib.rs - axpromlib::run_prom (line 130) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `run_prom` in this scope [INFO] [stdout] --> src/axpromlib.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 3 | run_prom("0.0.0.0:8081"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use prometrics_sb::axpromlib::run_prom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/axpromlib.rs - axpromlib::run_metrics (line 34) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Router` [INFO] [stdout] --> src/axpromlib.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 3 | let app = Router::new() [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use axum::Router; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get` in this scope [INFO] [stdout] --> src/axpromlib.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 4 | .route("/metrics", get(run_metrics)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use axum::routing::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `run_metrics` in this scope [INFO] [stdout] --> src/axpromlib.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 4 | .route("/metrics", get(run_metrics)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use prometrics_sb::axpromlib::run_metrics; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(Json(serde_json::from_str(data).unwrap())) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/axpromlib.rs - axpromlib::get_str_var (line 80) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (115) panicked at src/axpromlib.rs:85:41: [INFO] [stdout] No value for value [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5a199b0d25f2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5a199b0d25f2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5a199b0d25f2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5a199b0d25f2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5a199b0e12bf - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5a199b0e12bf - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5a199b0b0e01 - std::io::default_write_fmt::h1ecb8c7cfa7da481 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5a199b0b0e01 - std::io::Write::write_fmt::h051fe4a9e4fdbf48 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5a199b0b5f32 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5a199b0b778c - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5a199b0b75e6 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5a199b0b7e15 - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5a199b0b7caa - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5a199b0b6069 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5a199b0a592d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5a199b0e4190 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5a199b0a5349 - prometrics_sb::axpromlib::get_str_var::{{closure}}::hdea4c7c15c71e508 [INFO] [stdout] at /opt/rustwide/workdir/src/axpromlib.rs:85:41 [INFO] [stdout] 17: 0x5a199b0a53d8 - core::result::Result::unwrap_or_else::h77be09ec1635bdc5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1615:23 [INFO] [stdout] 18: 0x5a199b0a52b9 - prometrics_sb::axpromlib::get_str_var::hf43dc4a9fc19c4d5 [INFO] [stdout] at /opt/rustwide/workdir/src/axpromlib.rs:85:22 [INFO] [stdout] 19: 0x5a199b0a51c9 - rust_out::main::_doctest_main_src_axpromlib_rs_80_0::hb7a9e366565be4a5 [INFO] [stdout] 20: 0x5a199b0a51a6 - rust_out::main::h909c389308a13d94 [INFO] [stdout] 21: 0x5a199b0a5183 - core::ops::function::FnOnce::call_once::he80aaf16098e337a [INFO] [stdout] 22: 0x5a199b0a5126 - std::sys::backtrace::__rust_begin_short_backtrace::hd4f5856814720a68 [INFO] [stdout] 23: 0x5a199b0a5109 - std::rt::lang_start::{{closure}}::hdd522a24cafb4b4b [INFO] [stdout] 24: 0x5a199b0b1f10 - core::ops::function::impls:: for &F>::call_once::h4967fb77e0dfb65c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 25: 0x5a199b0b1f10 - std::panicking::catch_unwind::do_call::hf7e87675c3e14c23 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 26: 0x5a199b0b1f10 - std::panicking::catch_unwind::h26f0e342004b5114 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 27: 0x5a199b0b1f10 - std::panic::catch_unwind::h9ee33ca17775d897 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 28: 0x5a199b0b1f10 - std::rt::lang_start_internal::{{closure}}::h243ba3495fa13cf8 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:175:24 [INFO] [stdout] 29: 0x5a199b0b1f10 - std::panicking::catch_unwind::do_call::h819db0a7788e7259 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5a199b0b1f10 - std::panicking::catch_unwind::h23e08fb4a7b9f405 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5a199b0b1f10 - std::panic::catch_unwind::h7ca3d9eabb6135ff [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5a199b0b1f10 - std::rt::lang_start_internal::h06ad7395f4fda8d7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:171:5 [INFO] [stdout] 33: 0x5a199b0a50f1 - std::rt::lang_start::h5d51bffdfd88737a [INFO] [stdout] 34: 0x5a199b0a51f5 - main [INFO] [stdout] 35: 0x7880182361ca - [INFO] [stdout] 36: 0x78801823628b - __libc_start_main [INFO] [stdout] 37: 0x5a199b0a5005 - _start [INFO] [stdout] 38: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/axpromlib.rs - axpromlib::auth (line 58) [INFO] [stdout] src/axpromlib.rs - axpromlib::get_str_var (line 80) [INFO] [stdout] src/axpromlib.rs - axpromlib::run_metrics (line 34) [INFO] [stdout] src/axpromlib.rs - axpromlib::run_prom (line 130) [INFO] [stdout] src/axpromlib.rs - axpromlib::start_sender (line 89) [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] src/lib.rs - (line 62) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.70s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d8b83a73c6a7028dcef379d1cf2ed84ea47ff728130df60e197348c911378289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b83a73c6a7028dcef379d1cf2ed84ea47ff728130df60e197348c911378289", kill_on_drop: false }` [INFO] [stdout] d8b83a73c6a7028dcef379d1cf2ed84ea47ff728130df60e197348c911378289