[INFO] fetching crate tenorite 0.1.2... [INFO] testing tenorite-0.1.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate tenorite 0.1.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tenorite 0.1.2 [INFO] finished tweaking crates.io crate tenorite 0.1.2 [INFO] tweaked toml for crates.io crate tenorite 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tenorite 0.1.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71dca0527939dcd37be0f497b34821a0bffe8549f2ccc5bddd2b55775d374dc1 [INFO] running `Command { std: "docker" "start" "-a" "71dca0527939dcd37be0f497b34821a0bffe8549f2ccc5bddd2b55775d374dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71dca0527939dcd37be0f497b34821a0bffe8549f2ccc5bddd2b55775d374dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71dca0527939dcd37be0f497b34821a0bffe8549f2ccc5bddd2b55775d374dc1", kill_on_drop: false }` [INFO] [stdout] 71dca0527939dcd37be0f497b34821a0bffe8549f2ccc5bddd2b55775d374dc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7052541ff08971b1dd2ea1c24397362a0aedaf1477d4c64b5e1adaad816538f2 [INFO] running `Command { std: "docker" "start" "-a" "7052541ff08971b1dd2ea1c24397362a0aedaf1477d4c64b5e1adaad816538f2", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tenorite v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.99s [INFO] running `Command { std: "docker" "inspect" "7052541ff08971b1dd2ea1c24397362a0aedaf1477d4c64b5e1adaad816538f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7052541ff08971b1dd2ea1c24397362a0aedaf1477d4c64b5e1adaad816538f2", kill_on_drop: false }` [INFO] [stdout] 7052541ff08971b1dd2ea1c24397362a0aedaf1477d4c64b5e1adaad816538f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de05b2cfa2c1b0494eafa4da67c01a941b97fd2899e0edcb67da788b471ecc5b [INFO] running `Command { std: "docker" "start" "-a" "de05b2cfa2c1b0494eafa4da67c01a941b97fd2899e0edcb67da788b471ecc5b", kill_on_drop: false }` [INFO] [stderr] Compiling tenorite v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "de05b2cfa2c1b0494eafa4da67c01a941b97fd2899e0edcb67da788b471ecc5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de05b2cfa2c1b0494eafa4da67c01a941b97fd2899e0edcb67da788b471ecc5b", kill_on_drop: false }` [INFO] [stdout] de05b2cfa2c1b0494eafa4da67c01a941b97fd2899e0edcb67da788b471ecc5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee6a7d8b4a918aab2dd3c29a8edcdb943387e94c10e27efb3a1d3cb2cb155d9e [INFO] running `Command { std: "docker" "start" "-a" "ee6a7d8b4a918aab2dd3c29a8edcdb943387e94c10e27efb3a1d3cb2cb155d9e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tenorite-55b67b2b364f837a) [INFO] [stderr] Doc-tests tenorite [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 167) ... FAILED [INFO] [stdout] test src/lib.rs - (line 71) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] test src/lib.rs - (line 122) ... FAILED [INFO] [stdout] test src/lib.rs - (line 143) ... FAILED [INFO] [stdout] test src/lib.rs - (line 157) ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 167) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `task` in this scope [INFO] [stdout] --> src/lib.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | task.await; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:168:6 [INFO] [stdout] | [INFO] [stdout] 167 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_167_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] 168 | task.await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [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 71) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `ExampleRequest` [INFO] [stdout] --> src/lib.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | use ExampleRequest::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ExampleRequest` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ExampleResponse` [INFO] [stdout] --> src/lib.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | use ExampleResponse::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ExampleResponse` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/lib.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 70 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 70 + use tenorite::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `Service` in this scope [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | Service [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Request` in this scope [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | - Request [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Response` in this scope [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | - Response [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Error` in this scope [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | - Error [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 20 + use std::fs::TryLockError::Error; [INFO] [stdout] | [INFO] [stdout] 20 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Worker` in this scope [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | - Worker [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Config` in this scope [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | - Config [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 122) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `TenoriteService` in this scope [INFO] [stdout] --> src/lib.rs:125:6 [INFO] [stdout] | [INFO] [stdout] 125 | impl TenoriteService src/lib.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | impl TenoriteService TenoriteService src/lib.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | impl TenoriteService TenoriteService src/lib.rs:125:55 [INFO] [stdout] | [INFO] [stdout] 125 | impl TenoriteService TenoriteService src/lib.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | ExampleWorker, ExampleConfig> [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 125 | impl TenoriteService src/lib.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | ExampleWorker, ExampleConfig> [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 125 | impl TenoriteService src/lib.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | let service = ExampleService {}; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExampleConfig` in this scope [INFO] [stdout] --> src/lib.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | let config = ExampleConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/lib.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | data: HashMap::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 143 + use std::collections::HashMap; [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 - (line 157) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `caller` in this scope [INFO] [stdout] --> src/lib.rs:161:16 [INFO] [stdout] | [INFO] [stdout] 161 | let response = caller.send_request(request).await; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:161:45 [INFO] [stdout] | [INFO] [stdout] 157 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_157_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 161 | let response = caller.send_request(request).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExampleRequest` [INFO] [stdout] --> src/lib.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | let request = ExampleRequest::Set { key, value }; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ExampleRequest` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 122) [INFO] [stdout] src/lib.rs - (line 143) [INFO] [stdout] src/lib.rs - (line 157) [INFO] [stdout] src/lib.rs - (line 167) [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/lib.rs - (line 71) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ee6a7d8b4a918aab2dd3c29a8edcdb943387e94c10e27efb3a1d3cb2cb155d9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee6a7d8b4a918aab2dd3c29a8edcdb943387e94c10e27efb3a1d3cb2cb155d9e", kill_on_drop: false }` [INFO] [stdout] ee6a7d8b4a918aab2dd3c29a8edcdb943387e94c10e27efb3a1d3cb2cb155d9e