[INFO] fetching crate fastn-context 0.1.3... [INFO] testing fastn-context-0.1.3 against 1.90.0 for beta-1.91-3 [INFO] extracting crate fastn-context 0.1.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate fastn-context 0.1.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate fastn-context 0.1.3 [INFO] tweaked toml for crates.io crate fastn-context 0.1.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fastn-context 0.1.3 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fastn-context 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded fastn-context-macros v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c438059dc75facb8ac97488e5379c4c1cafa8e813a95e78b8fea7d7d72cba0f7 [INFO] running `Command { std: "docker" "start" "-a" "c438059dc75facb8ac97488e5379c4c1cafa8e813a95e78b8fea7d7d72cba0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c438059dc75facb8ac97488e5379c4c1cafa8e813a95e78b8fea7d7d72cba0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c438059dc75facb8ac97488e5379c4c1cafa8e813a95e78b8fea7d7d72cba0f7", kill_on_drop: false }` [INFO] [stdout] c438059dc75facb8ac97488e5379c4c1cafa8e813a95e78b8fea7d7d72cba0f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab8f3e789aefe4ca6438341b885a9b36e6c1abe060b759e25bcfc5d2ecfe9c09 [INFO] running `Command { std: "docker" "start" "-a" "ab8f3e789aefe4ca6438341b885a9b36e6c1abe060b759e25bcfc5d2ecfe9c09", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling fastn-context-macros v0.1.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling fastn-context v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.66s [INFO] running `Command { std: "docker" "inspect" "ab8f3e789aefe4ca6438341b885a9b36e6c1abe060b759e25bcfc5d2ecfe9c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab8f3e789aefe4ca6438341b885a9b36e6c1abe060b759e25bcfc5d2ecfe9c09", kill_on_drop: false }` [INFO] [stdout] ab8f3e789aefe4ca6438341b885a9b36e6c1abe060b759e25bcfc5d2ecfe9c09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f976528d5af0498568046cc4f9726bb8f5e84bdf5b18e26d76b620849a7efec7 [INFO] running `Command { std: "docker" "start" "-a" "f976528d5af0498568046cc4f9726bb8f5e84bdf5b18e26d76b620849a7efec7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling fastn-context-macros v0.1.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling fastn-context v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stdout] warning: extern crate `tokio_test` is unused in crate `fastn_context` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use tokio_test as _;` to the crate root [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | #![deny(unused_crate_dependencies)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.62s [INFO] running `Command { std: "docker" "inspect" "f976528d5af0498568046cc4f9726bb8f5e84bdf5b18e26d76b620849a7efec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f976528d5af0498568046cc4f9726bb8f5e84bdf5b18e26d76b620849a7efec7", kill_on_drop: false }` [INFO] [stdout] f976528d5af0498568046cc4f9726bb8f5e84bdf5b18e26d76b620849a7efec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d439a0820a90ecb5418f2b36524b03f7ffa7ae1619e049dcc33eed46b351a2cc [INFO] running `Command { std: "docker" "start" "-a" "d439a0820a90ecb5418f2b36524b03f7ffa7ae1619e049dcc33eed46b351a2cc", kill_on_drop: false }` [INFO] [stderr] warning: extern crate `tokio_test` is unused in crate `fastn_context` [INFO] [stderr] | [INFO] [stderr] = help: remove the dependency or add `use tokio_test as _;` to the crate root [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:107:9 [INFO] [stderr] | [INFO] [stderr] 107 | #![deny(unused_crate_dependencies)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fastn-context` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fastn_context-919d382607919fab) [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 fastn_context [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 63) ... FAILED [INFO] [stdout] test src/lib.rs - (line 24) ... FAILED [INFO] [stdout] test src/lib.rs - (line 50) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 63) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `builder` found for struct `fastn_context::Context` in the current scope [INFO] [stdout] --> src/lib.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 10 | let ctx = Context::builder("my-app").build(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `fastn_context::Context` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 24) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `builder` found for struct `fastn_context::Context` in the current scope [INFO] [stdout] --> src/lib.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 9 | let ctx = Context::builder("my-app").build(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `fastn_context::Context` [INFO] [stdout] [INFO] [stdout] error[E0277]: `Status` is not a future [INFO] [stdout] --> src/lib.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 20 | let status = fastn_context::status().await; [INFO] [stdout] | ----------------------- ^^^^^ `Status` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Status` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Status` [INFO] [stdout] = note: Status must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Status` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 20 - let status = fastn_context::status().await; [INFO] [stdout] 20 + let status = fastn_context::status(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 50) stdout ---- [INFO] [stdout] error[E0277]: `Arc` is not a future [INFO] [stdout] --> src/lib.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 9 | let ctx = fastn_context::global().await; [INFO] [stdout] | ----------------------- ^^^^^ `Arc` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Arc` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Arc` [INFO] [stdout] = note: Arc must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Arc` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 9 - let ctx = fastn_context::global().await; [INFO] [stdout] 9 + let ctx = fastn_context::global(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() { [INFO] [stdout] | _________________^ [INFO] [stdout] 8 | | // Global context is automatically available [INFO] [stdout] 9 | | let ctx = fastn_context::global().await; [INFO] [stdout] 10 | | println!("App: {}", ctx.name()); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ expected `Result<(), Box>`, found `()` [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 24) [INFO] [stdout] src/lib.rs - (line 50) [INFO] [stdout] src/lib.rs - (line 63) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d439a0820a90ecb5418f2b36524b03f7ffa7ae1619e049dcc33eed46b351a2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d439a0820a90ecb5418f2b36524b03f7ffa7ae1619e049dcc33eed46b351a2cc", kill_on_drop: false }` [INFO] [stdout] d439a0820a90ecb5418f2b36524b03f7ffa7ae1619e049dcc33eed46b351a2cc