[INFO] cloning repository https://github.com/celaus/matcha [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/celaus/matcha" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcelaus%2Fmatcha", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcelaus%2Fmatcha'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc743258b44e16b246cba440d969190f1155ed07 [INFO] testing celaus/matcha against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcelaus%2Fmatcha" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/celaus/matcha on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/celaus/matcha [INFO] finished tweaking git repo https://github.com/celaus/matcha [INFO] tweaked toml for git repo https://github.com/celaus/matcha written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/celaus/matcha already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byte-pool v0.2.3 [INFO] [stderr] Downloaded cpufeatures v0.1.3 [INFO] [stderr] Downloaded http-types v2.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35391a98a582ced2e2d2834e395b666fb4aaa3a6214a5ba873730c13d9dd8ac7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "35391a98a582ced2e2d2834e395b666fb4aaa3a6214a5ba873730c13d9dd8ac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35391a98a582ced2e2d2834e395b666fb4aaa3a6214a5ba873730c13d9dd8ac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35391a98a582ced2e2d2834e395b666fb4aaa3a6214a5ba873730c13d9dd8ac7", kill_on_drop: false }` [INFO] [stdout] 35391a98a582ced2e2d2834e395b666fb4aaa3a6214a5ba873730c13d9dd8ac7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7de25f2cda8e31141a05f69feda6436cf5b5ef6d288b415a78f2e37e5e9f3298 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7de25f2cda8e31141a05f69feda6436cf5b5ef6d288b415a78f2e37e5e9f3298", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling cpufeatures v0.1.3 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling http-types v2.11.1 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling byte-pool v0.2.3 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling xactor-derive v0.7.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.1.0 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling xactor v0.7.11 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_qs v0.7.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling femme v2.1.1 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling http-client v6.3.5 [INFO] [stderr] Compiling async-h1 v2.3.2 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling matcha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/actors.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | Intent::CancelIntent { account, order_id } => [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `account: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/actors.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | Intent::CancelIntent { account, order_id } => [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `order_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/actors.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | async fn started(&mut self, ctx: &mut Context) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | async fn orders_list(req: Request) -> tide::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/web.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let order: Order = req.body_json().await?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/web.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let n: usize = req.param("id")?.parse()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/web.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let n: usize = req.param("id")?.parse()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/web.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let n: usize = req.param("id")?.parse()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Connections` in public interface (error E0446) [INFO] [stdout] --> src/web.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn start(state: ActorConnections) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Connections` in public interface (error E0446) [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub type ActorConnections = Connections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `asks` [INFO] [stdout] --> src/actors.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | asks: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AccountOperations` [INFO] [stdout] --> src/actors.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum AccountOperations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Amount` [INFO] [stdout] --> src/matching.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Amount = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/matching.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_request` [INFO] [stdout] --> src/matching.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn from_request(req: Intent) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/matching.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ORDERIDGEN.set(n + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "7de25f2cda8e31141a05f69feda6436cf5b5ef6d288b415a78f2e37e5e9f3298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de25f2cda8e31141a05f69feda6436cf5b5ef6d288b415a78f2e37e5e9f3298", kill_on_drop: false }` [INFO] [stdout] 7de25f2cda8e31141a05f69feda6436cf5b5ef6d288b415a78f2e37e5e9f3298 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c377043e5bf8a51ee6f32bac58719534bc9f20bcd8748cd98a70b01a3fbb2bde [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c377043e5bf8a51ee6f32bac58719534bc9f20bcd8748cd98a70b01a3fbb2bde", kill_on_drop: false }` [INFO] [stderr] Compiling matcha v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `account` [INFO] [stdout] --> src/actors.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | Intent::CancelIntent { account, order_id } => [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `account: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/actors.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | Intent::CancelIntent { account, order_id } => [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `order_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/actors.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | async fn started(&mut self, ctx: &mut Context) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/web.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | async fn orders_list(req: Request) -> tide::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/web.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let order: Order = req.body_json().await?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/web.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let n: usize = req.param("id")?.parse()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/web.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let n: usize = req.param("id")?.parse()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/web.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let n: usize = req.param("id")?.parse()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Connections` in public interface (error E0446) [INFO] [stdout] --> src/web.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn start(state: ActorConnections) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Connections` in public interface (error E0446) [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub type ActorConnections = Connections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `asks` [INFO] [stdout] --> src/actors.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | asks: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AccountOperations` [INFO] [stdout] --> src/actors.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum AccountOperations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Amount` [INFO] [stdout] --> src/matching.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub type Amount = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/matching.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_request` [INFO] [stdout] --> src/matching.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn from_request(req: Intent) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/matching.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ORDERIDGEN.set(n + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.35s [INFO] running `Command { std: "docker" "inspect" "c377043e5bf8a51ee6f32bac58719534bc9f20bcd8748cd98a70b01a3fbb2bde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c377043e5bf8a51ee6f32bac58719534bc9f20bcd8748cd98a70b01a3fbb2bde", kill_on_drop: false }` [INFO] [stdout] c377043e5bf8a51ee6f32bac58719534bc9f20bcd8748cd98a70b01a3fbb2bde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dd3783dbfabbe61b3103537fcb55b47621bd4c1927602cfe9e9b6362f06cfdc8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dd3783dbfabbe61b3103537fcb55b47621bd4c1927602cfe9e9b6362f06cfdc8", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `account` [INFO] [stderr] --> src/actors.rs:86:36 [INFO] [stderr] | [INFO] [stderr] 86 | Intent::CancelIntent { account, order_id } => [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `account: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order_id` [INFO] [stderr] --> src/actors.rs:86:45 [INFO] [stderr] | [INFO] [stderr] 86 | Intent::CancelIntent { account, order_id } => [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `order_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/actors.rs:183:33 [INFO] [stderr] | [INFO] [stderr] 183 | async fn started(&mut self, ctx: &mut Context) -> Result<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/web.rs:56:22 [INFO] [stderr] | [INFO] [stderr] 56 | async fn orders_list(req: Request) -> tide::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order` [INFO] [stderr] --> src/web.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | let order: Order = req.body_json().await?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/web.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | let n: usize = req.param("id")?.parse()?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/web.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | let n: usize = req.param("id")?.parse()?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/web.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | let n: usize = req.param("id")?.parse()?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: private type `Connections` in public interface (error E0446) [INFO] [stderr] --> src/web.rs:95:1 [INFO] [stderr] | [INFO] [stderr] 95 | pub async fn start(state: ActorConnections) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private type `Connections` in public interface (error E0446) [INFO] [stderr] --> src/main.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub type ActorConnections = Connections; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `asks` [INFO] [stderr] --> src/actors.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | asks: BTreeMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `AccountOperations` [INFO] [stderr] --> src/actors.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | pub enum AccountOperations { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Amount` [INFO] [stderr] --> src/matching.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | pub type Amount = usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/matching.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_request` [INFO] [stderr] --> src/matching.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn from_request(req: Intent) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/matching.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | ORDERIDGEN.set(n + 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/matcha-63c3cff16f1176a6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dd3783dbfabbe61b3103537fcb55b47621bd4c1927602cfe9e9b6362f06cfdc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd3783dbfabbe61b3103537fcb55b47621bd4c1927602cfe9e9b6362f06cfdc8", kill_on_drop: false }` [INFO] [stdout] dd3783dbfabbe61b3103537fcb55b47621bd4c1927602cfe9e9b6362f06cfdc8