[INFO] fetching crate informalsystems-tonic-build 0.5.2... [INFO] testing informalsystems-tonic-build-0.5.2 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate informalsystems-tonic-build 0.5.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate informalsystems-tonic-build 0.5.2 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate informalsystems-tonic-build 0.5.2 [INFO] finished tweaking crates.io crate informalsystems-tonic-build 0.5.2 [INFO] tweaked toml for crates.io crate informalsystems-tonic-build 0.5.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 566adc1d856d4268a3eefb4531234c228ff7299b667fc177b27034dafdea7363 [INFO] running `Command { std: "docker" "start" "-a" "566adc1d856d4268a3eefb4531234c228ff7299b667fc177b27034dafdea7363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "566adc1d856d4268a3eefb4531234c228ff7299b667fc177b27034dafdea7363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "566adc1d856d4268a3eefb4531234c228ff7299b667fc177b27034dafdea7363", kill_on_drop: false }` [INFO] [stdout] 566adc1d856d4268a3eefb4531234c228ff7299b667fc177b27034dafdea7363 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 677a7bde1c852168b5b0f6a4081bf6bb78ec39bd4ca929238285b15e37ca6619 [INFO] running `Command { std: "docker" "start" "-a" "677a7bde1c852168b5b0f6a4081bf6bb78ec39bd4ca929238285b15e37ca6619", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling informalsystems-prost-build v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling informalsystems-prost-derive v0.8.1 [INFO] [stderr] Compiling informalsystems-prost v0.8.1 [INFO] [stderr] Compiling informalsystems-prost-types v0.8.1 [INFO] [stderr] Compiling informalsystems-tonic-build v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.72s [INFO] running `Command { std: "docker" "inspect" "677a7bde1c852168b5b0f6a4081bf6bb78ec39bd4ca929238285b15e37ca6619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "677a7bde1c852168b5b0f6a4081bf6bb78ec39bd4ca929238285b15e37ca6619", kill_on_drop: false }` [INFO] [stdout] 677a7bde1c852168b5b0f6a4081bf6bb78ec39bd4ca929238285b15e37ca6619 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e61fe3cebd3033966b4b8128d972b2068685300f702bac2fa163009ce23a0409 [INFO] running `Command { std: "docker" "start" "-a" "e61fe3cebd3033966b4b8128d972b2068685300f702bac2fa163009ce23a0409", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling informalsystems-tonic-build v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.46s [INFO] running `Command { std: "docker" "inspect" "e61fe3cebd3033966b4b8128d972b2068685300f702bac2fa163009ce23a0409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e61fe3cebd3033966b4b8128d972b2068685300f702bac2fa163009ce23a0409", kill_on_drop: false }` [INFO] [stdout] e61fe3cebd3033966b4b8128d972b2068685300f702bac2fa163009ce23a0409 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2eb3d0a3fa05f6fc673d344e30ea0374c74214013f3e4b6e359cdef78b487db4 [INFO] running `Command { std: "docker" "start" "-a" "2eb3d0a3fa05f6fc673d344e30ea0374c74214013f3e4b6e359cdef78b487db4", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/informalsystems_tonic_build-0472e3e273953a5a) [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 informalsystems-tonic-build [INFO] [stderr] warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links` [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | #![deny(broken_intra_doc_links)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - Attributes::push_mod (line 180) ... FAILED [INFO] [stdout] test src/lib.rs - Attributes::push_struct (line 193) ... 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_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 undeclared crate or module `tonic_build` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Attributes` [INFO] [stdout] --> src/lib.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 4 | let mut attributes = Attributes::default(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use informalsystems_tonic_build::Attributes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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 undeclared crate or module `tonic_build` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Attributes` [INFO] [stdout] --> src/lib.rs:195:22 [INFO] [stdout] | [INFO] [stdout] 4 | let mut attributes = Attributes::default(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use informalsystems_tonic_build::Attributes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an 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 undeclared crate or module `tonic_build` [INFO] [stdout] --> src/lib.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 3 | tonic_build::configure() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tonic_build` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 undeclared crate or module `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 undeclared crate or module `tonic_build` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2eb3d0a3fa05f6fc673d344e30ea0374c74214013f3e4b6e359cdef78b487db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eb3d0a3fa05f6fc673d344e30ea0374c74214013f3e4b6e359cdef78b487db4", kill_on_drop: false }` [INFO] [stdout] 2eb3d0a3fa05f6fc673d344e30ea0374c74214013f3e4b6e359cdef78b487db4