[INFO] cloning repository https://github.com/cyypherus/rinse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyypherus/rinse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyypherus%2Frinse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyypherus%2Frinse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22e678b05f9695527f45747bcdb314f337b63229 [INFO] checking cyypherus/rinse/22e678b05f9695527f45747bcdb314f337b63229 against master#36e2b8a3a7aad93f8a92db6d254b746aa94ed6da for pr-151822 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyypherus%2Frinse" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cyypherus/rinse [INFO] removed 1 missing examples [INFO] finished tweaking git repo https://github.com/cyypherus/rinse [INFO] tweaked toml for git repo https://github.com/cyypherus/rinse written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cyypherus/rinse on toolchain 36e2b8a3a7aad93f8a92db6d254b746aa94ed6da [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e2b8a3a7aad93f8a92db6d254b746aa94ed6da" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cyypherus/rinse 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" "+36e2b8a3a7aad93f8a92db6d254b746aa94ed6da" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-truncate v2.0.1 [INFO] [stderr] Downloaded rmp-serde v1.3.1 [INFO] [stderr] Downloaded zeroize_derive v1.4.3 [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded wezterm-blob-leases v0.1.1 [INFO] [stderr] Downloaded line-clipping v0.3.5 [INFO] [stderr] Downloaded filedescriptor v0.8.3 [INFO] [stderr] Downloaded wezterm-color-types v0.3.0 [INFO] [stderr] Downloaded vtparse v0.6.2 [INFO] [stderr] Downloaded memmem v0.1.1 [INFO] [stderr] Downloaded wezterm-dynamic-derive v0.1.1 [INFO] [stderr] Downloaded lab v0.11.0 [INFO] [stderr] Downloaded pest_generator v2.8.5 [INFO] [stderr] Downloaded ratatui-crossterm v0.1.0 [INFO] [stderr] Downloaded pest_derive v2.8.5 [INFO] [stderr] Downloaded pest_meta v2.8.5 [INFO] [stderr] Downloaded terminfo v0.9.0 [INFO] [stderr] Downloaded fancy-regex v0.11.0 [INFO] [stderr] Downloaded jiff-static v0.2.18 [INFO] [stderr] Downloaded finl_unicode v1.4.0 [INFO] [stderr] Downloaded pest v2.8.5 [INFO] [stderr] Downloaded wezterm-bidi v0.2.3 [INFO] [stderr] Downloaded ratatui-core v0.1.0 [INFO] [stderr] Downloaded ratatui-widgets v0.3.0 [INFO] [stderr] Downloaded ratatui v0.30.0 [INFO] [stderr] Downloaded rmp v0.8.15 [INFO] [stderr] Downloaded rmpv v1.3.1 [INFO] [stderr] Downloaded ratatui-macros v0.7.0 [INFO] [stderr] Downloaded mac_address v1.1.8 [INFO] [stderr] Downloaded ratatui-termwiz v0.1.0 [INFO] [stderr] Downloaded wezterm-input-types v0.1.0 [INFO] [stderr] Downloaded kasuari v0.4.11 [INFO] [stderr] Downloaded lru v0.16.3 [INFO] [stderr] Downloaded wezterm-dynamic v0.2.1 [INFO] [stderr] Downloaded termwiz v0.23.3 [INFO] [stderr] Downloaded jiff v0.2.18 [INFO] [stderr] Downloaded deltae v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+36e2b8a3a7aad93f8a92db6d254b746aa94ed6da" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c4e9e3319e9fb1c6bde571f61dad3f4fbae280c12692596d5067dfdd509a1b7 [INFO] running `Command { std: "docker" "start" "-a" "0c4e9e3319e9fb1c6bde571f61dad3f4fbae280c12692596d5067dfdd509a1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c4e9e3319e9fb1c6bde571f61dad3f4fbae280c12692596d5067dfdd509a1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4e9e3319e9fb1c6bde571f61dad3f4fbae280c12692596d5067dfdd509a1b7", kill_on_drop: false }` [INFO] [stdout] 0c4e9e3319e9fb1c6bde571f61dad3f4fbae280c12692596d5067dfdd509a1b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+36e2b8a3a7aad93f8a92db6d254b746aa94ed6da" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3962222f88ee228ea484c54e03ffebac8d90b404761eafde5f0bd52d3de1893 [INFO] running `Command { std: "docker" "start" "-a" "a3962222f88ee228ea484c54e03ffebac8d90b404761eafde5f0bd52d3de1893", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking jiff v0.2.18 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking rmp v0.8.15 [INFO] [stderr] Checking rmpv v1.3.1 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking rmp-serde v1.3.1 [INFO] [stderr] Checking rinse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rinse::config` [INFO] [stdout] --> examples/page/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rinse::config::{Config, InterfaceConfig, load_or_generate_identity}; [INFO] [stdout] | ^^^^^^ could not find `config` in `rinse` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(feature = "config")] [INFO] [stdout] | ------------------ the item is gated behind the `config` feature [INFO] [stdout] 26 | pub mod config; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/page/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rinse::TcpTransport` [INFO] [stdout] --> examples/page/main.rs:5:67 [INFO] [stdout] | [INFO] [stdout] 5 | use rinse::{Address, IncomingRequest, Interface, Node, ServiceId, TcpTransport}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `TcpTransport` in the root [INFO] [stdout] | help: a similar name exists in the module: `Transport` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(feature = "tcp")] [INFO] [stdout] | --------------- the item is gated behind the `tcp` feature [INFO] [stdout] 47 | pub use async_io::AsyncTcpTransport as TcpTransport; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/page/main.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/page/main.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | tokio::select! { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/page/main.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | tokio::time::sleep(std::time::Duration::from_secs(3)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/page/main.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | let mut interval = tokio::time::interval(std::time::Duration::from_secs(60)); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Node` in the current scope [INFO] [stdout] --> examples/page/main.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | let mut node: Node = Node::new(config.network.relay); [INFO] [stdout] | ^^^ function or associated item not found in `Node<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Node<_, _>`, consider using `Node::::with_rng` which returns `Node<_, _>` [INFO] [stdout] --> src/node.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn with_rng(mut rng: R, transport: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/page/main.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | tokio::spawn(accept_loop(name.to_string(), listener, node.clone())); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/page/main.rs:81:50 [INFO] [stdout] | [INFO] [stdout] 81 | tokio::spawn(accept_loop(name.to_string(), listener, node.clone())); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> examples/page/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/page/main.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | match TcpTransport::from_stream(peer.to_string(), stream) { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/page/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rinse` (example "page") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a3962222f88ee228ea484c54e03ffebac8d90b404761eafde5f0bd52d3de1893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3962222f88ee228ea484c54e03ffebac8d90b404761eafde5f0bd52d3de1893", kill_on_drop: false }` [INFO] [stdout] a3962222f88ee228ea484c54e03ffebac8d90b404761eafde5f0bd52d3de1893