[INFO] fetching crate devzat-rs 0.1.4... [INFO] testing devzat-rs-0.1.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate devzat-rs 0.1.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate devzat-rs 0.1.4 [INFO] finished tweaking crates.io crate devzat-rs 0.1.4 [INFO] tweaked toml for crates.io crate devzat-rs 0.1.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate devzat-rs 0.1.4 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] Updating crates.io index [INFO] [stderr] Locking 138 packages to latest compatible versions [INFO] [stderr] Adding prost v0.10.4 (available: v0.14.1) [INFO] [stderr] Adding tonic v0.7.2 (available: v0.14.2) [INFO] [stderr] Adding tonic-build v0.7.2 (available: v0.14.2) [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] [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0ee63f78bf12eb89d0b47b27acb3ccd77f7dd5d3be5d14fdf10b0551da9d3096 [INFO] running `Command { std: "docker" "start" "-a" "0ee63f78bf12eb89d0b47b27acb3ccd77f7dd5d3be5d14fdf10b0551da9d3096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ee63f78bf12eb89d0b47b27acb3ccd77f7dd5d3be5d14fdf10b0551da9d3096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ee63f78bf12eb89d0b47b27acb3ccd77f7dd5d3be5d14fdf10b0551da9d3096", kill_on_drop: false }` [INFO] [stdout] 0ee63f78bf12eb89d0b47b27acb3ccd77f7dd5d3be5d14fdf10b0551da9d3096 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 41e05c2173b8a8d601686a9eddac1ff1dca5ab8b3be9dd44c83d045462b9a14f [INFO] running `Command { std: "docker" "start" "-a" "41e05c2173b8a8d601686a9eddac1ff1dca5ab8b3be9dd44c83d045462b9a14f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling axum-core v0.2.9 [INFO] [stderr] Compiling devzat-rs v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.3.5 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling axum v0.5.17 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.7.2 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "41e05c2173b8a8d601686a9eddac1ff1dca5ab8b3be9dd44c83d045462b9a14f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41e05c2173b8a8d601686a9eddac1ff1dca5ab8b3be9dd44c83d045462b9a14f", kill_on_drop: false }` [INFO] [stdout] 41e05c2173b8a8d601686a9eddac1ff1dca5ab8b3be9dd44c83d045462b9a14f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c382e4395183ea3597b9c593c29a33019cb78c497ca5166d6861c0352b96776d [INFO] running `Command { std: "docker" "start" "-a" "c382e4395183ea3597b9c593c29a33019cb78c497ca5166d6861c0352b96776d", kill_on_drop: false }` [INFO] [stderr] Compiling devzat-rs v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "c382e4395183ea3597b9c593c29a33019cb78c497ca5166d6861c0352b96776d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c382e4395183ea3597b9c593c29a33019cb78c497ca5166d6861c0352b96776d", kill_on_drop: false }` [INFO] [stdout] c382e4395183ea3597b9c593c29a33019cb78c497ca5166d6861c0352b96776d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 066142feec5cfde6c3eb1431ff2c443cfa4fb21a74c45a14528709ec2b6f977d [INFO] running `Command { std: "docker" "start" "-a" "066142feec5cfde6c3eb1431ff2c443cfa4fb21a74c45a14528709ec2b6f977d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/devzat_rs-419074698dcad1aa) [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 devzat_rs [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - Client::register_listener (line 124) ... FAILED [INFO] [stdout] test src/lib.rs - Client::register_cmd (line 182) ... FAILED [INFO] [stdout] test src/lib.rs - Client::send_message (line 76) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Client::register_listener (line 124) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | let listener = Listener { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [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/lib.rs - Client::register_cmd (line 182) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/lib.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | client [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:186:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_182_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 186 | }).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 - Client::send_message (line 76) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/lib.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | let client = Client::new( [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 + use devzat_rs::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 76 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_76_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 90 | fut.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: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Client::register_cmd (line 182) [INFO] [stdout] src/lib.rs - Client::register_listener (line 124) [INFO] [stdout] src/lib.rs - Client::send_message (line 76) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "066142feec5cfde6c3eb1431ff2c443cfa4fb21a74c45a14528709ec2b6f977d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "066142feec5cfde6c3eb1431ff2c443cfa4fb21a74c45a14528709ec2b6f977d", kill_on_drop: false }` [INFO] [stdout] 066142feec5cfde6c3eb1431ff2c443cfa4fb21a74c45a14528709ec2b6f977d