[INFO] fetching crate tonic-build-codec 0.6.2... [INFO] testing tonic-build-codec-0.6.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tonic-build-codec 0.6.2 into /workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tonic-build-codec 0.6.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d75117af6629d855d595a1b7e906db6e34bea37355462af4896a8079b5a237b [INFO] running `Command { std: "docker" "start" "-a" "0d75117af6629d855d595a1b7e906db6e34bea37355462af4896a8079b5a237b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d75117af6629d855d595a1b7e906db6e34bea37355462af4896a8079b5a237b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d75117af6629d855d595a1b7e906db6e34bea37355462af4896a8079b5a237b", kill_on_drop: false }` [INFO] [stdout] 0d75117af6629d855d595a1b7e906db6e34bea37355462af4896a8079b5a237b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87190333d057e005048508faec66355a268f39699e530d8cffc6a18549a8d874 [INFO] running `Command { std: "docker" "start" "-a" "87190333d057e005048508faec66355a268f39699e530d8cffc6a18549a8d874", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [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 linux-raw-sys v0.9.4 [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 petgraph v0.6.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling tonic-build-codec v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.33s [INFO] running `Command { std: "docker" "inspect" "87190333d057e005048508faec66355a268f39699e530d8cffc6a18549a8d874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87190333d057e005048508faec66355a268f39699e530d8cffc6a18549a8d874", kill_on_drop: false }` [INFO] [stdout] 87190333d057e005048508faec66355a268f39699e530d8cffc6a18549a8d874 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6639e011c05f6a78d35b5beb75e709a06d268ab15f9141c6e3c1d34ecac9715b [INFO] running `Command { std: "docker" "start" "-a" "6639e011c05f6a78d35b5beb75e709a06d268ab15f9141c6e3c1d34ecac9715b", 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 1.37s [INFO] running `Command { std: "docker" "inspect" "6639e011c05f6a78d35b5beb75e709a06d268ab15f9141c6e3c1d34ecac9715b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6639e011c05f6a78d35b5beb75e709a06d268ab15f9141c6e3c1d34ecac9715b", kill_on_drop: false }` [INFO] [stdout] 6639e011c05f6a78d35b5beb75e709a06d268ab15f9141c6e3c1d34ecac9715b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 798380f411ac901459f2ab45a0082b9a888fd6b35228a48c083f7ea8df54a406 [INFO] running `Command { std: "docker" "start" "-a" "798380f411ac901459f2ab45a0082b9a888fd6b35228a48c083f7ea8df54a406", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [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_match_name ... ok [INFO] [stdout] test tests::test_snake_case ... 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] [stderr] Doc-tests tonic_build_codec [INFO] [stdout] [INFO] [stdout] running 4 tests [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] test src/lib.rs - (line 33) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 24) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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 - (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] [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.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "798380f411ac901459f2ab45a0082b9a888fd6b35228a48c083f7ea8df54a406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "798380f411ac901459f2ab45a0082b9a888fd6b35228a48c083f7ea8df54a406", kill_on_drop: false }` [INFO] [stdout] 798380f411ac901459f2ab45a0082b9a888fd6b35228a48c083f7ea8df54a406