[INFO] cloning repository https://github.com/AlphaGodzilla/PartitionLink
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlphaGodzilla/PartitionLink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2FPartitionLink", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2FPartitionLink'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 06a77c411b6b486b114d940c63ef179d80f9714b
[INFO] checking AlphaGodzilla/PartitionLink/06a77c411b6b486b114d940c63ef179d80f9714b against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaGodzilla%2FPartitionLink" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AlphaGodzilla/PartitionLink on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AlphaGodzilla/PartitionLink
[INFO] finished tweaking git repo https://github.com/AlphaGodzilla/PartitionLink
[INFO] tweaked toml for git repo https://github.com/AlphaGodzilla/PartitionLink written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/AlphaGodzilla/PartitionLink 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded prost-build v0.13.1
[INFO] [stderr] Downloaded tokio-context v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3206a7936d158d5bb9f7872e26bfdd1c30e9faeab6bf9c524ea85e714fe6550c
[INFO] running `Command { std: "docker" "start" "-a" "3206a7936d158d5bb9f7872e26bfdd1c30e9faeab6bf9c524ea85e714fe6550c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3206a7936d158d5bb9f7872e26bfdd1c30e9faeab6bf9c524ea85e714fe6550c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3206a7936d158d5bb9f7872e26bfdd1c30e9faeab6bf9c524ea85e714fe6550c", kill_on_drop: false }`
[INFO] [stdout] 3206a7936d158d5bb9f7872e26bfdd1c30e9faeab6bf9c524ea85e714fe6550c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e2083051e0db6e51700fe0ee7cdd69262c1b94afcd6253668482812a14d15559
[INFO] running `Command { std: "docker" "start" "-a" "e2083051e0db6e51700fe0ee7cdd69262c1b94afcd6253668482812a14d15559", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.86
[INFO] [stderr] Compiling unicode-ident v1.0.12
[INFO] [stderr] Compiling libc v0.2.155
[INFO] [stderr] Checking memchr v2.7.4
[INFO] [stderr] Compiling anyhow v1.0.86
[INFO] [stderr] Compiling serde v1.0.208
[INFO] [stderr] Compiling either v1.13.0
[INFO] [stderr] Compiling autocfg v1.3.0
[INFO] [stderr] Compiling rustix v0.38.34
[INFO] [stderr] Compiling bytes v1.7.1
[INFO] [stderr] Compiling equivalent v1.0.1
[INFO] [stderr] Compiling parking_lot_core v0.9.10
[INFO] [stderr] Compiling hashbrown v0.14.5
[INFO] [stderr] Compiling linux-raw-sys v0.4.14
[INFO] [stderr] Compiling prettyplease v0.2.22
[INFO] [stderr] Compiling regex-syntax v0.8.4
[INFO] [stderr] Compiling bitflags v2.6.0
[INFO] [stderr] Compiling fixedbitset v0.4.2
[INFO] [stderr] Compiling cc v1.1.8
[INFO] [stderr] Compiling fastrand v2.1.1
[INFO] [stderr] Compiling once_cell v1.19.0
[INFO] [stderr] Compiling itertools v0.13.0
[INFO] [stderr] Compiling cfg-if v1.0.0
[INFO] [stderr] Checking scopeguard v1.2.0
[INFO] [stderr] Checking smallvec v1.13.2
[INFO] [stderr] Compiling multimap v0.10.0
[INFO] [stderr] Checking adler v1.0.2
[INFO] [stderr] Compiling lock_api v0.4.12
[INFO] [stderr] Checking aho-corasick v1.1.3
[INFO] [stderr] Compiling version_check v0.9.5
[INFO] [stderr] Checking gimli v0.29.0
[INFO] [stderr] Compiling heck v0.5.0
[INFO] [stderr] Checking utf8parse v0.2.2
[INFO] [stderr] Compiling log v0.4.22
[INFO] [stderr] Compiling thiserror v1.0.63
[INFO] [stderr] Compiling indexmap v2.4.0
[INFO] [stderr] Checking socket2 v0.5.7
[INFO] [stderr] Checking signal-hook-registry v1.4.2
[INFO] [stderr] Compiling quote v1.0.36
[INFO] [stderr] Compiling ahash v0.8.11
[INFO] [stderr] Checking getrandom v0.2.15
[INFO] [stderr] Checking parking_lot v0.12.3
[INFO] [stderr] Checking mio v1.0.1
[INFO] [stderr] Checking anstyle-parse v0.2.5
[INFO] [stderr] Compiling syn v2.0.76
[INFO] [stderr] Checking miniz_oxide v0.7.4
[INFO] [stderr] Checking object v0.36.3
[INFO] [stderr] Checking anstyle v1.0.8
[INFO] [stderr] Checking anstyle-query v1.1.1
[INFO] [stderr] Checking is_terminal_polyfill v1.70.1
[INFO] [stderr] Compiling serde_json v1.0.125
[INFO] [stderr] Checking pin-project-lite v0.2.14
[INFO] [stderr] Checking rustc-demangle v0.1.24
[INFO] [stderr] Checking colorchoice v1.0.2
[INFO] [stderr] Checking anstream v0.6.15
[INFO] [stderr] Checking itoa v1.0.11
[INFO] [stderr] Checking ryu v1.0.18
[INFO] [stderr] Compiling regex-automata v0.4.7
[INFO] [stderr] Compiling petgraph v0.6.5
[INFO] [stderr] Checking jni-sys v0.3.0
[INFO] [stderr] Checking zerocopy v0.7.35
[INFO] [stderr] Checking humantime v2.1.0
[INFO] [stderr] Checking cesu8 v1.1.0
[INFO] [stderr] Checking uuid v1.10.0
[INFO] [stderr] Compiling backtrace v0.3.73
[INFO] [stderr] Compiling tempfile v3.12.0
[INFO] [stderr] Checking addr2line v0.22.0
[INFO] [stderr] Checking regex v1.10.6
[INFO] [stderr] Checking env_filter v0.1.2
[INFO] [stderr] Checking env_logger v0.11.5
[INFO] [stderr] Compiling serde_derive v1.0.208
[INFO] [stderr] Compiling prost-derive v0.13.2
[INFO] [stderr] Compiling tokio-macros v2.4.0
[INFO] [stderr] Compiling thiserror-impl v1.0.63
[INFO] [stderr] Compiling async-trait v0.1.81
[INFO] [stderr] Compiling prost v0.13.2
[INFO] [stderr] Compiling prost-types v0.13.2
[INFO] [stderr] Compiling prost-build v0.13.1
[INFO] [stderr] Compiling PartitionLink v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] Checking combine v4.6.7
[INFO] [stderr] Checking tokio v1.39.2
[INFO] [stderr] Checking tokio-context v0.1.3
[INFO] [stderr] Checking jni v0.21.1
[INFO] [stdout] warning: unused import: `time::SystemTime`
[INFO] [stdout] --> src/command/mod.rs:1:25
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::{fmt::Display, time::SystemTime};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `time::SystemTime`
[INFO] [stdout] --> src/command/mod.rs:1:25
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::{fmt::Display, time::SystemTime};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout] --> src/client.rs:36:5
[INFO] [stdout] |
[INFO] [stdout] 30 | / loop {
[INFO] [stdout] 31 | | time::sleep(Duration::from_secs(1)).await;
[INFO] [stdout] 32 | | debug!("准备写入, {:?}", payload_bytes);
[INFO] [stdout] 33 | | stream.write(payload_bytes).await?;
[INFO] [stdout] 34 | | debug!("写入完成");
[INFO] [stdout] 35 | | }
[INFO] [stdout] | |_____- any code following this expression is unreachable
[INFO] [stdout] 36 | Ok(())
[INFO] [stdout] | ^^^^^^ unreachable expression
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `Incomplete`, `MissMatch`, and `Complete` are never constructed
[INFO] [stdout] --> src/protocol/frame.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 12 | pub enum FrameMatchResult<'a> {
[INFO] [stdout] | ---------------- variants in this enum
[INFO] [stdout] 13 | Incomplete(&'a str),
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] 14 | MissMatch(&'a str),
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] 15 | Complete,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `FrameMatchResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `set_header`, `parse`, `check`, and `is_last` are never used
[INFO] [stdout] --> src/protocol/frame.rs:39:12
[INFO] [stdout] |
[INFO] [stdout] 25 | impl Frame {
[INFO] [stdout] | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 | pub fn set_header(&mut self, header: Header) -> &mut Frame {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | pub fn parse(cursor: &mut Cursor<&[u8]>) -> anyhow::Result {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 | pub fn check<'a>(cursor: &mut Cursor<&[u8]>) -> anyhow::Result> {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 | pub fn is_last(&self) -> bool {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `inner_value` is never used
[INFO] [stdout] --> src/protocol/length.rs:11:12
[INFO] [stdout] |
[INFO] [stdout] 6 | impl Length {
[INFO] [stdout] | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub fn inner_value(&self) -> u8 {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout] --> src/cmd_server.rs:85:41
[INFO] [stdout] |
[INFO] [stdout] 85 | pub async fn write_frame(&mut self, frame: &Frame) -> anyhow::Result<()> {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `time::SystemTime`
[INFO] [stdout] --> src/command/mod.rs:1:25
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::{fmt::Display, time::SystemTime};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `time::SystemTime`
[INFO] [stdout] --> src/command/mod.rs:1:25
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::{fmt::Display, time::SystemTime};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout] --> src/client.rs:36:5
[INFO] [stdout] |
[INFO] [stdout] 30 | / loop {
[INFO] [stdout] 31 | | time::sleep(Duration::from_secs(1)).await;
[INFO] [stdout] 32 | | debug!("准备写入, {:?}", payload_bytes);
[INFO] [stdout] 33 | | stream.write(payload_bytes).await?;
[INFO] [stdout] 34 | | debug!("写入完成");
[INFO] [stdout] 35 | | }
[INFO] [stdout] | |_____- any code following this expression is unreachable
[INFO] [stdout] 36 | Ok(())
[INFO] [stdout] | ^^^^^^ unreachable expression
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout] --> src/cmd_server.rs:85:41
[INFO] [stdout] |
[INFO] [stdout] 85 | pub async fn write_frame(&mut self, frame: &Frame) -> anyhow::Result<()> {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `set_header`, `parse`, and `is_last` are never used
[INFO] [stdout] --> src/protocol/frame.rs:39:12
[INFO] [stdout] |
[INFO] [stdout] 25 | impl Frame {
[INFO] [stdout] | ---------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 | pub fn set_header(&mut self, header: Header) -> &mut Frame {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | pub fn parse(cursor: &mut Cursor<&[u8]>) -> anyhow::Result {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 | pub fn is_last(&self) -> bool {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `inner_value` is never used
[INFO] [stdout] --> src/protocol/length.rs:11:12
[INFO] [stdout] |
[INFO] [stdout] 6 | impl Length {
[INFO] [stdout] | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub fn inner_value(&self) -> u8 {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout] --> src/cmd_server.rs:85:41
[INFO] [stdout] |
[INFO] [stdout] 85 | pub async fn write_frame(&mut self, frame: &Frame) -> anyhow::Result<()> {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout] --> src/cmd_server.rs:133:38
[INFO] [stdout] |
[INFO] [stdout] 133 | async fn connection(ctx: RefContext, cfg: Arc, stream: TcpStream) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout] --> src/cmd_server.rs:133:38
[INFO] [stdout] |
[INFO] [stdout] 133 | async fn connection(ctx: RefContext, cfg: Arc, stream: TcpStream) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout] --> src/cmd_server.rs:133:38
[INFO] [stdout] |
[INFO] [stdout] 133 | async fn connection(ctx: RefContext, cfg: Arc, stream: TcpStream) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout] --> src/cmd_server.rs:85:41
[INFO] [stdout] |
[INFO] [stdout] 85 | pub async fn write_frame(&mut self, frame: &Frame) -> anyhow::Result<()> {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cfg`
[INFO] [stdout] --> src/cmd_server.rs:133:38
[INFO] [stdout] |
[INFO] [stdout] 133 | async fn connection(ctx: RefContext, cfg: Arc, stream: TcpStream) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout] --> src/command/hello.rs:19:23
[INFO] [stdout] |
[INFO] [stdout] 19 | fn execute(&self, db: &mut Database) -> anyhow::Result