[INFO] fetching crate raft-engine 0.4.2... [INFO] checking raft-engine-0.4.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate raft-engine 0.4.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate raft-engine 0.4.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate raft-engine 0.4.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate raft-engine 0.4.2 [INFO] tweaked toml for crates.io crate raft-engine 0.4.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate raft-engine 0.4.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prometheus v0.13.3 [INFO] [stderr] Downloaded rhai_codegen v2.1.0 [INFO] [stderr] Downloaded prometheus-static-metric v0.5.1 [INFO] [stderr] Downloaded rhai v1.18.0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6673f691f850df377903d20b9008d0902c7bcd1bad38eddcf434257cba00ab8a [INFO] running `Command { std: "docker" "start" "-a" "6673f691f850df377903d20b9008d0902c7bcd1bad38eddcf434257cba00ab8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6673f691f850df377903d20b9008d0902c7bcd1bad38eddcf434257cba00ab8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6673f691f850df377903d20b9008d0902c7bcd1bad38eddcf434257cba00ab8a", kill_on_drop: false }` [INFO] [stdout] 6673f691f850df377903d20b9008d0902c7bcd1bad38eddcf434257cba00ab8a [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1624d75e34e6a56dc4331eb870812a2801d0bbfc83695680ad6eacb9d0ae2f8 [INFO] running `Command { std: "docker" "start" "-a" "e1624d75e34e6a56dc4331eb870812a2801d0bbfc83695680ad6eacb9d0ae2f8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling lz4-sys v1.9.4 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking thin-vec v0.2.13 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling rhai_codegen v2.1.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking fail v0.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rhai v1.18.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling prometheus-static-metric v0.5.1 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking raft-engine v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kvproto` [INFO] [stdout] --> src/engine.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | use kvproto::raft_serverpb::RaftLocalState; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kvproto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raft` [INFO] [stdout] --> src/engine.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of undeclared crate or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raft` [INFO] [stdout] --> src/file_pipe_log/mod.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of undeclared crate or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raft` [INFO] [stdout] --> src/log_batch.rs:1116:9 [INFO] [stdout] | [INFO] [stdout] 1116 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of undeclared crate or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raft` [INFO] [stdout] --> src/test_util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of undeclared crate or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raft` [INFO] [stdout] --> src/lib.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of undeclared crate or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use protobuf::{parse_from_bytes, Message}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | let e = parse_from_bytes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 241 | return Ok(Some(parse_from_bytes(&value)?)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:270:28 [INFO] [stdout] | [INFO] [stdout] 270 | if let Ok(v) = parse_from_bytes(raw_v) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use protobuf::{parse_from_bytes, Message}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | let e = parse_from_bytes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 241 | return Ok(Some(parse_from_bytes(&value)?)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/engine.rs:270:28 [INFO] [stdout] | [INFO] [stdout] 270 | if let Ok(v) = parse_from_bytes(raw_v) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/log_batch.rs:1115:19 [INFO] [stdout] | [INFO] [stdout] 1115 | use protobuf::parse_from_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/log_batch.rs:1130:17 [INFO] [stdout] | [INFO] [stdout] 1130 | parse_from_bytes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/test_util.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | prev_hook: *mut (dyn Fn(&panic::PanicInfo<'_>) + Sync + Send + 'static), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `index` on type `&_` [INFO] [stdout] --> src/engine.rs:699:49 [INFO] [stdout] | [INFO] [stdout] 699 | assert_eq!(entries.first().unwrap().index, start, "{rid}"); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kvproto` [INFO] [stdout] --> examples/append_compact_purge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use kvproto::raft_serverpb::RaftLocalState; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `kvproto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raft` [INFO] [stdout] --> examples/append_compact_purge.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use raft::eraftpb::Entry; [INFO] [stdout] | ^^^^ use of undeclared crate or module `raft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raft-engine` (example "append-compact-purge") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raft-engine` (lib test) due to 8 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e1624d75e34e6a56dc4331eb870812a2801d0bbfc83695680ad6eacb9d0ae2f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1624d75e34e6a56dc4331eb870812a2801d0bbfc83695680ad6eacb9d0ae2f8", kill_on_drop: false }` [INFO] [stdout] e1624d75e34e6a56dc4331eb870812a2801d0bbfc83695680ad6eacb9d0ae2f8