[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] checking Firfi/rust-graphql-orderbook against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirfi%2Frust-graphql-orderbook" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Firfi/rust-graphql-orderbook on toolchain 94b72d6bebbddb5d17860914c4544f37365e988c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [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" "+94b72d6bebbddb5d17860914c4544f37365e988c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-graphql-axum v3.0.36 [INFO] [stderr] Downloaded async-graphql-value v3.0.36 [INFO] [stderr] Downloaded axum-core v0.1.2 [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded async-graphql-derive v3.0.36 [INFO] [stderr] Downloaded axum v0.4.8 [INFO] [stderr] Downloaded tokio-util v0.7.0 [INFO] [stderr] Downloaded async-graphql v3.0.36 [INFO] [stderr] Downloaded h2 v0.3.12 [INFO] [stderr] Downloaded async-graphql-parser v3.0.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a053e38b4cb3ff6b4768ec8df183733a210ba1291b33a73028ba975795e0cdcd [INFO] running `Command { std: "docker" "start" "-a" "a053e38b4cb3ff6b4768ec8df183733a210ba1291b33a73028ba975795e0cdcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a053e38b4cb3ff6b4768ec8df183733a210ba1291b33a73028ba975795e0cdcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a053e38b4cb3ff6b4768ec8df183733a210ba1291b33a73028ba975795e0cdcd", kill_on_drop: false }` [INFO] [stdout] a053e38b4cb3ff6b4768ec8df183733a210ba1291b33a73028ba975795e0cdcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b714a29ae9ca577dca605cd7a57b4cc3d875903bd4271207080df466bb8e068 [INFO] running `Command { std: "docker" "start" "-a" "4b714a29ae9ca577dca605cd7a57b4cc3d875903bd4271207080df466bb8e068", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling serde_derive v1.0.136 [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] Checking itoa v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking url v2.2.2 [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 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] Checking async-stream v0.3.3 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking async-graphql-value v3.0.36 [INFO] [stderr] Checking async-graphql-parser v3.0.36 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking tungstenite v0.16.0 [INFO] [stderr] Checking headers v0.3.7 [INFO] [stderr] Checking axum-core v0.1.2 [INFO] [stderr] Compiling async-graphql-derive v3.0.36 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-tungstenite v0.16.1 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking h2 v0.3.12 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking async-graphql v3.0.36 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking axum v0.4.8 [INFO] [stderr] Checking async-graphql-axum v3.0.36 [INFO] [stderr] Checking 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`, `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: `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: the item `Context` is imported redundantly [INFO] [stdout] --> src/orderbook/model.rs:5:73 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{connection::{Connection, Edge, EmptyFields, query}, Context, ContextSelectionSet, Enum, FieldResult, Interface, Objec... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `Context` is already imported here [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: the item `FieldResult` is imported redundantly [INFO] [stdout] --> src/orderbook/model.rs:5:109 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{connection::{Connection, Edge, EmptyFields, query}, Context, ContextSelectionSet, Enum, FieldResult, Interface, Objec... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `FieldResult` is already imported here [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 imports: `Connection`, `ContextSelectionSet`, `Edge`, `EmptyFields`, `Interface`, `Positioned`, `ServerResult`, `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: `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: the item `Context` is imported redundantly [INFO] [stdout] --> src/orderbook/model.rs:5:73 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{connection::{Connection, Edge, EmptyFields, query}, Context, ContextSelectionSet, Enum, FieldResult, Interface, Objec... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `Context` is already imported here [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: the item `FieldResult` is imported redundantly [INFO] [stdout] --> src/orderbook/model.rs:5:109 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{connection::{Connection, Edge, EmptyFields, query}, Context, ContextSelectionSet, Enum, FieldResult, Interface, Objec... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `FieldResult` is already imported here [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: 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: 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: the item `InputValueError` is imported redundantly [INFO] [stdout] --> src/orderbook/types/big_uint.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use num_bigint::{BigUint, ParseBigIntError}; [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `InputValueError` is already imported here [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: the item `InputValueResult` is imported redundantly [INFO] [stdout] --> src/orderbook/types/big_uint.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use num_bigint::{BigUint, ParseBigIntError}; [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `InputValueResult` is already imported here [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: the item `ScalarType` is imported redundantly [INFO] [stdout] --> src/orderbook/types/big_uint.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | use num_bigint::{BigUint, ParseBigIntError}; [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `ScalarType` is already imported here [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: the item `Value` is imported redundantly [INFO] [stdout] --> src/orderbook/types/big_uint.rs:6:68 [INFO] [stdout] | [INFO] [stdout] 6 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | use num_bigint::{BigUint, ParseBigIntError}; [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `Value` is already imported here [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: the item `InputValueError` is imported redundantly [INFO] [stdout] --> src/orderbook/types/big_uint.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use num_bigint::{BigUint, ParseBigIntError}; [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `InputValueError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InputValueError` is imported redundantly [INFO] [stdout] --> src/orderbook/types/date_time.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `InputValueError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InputValueResult` is imported redundantly [INFO] [stdout] --> src/orderbook/types/big_uint.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use num_bigint::{BigUint, ParseBigIntError}; [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `InputValueResult` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InputValueResult` is imported redundantly [INFO] [stdout] --> src/orderbook/types/date_time.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `InputValueResult` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ScalarType` is imported redundantly [INFO] [stdout] --> src/orderbook/types/big_uint.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | use num_bigint::{BigUint, ParseBigIntError}; [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `ScalarType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ScalarType` is imported redundantly [INFO] [stdout] --> src/orderbook/types/date_time.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `ScalarType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/orderbook/types/big_uint.rs:6:68 [INFO] [stdout] | [INFO] [stdout] 6 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | use num_bigint::{BigUint, ParseBigIntError}; [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/orderbook/types/date_time.rs:5:68 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `Value` is already imported here [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: the item `Ord` is imported redundantly [INFO] [stdout] --> src/orderbook/types/slice_display.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/94b72d6bebbddb5d17860914c4544f37365e988c/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InputValueError` is imported redundantly [INFO] [stdout] --> src/orderbook/types/date_time.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `InputValueError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/orderbook/types/slice_display.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/94b72d6bebbddb5d17860914c4544f37365e988c/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InputValueResult` is imported redundantly [INFO] [stdout] --> src/orderbook/types/date_time.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `InputValueResult` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ok` is imported redundantly [INFO] [stdout] --> src/orderbook/types/slice_display.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::result::Result::Ok; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/94b72d6bebbddb5d17860914c4544f37365e988c/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ok` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ScalarType` is imported redundantly [INFO] [stdout] --> src/orderbook/types/date_time.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `ScalarType` is already imported here [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: the item `Value` is imported redundantly [INFO] [stdout] --> src/orderbook/types/date_time.rs:5:68 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InputValueError` is imported redundantly [INFO] [stdout] --> src/orderbook/types/uuid.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `InputValueError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InputValueResult` is imported redundantly [INFO] [stdout] --> src/orderbook/types/uuid.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `InputValueResult` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ord` is imported redundantly [INFO] [stdout] --> src/orderbook/types/slice_display.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/94b72d6bebbddb5d17860914c4544f37365e988c/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ord` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/orderbook/types/slice_display.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/94b72d6bebbddb5d17860914c4544f37365e988c/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ScalarType` is imported redundantly [INFO] [stdout] --> src/orderbook/types/uuid.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `ScalarType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/orderbook/types/uuid.rs:5:68 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `Value` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ok` is imported redundantly [INFO] [stdout] --> src/orderbook/types/slice_display.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::result::Result::Ok; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/94b72d6bebbddb5d17860914c4544f37365e988c/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Ok` is already defined here [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: the item `InputValueError` is imported redundantly [INFO] [stdout] --> src/orderbook/types/uuid.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `InputValueError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InputValueResult` is imported redundantly [INFO] [stdout] --> src/orderbook/types/uuid.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `InputValueResult` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ScalarType` is imported redundantly [INFO] [stdout] --> src/orderbook/types/uuid.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `ScalarType` is already imported here [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: the item `Value` is imported redundantly [INFO] [stdout] --> src/orderbook/types/uuid.rs:5:68 [INFO] [stdout] | [INFO] [stdout] 5 | use async_graphql::{InputValueError, InputValueResult, ScalarType, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `Value` is already imported here [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: `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` [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::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::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::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::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: `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: `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: `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: the item `EmptyMutation` is imported redundantly [INFO] [stdout] --> src/orderbook/mod.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `EmptyMutation` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use async_graphql::{EmptyMutation, EmptySubscription, Schema}; [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: the item `Schema` is imported redundantly [INFO] [stdout] --> src/orderbook/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `Schema` is already imported here [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: the item `EmptyMutation` is imported redundantly [INFO] [stdout] --> src/orderbook/mod.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `EmptyMutation` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use async_graphql::{EmptyMutation, EmptySubscription, Schema}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Schema` is imported redundantly [INFO] [stdout] --> src/orderbook/mod.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 8 | use async_graphql::*; [INFO] [stdout] | ---------------- the item `Schema` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use async_graphql::{EmptyMutation, EmptySubscription, Schema}; [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 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 imports: `Display`, `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::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 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 imports: `Display`, `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::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 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 imports: `BigUint`, `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: `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 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 imports: `BigUint`, `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: `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: `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: `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 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 imports: `EmptySubscription`, `Request`, `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 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: `Json`, `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 imports: `EmptySubscription`, `Request`, `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 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 imports: `Json`, `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: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 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: 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: 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: 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: 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] 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] warning: 69 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 69 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.10s [INFO] running `Command { std: "docker" "inspect" "4b714a29ae9ca577dca605cd7a57b4cc3d875903bd4271207080df466bb8e068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b714a29ae9ca577dca605cd7a57b4cc3d875903bd4271207080df466bb8e068", kill_on_drop: false }` [INFO] [stdout] 4b714a29ae9ca577dca605cd7a57b4cc3d875903bd4271207080df466bb8e068 [INFO] checking Firfi/rust-graphql-orderbook against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFirfi%2Frust-graphql-orderbook" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Firfi/rust-graphql-orderbook on toolchain cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc2/source/Cargo.toml [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" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8442e1bc89eaa97f3487ee843fc34cff0caceb22396786ea8b41001096e920b [INFO] running `Command { std: "docker" "start" "-a" "d8442e1bc89eaa97f3487ee843fc34cff0caceb22396786ea8b41001096e920b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8442e1bc89eaa97f3487ee843fc34cff0caceb22396786ea8b41001096e920b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8442e1bc89eaa97f3487ee843fc34cff0caceb22396786ea8b41001096e920b", kill_on_drop: false }` [INFO] [stdout] d8442e1bc89eaa97f3487ee843fc34cff0caceb22396786ea8b41001096e920b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 719ab16e37758f7531cf7b5602b9d769609c23e7e69181ed05791bb9b75305f8 [INFO] running `Command { std: "docker" "start" "-a" "719ab16e37758f7531cf7b5602b9d769609c23e7e69181ed05791bb9b75305f8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha-1 v0.10.0 [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 tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [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] Checking async-stream v0.3.3 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking async-graphql-value v3.0.36 [INFO] [stderr] Checking async-graphql-parser v3.0.36 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/async-graphql-parser-3.0.36/src/types/executable.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | / self.default_value.as_ref().map(|value| &value.node).or({ [INFO] [stdout] 130 | | if self.var_type.node.nullable { [INFO] [stdout] 131 | | Some(&ConstValue::Null) [INFO] [stdout] | | ---------------- temporary value created here [INFO] [stdout] 132 | | } else { [INFO] [stdout] 133 | | None [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking tungstenite v0.16.0 [INFO] [stderr] Checking headers v0.3.7 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-graphql-parser` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/async-graphql-parser-3.0.36/src/types/executable.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | / self.default_value.as_ref().map(|value| &value.node).or({ [INFO] [stdout] 130 | | if self.var_type.node.nullable { [INFO] [stdout] 131 | | Some(&ConstValue::Null) [INFO] [stdout] | | ---------------- temporary value created here [INFO] [stdout] 132 | | } else { [INFO] [stdout] 133 | | None [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/accept_ranges.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / derive_header! { [INFO] [stdout] 33 | | AcceptRanges(_), [INFO] [stdout] 34 | | name: ACCEPT_RANGES [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/access_control_allow_credentials.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | &::http::header::ACCESS_CONTROL_ALLOW_CREDENTIALS [INFO] [stdout] | ^------------------------------------------------ [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/access_control_allow_headers.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / derive_header! { [INFO] [stdout] 38 | | AccessControlAllowHeaders(_), [INFO] [stdout] 39 | | name: ACCESS_CONTROL_ALLOW_HEADERS [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/access_control_allow_methods.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / derive_header! { [INFO] [stdout] 39 | | AccessControlAllowMethods(_), [INFO] [stdout] 40 | | name: ACCESS_CONTROL_ALLOW_METHODS [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/access_control_allow_origin.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / derive_header! { [INFO] [stdout] 40 | | AccessControlAllowOrigin(_), [INFO] [stdout] 41 | | name: ACCESS_CONTROL_ALLOW_ORIGIN [INFO] [stdout] 42 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/access_control_expose_headers.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / derive_header! { [INFO] [stdout] 39 | | AccessControlExposeHeaders(_), [INFO] [stdout] 40 | | name: ACCESS_CONTROL_EXPOSE_HEADERS [INFO] [stdout] 41 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/access_control_max_age.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / derive_header! { [INFO] [stdout] 34 | | AccessControlMaxAge(_), [INFO] [stdout] 35 | | name: ACCESS_CONTROL_MAX_AGE [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/access_control_request_headers.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / derive_header! { [INFO] [stdout] 40 | | AccessControlRequestHeaders(_), [INFO] [stdout] 41 | | name: ACCESS_CONTROL_REQUEST_HEADERS [INFO] [stdout] 42 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/access_control_request_method.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | &::http::header::ACCESS_CONTROL_REQUEST_METHOD [INFO] [stdout] | ^--------------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/age.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / derive_header! { [INFO] [stdout] 43 | | Age(_), [INFO] [stdout] 44 | | name: AGE [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/allow.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / derive_header! { [INFO] [stdout] 41 | | Allow(_), [INFO] [stdout] 42 | | name: ALLOW [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/authorization.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | &::http::header::AUTHORIZATION [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/cache_control.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | &::http::header::CACHE_CONTROL [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/connection.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / derive_header! { [INFO] [stdout] 41 | | Connection(_), [INFO] [stdout] 42 | | name: CONNECTION [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/content_disposition.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | &::http::header::CONTENT_DISPOSITION [INFO] [stdout] | ^----------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/content_encoding.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / derive_header! { [INFO] [stdout] 38 | | ContentEncoding(_), [INFO] [stdout] 39 | | name: CONTENT_ENCODING [INFO] [stdout] 40 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/content_length.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | &::http::header::CONTENT_LENGTH [INFO] [stdout] | ^------------------------------ [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/content_location.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / derive_header! { [INFO] [stdout] 31 | | ContentLocation(_), [INFO] [stdout] 32 | | name: CONTENT_LOCATION [INFO] [stdout] 33 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/content_range.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | &::http::header::CONTENT_RANGE [INFO] [stdout] | ^----------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/content_type.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | &::http::header::CONTENT_TYPE [INFO] [stdout] | ^---------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/cookie.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / derive_header! { [INFO] [stdout] 20 | | Cookie(_), [INFO] [stdout] 21 | | name: COOKIE [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/date.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / derive_header! { [INFO] [stdout] 32 | | Date(_), [INFO] [stdout] 33 | | name: DATE [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/etag.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / derive_header! { [INFO] [stdout] 37 | | ETag(_), [INFO] [stdout] 38 | | name: ETAG [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/expect.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | &::http::header::EXPECT [INFO] [stdout] | ^---------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/expires.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / derive_header! { [INFO] [stdout] 36 | | Expires(_), [INFO] [stdout] 37 | | name: EXPIRES [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/host.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | &::http::header::HOST [INFO] [stdout] | ^-------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/if_match.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / derive_header! { [INFO] [stdout] 43 | | IfMatch(_), [INFO] [stdout] 44 | | name: IF_MATCH [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/if_modified_since.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / derive_header! { [INFO] [stdout] 36 | | IfModifiedSince(_), [INFO] [stdout] 37 | | name: IF_MODIFIED_SINCE [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/if_none_match.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / derive_header! { [INFO] [stdout] 45 | | IfNoneMatch(_), [INFO] [stdout] 46 | | name: IF_NONE_MATCH [INFO] [stdout] 47 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/if_range.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / derive_header! { [INFO] [stdout] 47 | | IfRange(_), [INFO] [stdout] 48 | | name: IF_RANGE [INFO] [stdout] 49 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/if_unmodified_since.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / derive_header! { [INFO] [stdout] 37 | | IfUnmodifiedSince(_), [INFO] [stdout] 38 | | name: IF_UNMODIFIED_SINCE [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/last_modified.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / derive_header! { [INFO] [stdout] 37 | | LastModified(_), [INFO] [stdout] 38 | | name: LAST_MODIFIED [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/location.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / derive_header! { [INFO] [stdout] 27 | | Location(_), [INFO] [stdout] 28 | | name: LOCATION [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/origin.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / derive_header! { [INFO] [stdout] 32 | | Origin(_), [INFO] [stdout] 33 | | name: ORIGIN [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/pragma.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / derive_header! { [INFO] [stdout] 30 | | Pragma(_), [INFO] [stdout] 31 | | name: PRAGMA [INFO] [stdout] 32 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/proxy_authorization.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | &::http::header::PROXY_AUTHORIZATION [INFO] [stdout] | ^----------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/range.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | &::http::header::RANGE [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/referer.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / derive_header! { [INFO] [stdout] 36 | | Referer(_), [INFO] [stdout] 37 | | name: REFERER [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/referrer_policy.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / derive_header! { [INFO] [stdout] 37 | | ReferrerPolicy(_), [INFO] [stdout] 38 | | name: REFERRER_POLICY [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/retry_after.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / derive_header! { [INFO] [stdout] 31 | | RetryAfter(_), [INFO] [stdout] 32 | | name: RETRY_AFTER [INFO] [stdout] 33 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/sec_websocket_accept.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / derive_header! { [INFO] [stdout] 28 | | SecWebsocketAccept(_), [INFO] [stdout] 29 | | name: SEC_WEBSOCKET_ACCEPT [INFO] [stdout] 30 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/sec_websocket_key.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / derive_header! { [INFO] [stdout] 6 | | SecWebsocketKey(_), [INFO] [stdout] 7 | | name: SEC_WEBSOCKET_KEY [INFO] [stdout] 8 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/sec_websocket_version.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | &::http::header::SEC_WEBSOCKET_VERSION [INFO] [stdout] | ^------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/server.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / derive_header! { [INFO] [stdout] 37 | | Server(_), [INFO] [stdout] 38 | | name: SERVER [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/set_cookie.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | &::http::header::SET_COOKIE [INFO] [stdout] | ^-------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/strict_transport_security.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | &::http::header::STRICT_TRANSPORT_SECURITY [INFO] [stdout] | ^----------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/te.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / derive_header! { [INFO] [stdout] 32 | | Te(_), [INFO] [stdout] 33 | | name: TE [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/transfer_encoding.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / derive_header! { [INFO] [stdout] 45 | | TransferEncoding(_), [INFO] [stdout] 46 | | name: TRANSFER_ENCODING [INFO] [stdout] 47 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/upgrade.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / derive_header! { [INFO] [stdout] 46 | | Upgrade(_), [INFO] [stdout] 47 | | name: UPGRADE [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/user_agent.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / derive_header! { [INFO] [stdout] 46 | | UserAgent(_), [INFO] [stdout] 47 | | name: USER_AGENT [INFO] [stdout] 48 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/util/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | &::http::header::$name [INFO] [stdout] | ^--------------------- [INFO] [stdout] | || [INFO] [stdout] | |temporary value created here [INFO] [stdout] | returns a reference to data owned by the current function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/headers-0.3.7/src/common/vary.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / derive_header! { [INFO] [stdout] 36 | | Vary(_), [INFO] [stdout] 37 | | name: VARY [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `derive_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `headers` (lib) due to 52 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-graphql-parser` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "719ab16e37758f7531cf7b5602b9d769609c23e7e69181ed05791bb9b75305f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "719ab16e37758f7531cf7b5602b9d769609c23e7e69181ed05791bb9b75305f8", kill_on_drop: false }` [INFO] [stdout] 719ab16e37758f7531cf7b5602b9d769609c23e7e69181ed05791bb9b75305f8