[INFO] cloning repository https://github.com/IRONICBo/file-async-rpc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IRONICBo/file-async-rpc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIRONICBo%2Ffile-async-rpc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIRONICBo%2Ffile-async-rpc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c59d5df07594fb6bf610e26a711846a33fe8fb61 [INFO] testing IRONICBo/file-async-rpc against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIRONICBo%2Ffile-async-rpc" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/IRONICBo/file-async-rpc [INFO] finished tweaking git repo https://github.com/IRONICBo/file-async-rpc [INFO] tweaked toml for git repo https://github.com/IRONICBo/file-async-rpc written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/IRONICBo/file-async-rpc on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/IRONICBo/file-async-rpc 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: exclude [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tonic v0.6.2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db3426377b16f0ed994a28de1f2b38f3b5133ccdff9d65470b87f57c5ae58aa2 [INFO] running `Command { std: "docker" "start" "-a" "db3426377b16f0ed994a28de1f2b38f3b5133ccdff9d65470b87f57c5ae58aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db3426377b16f0ed994a28de1f2b38f3b5133ccdff9d65470b87f57c5ae58aa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db3426377b16f0ed994a28de1f2b38f3b5133ccdff9d65470b87f57c5ae58aa2", kill_on_drop: false }` [INFO] [stdout] db3426377b16f0ed994a28de1f2b38f3b5133ccdff9d65470b87f57c5ae58aa2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d96d12f699ae68437ded73f3ccb6ea9adaa6161f30114c555416edd46d5077a9 [INFO] running `Command { std: "docker" "start" "-a" "d96d12f699ae68437ded73f3ccb6ea9adaa6161f30114c555416edd46d5077a9", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: exclude [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling file-async-rpc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.6.2 [INFO] [stdout] warning: unused imports: `AtomicUsize` and `time::Duration` [INFO] [stdout] --> src/client.rs:2:78 [INFO] [stdout] | [INFO] [stdout] 2 | cell::UnsafeCell, fmt::Debug, mem::transmute, sync::{atomic::{AtomicU64, AtomicUsize}, Arc}, time::Duration, u8 [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::client` [INFO] [stdout] --> src/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::client; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PacketStatus` [INFO] [stdout] --> src/client.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | Decode, Encode, Packet, PacketStatus, PacketsKeeper, ReqHeader, RespHeader, REQ_HEADER_SIZE [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::timeout` [INFO] [stdout] --> src/server.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | io::{AsyncReadExt, AsyncWriteExt}, net, sync::mpsc, task, time::timeout [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/packet.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, VecDeque}, fmt::Debug}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timeout_options` and `client_id` are never read [INFO] [stdout] --> src/client.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 296 | pub struct RpcClient

[INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 302 | timeout_options: ClientTimeoutOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | client_id: AtomicU64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `worker_pool` is never read [INFO] [stdout] --> src/server.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct RpcServerConnectionInner [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 161 | worker_pool: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/http_client.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | rt.block_on(run()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = rt.block_on(run()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FileBlockRpcServerHandler` [INFO] [stdout] --> src/bin/test_rpc.rs:4:225 [INFO] [stdout] | [INFO] [stdout] 4 | ...acket, PacketStatus, ReqHeader, RespHeader}, server::{FileBlockRpcServerHandler, RpcServer, RpcServerConnectionHandler}, workerpool::{... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/bin/test_rpc.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{debug, error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/file-async-rpc-ad44f1123ee6dc78/out/filetransfer.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | T::ResponseBody: Body + Send + 'static, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 14 + use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 14 + use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 14 + use bytes::Bytes; [INFO] [stdout] | [INFO] [stdout] 14 + use hyper::body::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/file-async-rpc-ad44f1123ee6dc78/out/filetransfer.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | T::ResponseBody: Body + Send + 'static, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 14 + use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 14 + use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 14 + use bytes::Bytes; [INFO] [stdout] | [INFO] [stdout] 14 + use hyper::body::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/bin/test_rpc.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | fn set_req_data(&mut self, data: &[u8]) -> Result<(), RpcError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/bin/grpc_server.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | async fn upload_file(&self, request: Request) -> Result, Status> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req_buffer` [INFO] [stdout] --> src/bin/test_rpc.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | req_buffer: &[u8], [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `file-async-rpc` (bin "grpc_client") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/bin/test_rpc.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let res = rpc_client.send_request(&mut packet.clone()).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `file-async-rpc` (bin "grpc_server") due to 1 previous error; 1 warning emitted [INFO] [stdout] warning: function `is_port_in_use` is never used [INFO] [stdout] --> src/bin/test_rpc.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn is_port_in_use(addr: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `worker_pool` is never read [INFO] [stdout] --> src/bin/test_rpc.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct TestRpcServerHandler { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 115 | worker_pool: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestRpcServerHandler` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d96d12f699ae68437ded73f3ccb6ea9adaa6161f30114c555416edd46d5077a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96d12f699ae68437ded73f3ccb6ea9adaa6161f30114c555416edd46d5077a9", kill_on_drop: false }` [INFO] [stdout] d96d12f699ae68437ded73f3ccb6ea9adaa6161f30114c555416edd46d5077a9