[INFO] fetching crate tonic-build-codec 0.6.2... [INFO] testing tonic-build-codec-0.6.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tonic-build-codec 0.6.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate tonic-build-codec 0.6.2 [INFO] finished tweaking crates.io crate tonic-build-codec 0.6.2 [INFO] tweaked toml for crates.io crate tonic-build-codec 0.6.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tonic-build-codec 0.6.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 65 packages to latest compatible versions [INFO] [stderr] Adding prost-build v0.9.0 (available: v0.14.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efabf98c5107e79f342fbb6150a3c6f519d3dd8c4fffe2427da04db86bfeee11 [INFO] running `Command { std: "docker" "start" "-a" "efabf98c5107e79f342fbb6150a3c6f519d3dd8c4fffe2427da04db86bfeee11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efabf98c5107e79f342fbb6150a3c6f519d3dd8c4fffe2427da04db86bfeee11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efabf98c5107e79f342fbb6150a3c6f519d3dd8c4fffe2427da04db86bfeee11", kill_on_drop: false }` [INFO] [stdout] efabf98c5107e79f342fbb6150a3c6f519d3dd8c4fffe2427da04db86bfeee11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a2f3965aeac976bde1237b4ba6340338015c82927daaf70d8727b41e02b5769 [INFO] running `Command { std: "docker" "start" "-a" "7a2f3965aeac976bde1237b4ba6340338015c82927daaf70d8727b41e02b5769", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tonic-build-codec v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.41s [INFO] running `Command { std: "docker" "inspect" "7a2f3965aeac976bde1237b4ba6340338015c82927daaf70d8727b41e02b5769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a2f3965aeac976bde1237b4ba6340338015c82927daaf70d8727b41e02b5769", kill_on_drop: false }` [INFO] [stdout] 7a2f3965aeac976bde1237b4ba6340338015c82927daaf70d8727b41e02b5769 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 342619635cc660f9c323f534153a734d8fbd534e8f49110eaf402f3f2372fc8c [INFO] running `Command { std: "docker" "start" "-a" "342619635cc660f9c323f534153a734d8fbd534e8f49110eaf402f3f2372fc8c", kill_on_drop: false }` [INFO] [stderr] Compiling tonic-build-codec v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "342619635cc660f9c323f534153a734d8fbd534e8f49110eaf402f3f2372fc8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "342619635cc660f9c323f534153a734d8fbd534e8f49110eaf402f3f2372fc8c", kill_on_drop: false }` [INFO] [stdout] 342619635cc660f9c323f534153a734d8fbd534e8f49110eaf402f3f2372fc8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a0e5f61d6a6071a2d4af2f773cc0a4c36cfc18b26245dd3a1fe32f448384af77 [INFO] running `Command { std: "docker" "start" "-a" "a0e5f61d6a6071a2d4af2f773cc0a4c36cfc18b26245dd3a1fe32f448384af77", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tonic_build_codec-880fb0f6356dd60b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_snake_case ... ok [INFO] [stderr] Doc-tests tonic_build_codec [INFO] [stdout] test tests::test_match_name ... 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 4 tests [INFO] [stdout] test src/lib.rs - (line 24) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Attributes::push_struct (line 193) ... FAILED [INFO] [stdout] test src/lib.rs - Attributes::push_mod (line 180) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tonic_build` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 3 | tonic_build::compile_protos("proto/service.proto")?; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tonic_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic_build`, use `cargo add tonic_build` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tonic_build` [INFO] [stdout] --> src/lib.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 3 | tonic_build::configure() [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tonic_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic_build`, use `cargo add tonic_build` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Attributes::push_struct (line 193) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tonic_build` [INFO] [stdout] --> src/lib.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tonic_build::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tonic_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic_build`, use `cargo add tonic_build` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - Attributes::push_mod (line 180) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tonic_build` [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tonic_build::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `tonic_build` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic_build`, use `cargo add tonic_build` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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 33) [INFO] [stdout] src/lib.rs - Attributes::push_mod (line 180) [INFO] [stdout] src/lib.rs - Attributes::push_struct (line 193) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a0e5f61d6a6071a2d4af2f773cc0a4c36cfc18b26245dd3a1fe32f448384af77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0e5f61d6a6071a2d4af2f773cc0a4c36cfc18b26245dd3a1fe32f448384af77", kill_on_drop: false }` [INFO] [stdout] a0e5f61d6a6071a2d4af2f773cc0a4c36cfc18b26245dd3a1fe32f448384af77