[INFO] fetching crate prometrics_sb 0.1.2... [INFO] testing prometrics_sb-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [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 c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 181 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d4c17fcecfb274a875972b5515fcd5463c3d8eef519412ee6e4e55479bfd70b [INFO] running `Command { std: "docker" "start" "-a" "1d4c17fcecfb274a875972b5515fcd5463c3d8eef519412ee6e4e55479bfd70b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d4c17fcecfb274a875972b5515fcd5463c3d8eef519412ee6e4e55479bfd70b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d4c17fcecfb274a875972b5515fcd5463c3d8eef519412ee6e4e55479bfd70b", kill_on_drop: false }` [INFO] [stdout] 1d4c17fcecfb274a875972b5515fcd5463c3d8eef519412ee6e4e55479bfd70b [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4c77f52e5e6ef725b877cf647596d6b6a16d4b94184ffe9fd03fdc8d46f65cf [INFO] running `Command { std: "docker" "start" "-a" "f4c77f52e5e6ef725b877cf647596d6b6a16d4b94184ffe9fd03fdc8d46f65cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [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 synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.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.17 [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.8.1 [INFO] [stderr] Compiling hyper-util v0.1.18 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling prometrics_sb v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 02s [INFO] running `Command { std: "docker" "inspect" "f4c77f52e5e6ef725b877cf647596d6b6a16d4b94184ffe9fd03fdc8d46f65cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4c77f52e5e6ef725b877cf647596d6b6a16d4b94184ffe9fd03fdc8d46f65cf", kill_on_drop: false }` [INFO] [stdout] f4c77f52e5e6ef725b877cf647596d6b6a16d4b94184ffe9fd03fdc8d46f65cf [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7793073b91d7dd5bdd79ebc0a0f7c6b2c62ebe153988f086db3ec96512163f12 [INFO] running `Command { std: "docker" "start" "-a" "7793073b91d7dd5bdd79ebc0a0f7c6b2c62ebe153988f086db3ec96512163f12", 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.62s [INFO] running `Command { std: "docker" "inspect" "7793073b91d7dd5bdd79ebc0a0f7c6b2c62ebe153988f086db3ec96512163f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7793073b91d7dd5bdd79ebc0a0f7c6b2c62ebe153988f086db3ec96512163f12", kill_on_drop: false }` [INFO] [stdout] 7793073b91d7dd5bdd79ebc0a0f7c6b2c62ebe153988f086db3ec96512163f12 [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 783cf3b6585c3d9f4d6e541cb17f18b7925f532e32ab460997d93e548f4499b3 [INFO] running `Command { std: "docker" "start" "-a" "783cf3b6585c3d9f4d6e541cb17f18b7925f532e32ab460997d93e548f4499b3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prometrics_sb-6c327fc3a63aa171) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_gauge ... ok [INFO] [stdout] test tests::test_counter ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests prometrics_sb [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::run_prom (line 130) ... FAILED [INFO] [stdout] test src/axpromlib.rs - axpromlib::run_metrics (line 34) ... FAILED [INFO] [stdout] test src/axpromlib.rs - axpromlib::auth (line 58) ... 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] [stderr] error: doctest failed, to rerun pass `--doc` [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] 63 | [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] 90 | 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] 89 + 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::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] 131 | 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] 130 + 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] 35 | let app = Router::new() [INFO] [stdout] | ^^^^^^ use of undeclared type `Router` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 + 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] 36 | .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] 34 + 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] 36 | .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] 34 + 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/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] 59 | match auth(req) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 58 + 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] 59 | 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] 61 | 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/lib.rs - (line 5) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 41 | 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' (90) panicked at src/axpromlib.rs:85:41: [INFO] [stdout] No value for value [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57085e9f3c52 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x57085e9f3c52 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x57085e9f3c52 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57085e9f3c52 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57085ea027df - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57085ea027df - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x57085e9d2b13 - std::io::default_write_fmt::hb29d13affe7e9cd0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x57085e9d2b13 - std::io::Write::write_fmt::hec441b8c6eca32b9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x57085e9d79f2 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x57085e9d921c - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x57085e9d9076 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x57085e9d97f5 - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x57085e9d968a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x57085e9d7b29 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x57085e9c757d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x57085ea05710 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x57085e9c6fc4 - prometrics_sb::axpromlib::get_str_var::{{closure}}::h36c61a796dddef03 [INFO] [stdout] at /opt/rustwide/workdir/src/axpromlib.rs:85:41 [INFO] [stdout] 17: 0x57085e9c7056 - core::result::Result::unwrap_or_else::ha8fdc1439852c34d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1622:23 [INFO] [stdout] 18: 0x57085e9c6f29 - prometrics_sb::axpromlib::get_str_var::he200fcff17445bee [INFO] [stdout] at /opt/rustwide/workdir/src/axpromlib.rs:85:22 [INFO] [stdout] 19: 0x57085e9c6e49 - rust_out::main::_doctest_main_src_axpromlib_rs_80_0::h9f89970745c7c8e9 [INFO] [stdout] 20: 0x57085e9c6e26 - rust_out::main::h583ff58340d718d9 [INFO] [stdout] 21: 0x57085e9c6dc3 - core::ops::function::FnOnce::call_once::h14c180921ac1da5e [INFO] [stdout] 22: 0x57085e9c6da6 - std::sys::backtrace::__rust_begin_short_backtrace::h6b98eb9b1ad88857 [INFO] [stdout] 23: 0x57085e9c6d89 - std::rt::lang_start::{{closure}}::h2fc95fa84f0c83a2 [INFO] [stdout] 24: 0x57085e9d39d0 - core::ops::function::impls:: for &F>::call_once::h9095abc9db71b07e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 25: 0x57085e9d39d0 - std::panicking::catch_unwind::do_call::h6cf5dc461761418c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 26: 0x57085e9d39d0 - std::panicking::catch_unwind::h60074fd2327f40bd [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 27: 0x57085e9d39d0 - std::panic::catch_unwind::heb14fa8e39d051cf [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 28: 0x57085e9d39d0 - std::rt::lang_start_internal::{{closure}}::hfb550bec36306a19 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:175:24 [INFO] [stdout] 29: 0x57085e9d39d0 - std::panicking::catch_unwind::do_call::hc805f36f35b6d647 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x57085e9d39d0 - std::panicking::catch_unwind::hb8d32f0195463ad2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x57085e9d39d0 - std::panic::catch_unwind::hcebe3b1d5adfc5a2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x57085e9d39d0 - std::rt::lang_start_internal::h27f55ed238aa26df [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:171:5 [INFO] [stdout] 33: 0x57085e9c6d71 - std::rt::lang_start::h762c340aaede70f7 [INFO] [stdout] 34: 0x57085e9c6e75 - main [INFO] [stdout] 35: 0x77b7b45d51ca - [INFO] [stdout] 36: 0x77b7b45d528b - __libc_start_main [INFO] [stdout] 37: 0x57085e9c6c85 - _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.61s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "783cf3b6585c3d9f4d6e541cb17f18b7925f532e32ab460997d93e548f4499b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "783cf3b6585c3d9f4d6e541cb17f18b7925f532e32ab460997d93e548f4499b3", kill_on_drop: false }` [INFO] [stdout] 783cf3b6585c3d9f4d6e541cb17f18b7925f532e32ab460997d93e548f4499b3