[INFO] cloning repository https://github.com/Firfi/rust-graphql-orderbook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Firfi/rust-graphql-orderbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirfi%2Frust-graphql-orderbook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirfi%2Frust-graphql-orderbook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee45007506d3212cc3584e23b60e48a8f4ea8090 [INFO] testing Firfi/rust-graphql-orderbook against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirfi%2Frust-graphql-orderbook" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Firfi/rust-graphql-orderbook [INFO] finished tweaking git repo https://github.com/Firfi/rust-graphql-orderbook [INFO] tweaked toml for git repo https://github.com/Firfi/rust-graphql-orderbook written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Firfi/rust-graphql-orderbook on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Firfi/rust-graphql-orderbook 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba9f5a3b322b05e1155096dbc414b13419bf68d8f0b5832ad4e652ef628f4def [INFO] running `Command { std: "docker" "start" "-a" "ba9f5a3b322b05e1155096dbc414b13419bf68d8f0b5832ad4e652ef628f4def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba9f5a3b322b05e1155096dbc414b13419bf68d8f0b5832ad4e652ef628f4def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba9f5a3b322b05e1155096dbc414b13419bf68d8f0b5832ad4e652ef628f4def", kill_on_drop: false }` [INFO] [stdout] ba9f5a3b322b05e1155096dbc414b13419bf68d8f0b5832ad4e652ef628f4def [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9b1bbf832cab47d5c654cf2d6586f22aba1fb570e420d5eba2b494733d262380 [INFO] running `Command { std: "docker" "start" "-a" "9b1bbf832cab47d5c654cf2d6586f22aba1fb570e420d5eba2b494733d262380", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling async-graphql-value v3.0.36 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling async-graphql-parser v3.0.36 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling tungstenite v0.16.0 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling axum-core v0.1.2 [INFO] [stderr] Compiling async-graphql-derive v3.0.36 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-tungstenite v0.16.1 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling async-graphql v3.0.36 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling axum v0.4.8 [INFO] [stderr] Compiling async-graphql-axum v3.0.36 [INFO] [stderr] Compiling rust-graphql-orderbook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/orderbook/model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/orderbook/model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection`, `ContextSelectionSet`, `Edge`, `EmptyFields`, `Interface`, `Positioned`, `ServerResult`, and `query` [INFO] [stdout] --> src/orderbook/model.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | ...::{Connection, Edge, EmptyFields, query}, Context, ContextSelectionSet, Enum, FieldResult, Interface, Object, Positioned, ServerResult}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_graphql::parser::types::Field` [INFO] [stdout] --> src/orderbook/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use async_graphql::parser::types::Field; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_graphql::registry::Registry` [INFO] [stdout] --> src/orderbook/model.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use async_graphql::registry::Registry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/orderbook/model.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::{DateTime, FixedOffset, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::wrappers::IntervalStream` [INFO] [stdout] --> src/orderbook/model.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio_stream::wrappers::IntervalStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RngCore` [INFO] [stdout] --> src/orderbook/reporter.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{Rng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/orderbook/reporter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Interval` [INFO] [stdout] --> src/orderbook/reporter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::time::Interval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::orderbook::model::Order` [INFO] [stdout] --> src/orderbook/reporter.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::orderbook::model::Order; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/orderbook/reporter.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let middle = (scaffolds.len() / 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - let middle = (scaffolds.len() / 2); [INFO] [stdout] 58 + let middle = scaffolds.len() / 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/orderbook/matcher.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/orderbook/matcher.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/orderbook/matcher.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/orderbook/matcher.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/orderbook/types/date_time.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/orderbook/types/uuid.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_graphql::*` [INFO] [stdout] --> src/orderbook/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/orderbook/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BinaryHeap` [INFO] [stdout] --> src/orderbook/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::BinaryHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/orderbook/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/orderbook/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/orderbook/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmptySubscription` [INFO] [stdout] --> src/orderbook/mod.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | use async_graphql::{EmptyMutation, EmptySubscription, Schema}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slab::Slab` [INFO] [stdout] --> src/orderbook/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use slab::Slab; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/orderbook/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/orderbook/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Rev` [INFO] [stdout] --> src/orderbook/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::iter::Rev; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/orderbook/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/orderbook/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigUint` and `ParseBigIntError` [INFO] [stdout] --> src/orderbook/mod.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use num_bigint::{BigUint, ParseBigIntError}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/orderbook/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::orderbook::database::ORDERBOOK_STATE` [INFO] [stdout] --> src/orderbook/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::orderbook::database::ORDERBOOK_STATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OrderScaffold` [INFO] [stdout] --> src/orderbook/mod.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::orderbook::reporter::{OrderScaffold, Reporter}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Duration` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EmptySubscription`, `Request`, and `Response` [INFO] [stdout] --> src/main.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | EmptyMutation, EmptySubscription, Request, Response, Schema, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json` and `http::Method` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Json, Router, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | http::Method, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Origin` [INFO] [stdout] --> src/main.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | use tower_http::cors::{Any, CorsLayer, Origin}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/orderbook/model.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ctx: &Context<'_>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/orderbook/model.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | ctx: &Context<'_>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_graphql::futures_util::StreamExt` [INFO] [stdout] --> src/orderbook/model.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use async_graphql::futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_graphql` [INFO] [stdout] --> src/orderbook/matcher.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_graphql::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/orderbook/reporter.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut scaffolds = vec![0, (self.rng.gen_range(0..1) * BIDDER_CROWD)] [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_order` [INFO] [stdout] --> src/orderbook/matcher.rs:44:189 [INFO] [stdout] | [INFO] [stdout] 44 | ...<= p2.0), DealPrice::new(|new_order: &OrderCommons, retrieved_order: &OrderCommons| retrieved_order.price.clone())), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retrieved_order` [INFO] [stdout] --> src/orderbook/matcher.rs:45:216 [INFO] [stdout] | [INFO] [stdout] 45 | ...der: &OrderCommons, retrieved_order: &OrderCommons| new_order.price.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retrieved_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/orderbook/matcher.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let id = create_order(&data, kind, add_queue, add_map); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SliceDisplay` is never constructed [INFO] [stdout] --> src/orderbook/types/slice_display.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SliceDisplay<'a, T: 'a>(&'a [T]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PORT` should have a snake case name [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let PORT = env::var("PORT").unwrap_or("3000".to_string()); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` in tuple element 1 that must be used [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / tokio::join!(run_reporter_poll(), axum::Server::bind(&format!("0.0.0.0:{}", &PORT).parse().unwrap()) [INFO] [stdout] 58 | | .serve(app.into_make_service())); [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] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcd0kynf/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libasync_graphql_axum-12123da4cf5c082a.rlib,libaxum-a0fdffc91540b950.rlib,libmatchit-9c6ea534e52068ae.rlib,libserde_urlencoded-9a075cce7caf1374.rlib,libtower_http-5866d074bf92f6ac.rlib,libheaders-a6ff141125c2c3f4.rlib,libheaders_core-f04325ff40bedac1.rlib,libbitflags-e274cd04b58a060d.rlib,libtokio_tungstenite-a93a7d8d9a9480ac.rlib,libtungstenite-ab4745585a81bdb7.rlib,libbase64-1447dfff012d42f8.rlib,libutf8-f59a957f78b3215a.rlib,libbyteorder-c7092f68299ac016.rlib,libsha1-7d21e2557bb351c5.rlib,libopaque_debug-bfd86111b0908dde.rlib,libblock_buffer-2504ac33a1091a26.rlib,libdigest-d4213f8d0e72520e.rlib,liburl-4dc046bcdff1bf68.rlib,libidna-b27d6234464fcaf9.rlib,libunicode_normalization-b999db1f4766a6ba.rlib,libtinyvec-4bc788528a02b60f.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libunicode_bidi-fb711a4a1fa89e19.rlib,libform_urlencoded-08b32e4d9c417640.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libmatches-210e485a89affeee.rlib,libsha1-c81507745c808f74.rlib,libcpufeatures-bd3a5bace216530a.rlib,libdigest-2c6c63bbefe08a94.rlib,libblock_buffer-8581fdc2e0425ff3.rlib,libcrypto_common-356cf6da213fda09.rlib,libgeneric_array-a2e7943a4edbb505.rlib,libtypenum-dfaa696d06b304f0.rlib,libtower-3285fb267ce3dbf0.rlib,libpin_project-1678e985af94c620.rlib,libtokio_util-05eb8ed24784e985.rlib,libaxum_core-5a0d59dec6937913.rlib,libhyper-293846646bb4d39a.rlib,libwant-e99d401f252a3a13.rlib,libtry_lock-d956e9fcf0af499a.rlib,libh2-8fdd8b7542a36173.rlib,libtokio_util-fd767aa036fff347.rlib,libtracing-45665c5092b2c60c.rlib,libtracing_core-b02115dcc345b6ee.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libhttpdate-ec7670c9b4625e21.rlib,libhttp_body-bbc54483f06b7514.rlib,libsync_wrapper-5581e2983fea7c5c.rlib,libtower_service-a4da4ae722e0ce46.rlib,libtower_layer-56a4d8cbb7cb04c4.rlib,libfutures_channel-3bdf8880fd889ecc.rlib,librand-98fc28d119053da5.rlib,librand_chacha-f0823eccd8d0a766.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-3a8efb87b580278f.rlib,libnum_bigint-afdd1ae324d1523c.rlib,libuuid-bee0ad1c2d905fc8.rlib,libgetrandom-77fbae1b0bac8ea3.rlib,libtokio_stream-2a02ebbbe91dc03b.rlib,libtokio-cafb0dfb3dd82c29.rlib,libsignal_hook_registry-f9dec0d7f82eca41.rlib,libnum_cpus-2eaa681d75c2185b.rlib,libsocket2-9a1056f902a36637.rlib,libonce_cell-6bb3d6b31615d1dd.rlib,libmio-3a7a90cbd3e5d500.rlib,libparking_lot-5b0ecb3df93c875d.rlib,libparking_lot_core-d979bdeb080449ac.rlib,libsmallvec-39c23b8b078c47c3.rlib,liblock_api-53fd7aa0b2f4601c.rlib,libscopeguard-73056285f12cb829.rlib,libchrono-567fe7f3afb3150a.rlib,libnum_integer-3027f6b08610b6c3.rlib,libtime-2e9b2f1d13ed3267.rlib,libasync_graphql-107786db71bde6ec.rlib,libtempfile-156a93bf65e7fd8b.rlib,liblibc-8dece3b8bd5da78c.rlib,libfastrand-dd955576b10a9343.rlib,libremove_dir_all-4e221c62d36b2749.rlib,libstatic_assertions-df27c3b343cf637f.rlib,libasync_stream-04d9c0be25beab83.rlib,libregex-714f02bd4ddaf50f.rlib,libaho_corasick-35dda82c90652365.rlib,libregex_syntax-ae12054508fb30be.rlib,libnum_traits-addb84e499b6494b.rlib,libfast_chemail-c424a4e8de63b22b.rlib,libascii_utils-3eea25ee6d4c34af.rlib,libmulter-19bea676e1f78358.rlib,libmime-2517c84452183460.rlib,liblog-78d7cfce7b82a11c.rlib,libhttparse-b52a7dec5f505bea.rlib,libspin-3091ad3914311eb5.rlib,libencoding_rs-4e731bec34c6008e.rlib,libcfg_if-66d55f6b302e88c8.rlib,libasync_graphql_parser-39ffb6a5c4ddd53f.rlib,libpest-80731a695d4ad35d.rlib,libucd_trie-13451e140af838e0.rlib,libfutures_util-f4cfc2d3328342fc.rlib,libmemchr-a2892755812de0fe.rlib,libfutures_io-18d743b8b2855e9d.rlib,libslab-93074f6ff5a0b7db.rlib,libpin_project_lite-049930466ef9967f.rlib,libfutures_sink-4bad40136a985cca.rlib,libfutures_task-959022c35311190e.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-ed83b4ca5adcb0c0.rlib,libhttp-696f1a78d3adb463.rlib,libfnv-81596130b397d5c3.rlib,libthiserror-939c5f7c2eb8492f.rlib,libasync_graphql_value-582e811b031d233e.rlib,libserde_json-37d7b40a09b7fb93.rlib,libryu-653032556b772f2f.rlib,libitoa-158d7e21e599682f.rlib,libbytes-86bdfea5aaf8a72e.rlib,libindexmap-bce095949bae7a4b.rlib,libhashbrown-f6484c11bf24e065.rlib,libserde-446c13337dc1fd07.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcd0kynf/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_graphql_orderbook-808877db5b4d8db7" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-77fbae1b0bac8ea3.rlib(getrandom-77fbae1b0bac8ea3.getrandom.e717d150d07f8e5b-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.5/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hb9a11cc1afc2dbb5E+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-graphql-orderbook` (bin "rust-graphql-orderbook") due to 1 previous error; 51 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9b1bbf832cab47d5c654cf2d6586f22aba1fb570e420d5eba2b494733d262380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b1bbf832cab47d5c654cf2d6586f22aba1fb570e420d5eba2b494733d262380", kill_on_drop: false }` [INFO] [stdout] 9b1bbf832cab47d5c654cf2d6586f22aba1fb570e420d5eba2b494733d262380