[INFO] cloning repository https://github.com/revskill10/structural-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/revskill10/structural-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frevskill10%2Fstructural-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frevskill10%2Fstructural-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c6d1c951b1ff4da9e86d468292bad76d8c0621c [INFO] testing revskill10/structural-rs against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frevskill10%2Fstructural-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/revskill10/structural-rs [INFO] finished tweaking git repo https://github.com/revskill10/structural-rs [INFO] tweaked toml for git repo https://github.com/revskill10/structural-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/revskill10/structural-rs on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/revskill10/structural-rs 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a46c2689e534a82d9e8d6ddf07fc6a5ef9ea602edf3a70c0e430283ca32b3652 [INFO] running `Command { std: "docker" "start" "-a" "a46c2689e534a82d9e8d6ddf07fc6a5ef9ea602edf3a70c0e430283ca32b3652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a46c2689e534a82d9e8d6ddf07fc6a5ef9ea602edf3a70c0e430283ca32b3652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a46c2689e534a82d9e8d6ddf07fc6a5ef9ea602edf3a70c0e430283ca32b3652", kill_on_drop: false }` [INFO] [stdout] a46c2689e534a82d9e8d6ddf07fc6a5ef9ea602edf3a70c0e430283ca32b3652 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5690c9e3eddf8cac52937eb58de236389e04f41987ddbd530271b7f3b6546e0f [INFO] running `Command { std: "docker" "start" "-a" "5690c9e3eddf8cac52937eb58de236389e04f41987ddbd530271b7f3b6546e0f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling structural-derive v0.1.0 (/opt/rustwide/workdir/structural-derive) [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling async-compression v0.4.27 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling structural-core v0.1.0 (/opt/rustwide/workdir/structural-core) [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> structural-core/src/actors.rs:520:33 [INFO] [stdout] | [INFO] [stdout] 520 | message_id: message.id, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> structural-core/src/actors.rs:521:29 [INFO] [stdout] | [INFO] [stdout] 521 | sender: message.sender, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `message` in this scope [INFO] [stdout] --> structural-core/src/actors.rs:526:54 [INFO] [stdout] | [INFO] [stdout] 526 | let actor_message = A::Message::from(message.payload); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicTypeSpec` and `ShapeError` [INFO] [stdout] --> structural-core/src/protocol.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Shape, ShapeError, TypeSpec, BasicTypeSpec}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> structural-core/src/protocol.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicTypeSpec`, `GoChannel`, `GoContextCancel`, `GoContext`, `PatternResult`, `ProtocolImpl`, `Protocol`, `ShapeBag`, `ShapeError`, `ShapeProtocol`, `patterns`, and `with_shape` [INFO] [stdout] --> structural-core/src/http.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | Shape, ShapeError, TypeSpec, BasicTypeSpec, ShapeProtocol, PatternResult, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 3 | with_shape, patterns, ProtocolId, Protocol, ProtocolImpl, ProtocolError, registry, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 4 | ShapeStream, ShapeBag, StreamError, go, GoChannel, GoContextCancel, GoContext, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequestParts`, `FromRequest`, `HeaderMap`, `Path`, `Query`, `RequestPartsExt`, `delete`, `patch`, `post`, `put`, and `self` [INFO] [stdout] --> structural-core/src/http.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | extract::{State, Path, Query, Json, FromRequest, FromRequestParts}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | http::{StatusCode, HeaderMap, Method, Uri, Request}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | middleware::{self, Next}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | response::{Response, IntoResponse}, [INFO] [stdout] 11 | routing::{get, post, put, delete, patch}, [INFO] [stdout] | ^^^^ ^^^ ^^^^^^ ^^^^^ [INFO] [stdout] 12 | Router, RequestPartsExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`, and `de::DeserializeOwned` [INFO] [stdout] --> structural-core/src/http.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use serde::{Deserialize, Serialize, de::DeserializeOwned}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> structural-core/src/http.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | sync::{Arc, atomic::{AtomicUsize, AtomicBool, Ordering}}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RwLock`, `Semaphore`, and `oneshot` [INFO] [stdout] --> structural-core/src/http.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | use tokio::sync::{RwLock, Semaphore, oneshot}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::ServiceBuilder` [INFO] [stdout] --> structural-core/src/http.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use tower::ServiceBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProtocolError`, `ProtocolId`, `ProtocolImpl`, and `ShapeStream` [INFO] [stdout] --> structural-core/src/framework.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Shape, go, GoChannel, ShapeStream, ProtocolImpl, ProtocolError, ProtocolId}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeId` [INFO] [stdout] --> structural-core/src/framework.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | any::{Any, TypeId}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mpsc` and `oneshot` [INFO] [stdout] --> structural-core/src/framework.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::sync::{mpsc, RwLock, Semaphore, oneshot}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indexmap::IndexMap` [INFO] [stdout] --> structural-core/src/framework.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use indexmap::IndexMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameworkError`, `GoChannelError`, and `select` [INFO] [stdout] --> structural-core/src/actors.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Shape, go, GoChannel, GoChannelError, select, FrameworkError, ServiceContainer, EventBus}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `any::Any`, `future::Future`, and `pin::Pin` [INFO] [stdout] --> structural-core/src/actors.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | any::Any, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | future::Future, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pin::Pin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Semaphore` [INFO] [stdout] --> structural-core/src/actors.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::sync::{mpsc, RwLock, Semaphore}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> structural-core/src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub use http::*; [INFO] [stdout] | ^^^^^^^ the name `ContextManager` in the type namespace is first re-exported here [INFO] [stdout] 33 | pub use parsing::*; [INFO] [stdout] 34 | pub use framework::*; [INFO] [stdout] | ------------ but the name `ContextManager` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> structural-core/src/concurrency.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let mut operations = std::mem::take(&mut self.operations); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: Clone` is not satisfied [INFO] [stdout] --> structural-core/src/framework.rs:306:43 [INFO] [stdout] | [INFO] [stdout] 306 | subscribers_map.get(event_id).cloned().unwrap_or_default() [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Vec` [INFO] [stdout] | [INFO] [stdout] = note: required for `Vec` to implement `Clone` [INFO] [stdout] note: required by a bound in `std::option::Option::<&T>::cloned` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:2077:4 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 306 | (&subscribers_map.get(event_id)).cloned().unwrap_or_default() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `tokio::sync::RwLockReadGuard<'_, Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> structural-core/src/framework.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 196 | struct EventSubscriber { [INFO] [stdout] | ---------------------- doesn't satisfy `EventSubscriber: Clone` [INFO] [stdout] ... [INFO] [stdout] 312 | wildcards.clone() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `EventSubscriber: Clone` [INFO] [stdout] which is required by `Vec: Clone` [INFO] [stdout] help: consider annotating `EventSubscriber` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 196 + #[derive(Clone)] [INFO] [stdout] 197 | struct EventSubscriber { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `receiver` found for struct `concurrency::GoChannel` in the current scope [INFO] [stdout] --> structural-core/src/framework.rs:689:53 [INFO] [stdout] | [INFO] [stdout] 689 | let mut shutdown_rx = self.shutdown_channel.receiver(); [INFO] [stdout] | ^^^^^^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] ::: structural-core/src/concurrency.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GoChannel { [INFO] [stdout] | -------------------- method `receiver` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `recv` with a similar name [INFO] [stdout] | [INFO] [stdout] 689 - let mut shutdown_rx = self.shutdown_channel.receiver(); [INFO] [stdout] 689 + let mut shutdown_rx = self.shutdown_channel.recv(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounded_sender` [INFO] [stdout] --> structural-core/src/concurrency.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | let (bounded_sender, bounded_receiver) = mpsc::channel::(capacity); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounded_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounded_receiver` [INFO] [stdout] --> structural-core/src/concurrency.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | let (bounded_sender, bounded_receiver) = mpsc::channel::(capacity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounded_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> structural-core/src/streaming.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let mut iter = items.into_iter(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> structural-core/src/http.rs:504:23 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn service(mut self, id: &str, service: T) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> structural-core/src/http.rs:513:32 [INFO] [stdout] | [INFO] [stdout] 513 | pub fn protocol_service(mut self, protocol_id: ProtocolId, service: T) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> structural-core/src/http.rs:785:9 [INFO] [stdout] | [INFO] [stdout] 785 | ctx: &'a RequestContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instance` [INFO] [stdout] --> structural-core/src/framework.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | fn dispose(&self, instance: Self::Output) -> Pin> + Send>> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> structural-core/src/framework.rs:656:44 [INFO] [stdout] | [INFO] [stdout] 656 | pub async fn execute_task(&self, task_id: &str, input: I) -> Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_shape` [INFO] [stdout] --> structural-core/src/framework.rs:667:13 [INFO] [stdout] | [INFO] [stdout] 667 | let input_shape = input.into(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `structural-core` (lib) due to 6 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5690c9e3eddf8cac52937eb58de236389e04f41987ddbd530271b7f3b6546e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5690c9e3eddf8cac52937eb58de236389e04f41987ddbd530271b7f3b6546e0f", kill_on_drop: false }` [INFO] [stdout] 5690c9e3eddf8cac52937eb58de236389e04f41987ddbd530271b7f3b6546e0f