[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcelaus%2Fmatcha" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/celaus/matcha on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-24/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" "+1.60.0" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 679a1f05937c210b3670d4596fc2c95c452f22584bcb6e9f0ae52d2c4cadc1a3 [INFO] running `Command { std: "docker" "start" "-a" "679a1f05937c210b3670d4596fc2c95c452f22584bcb6e9f0ae52d2c4cadc1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "679a1f05937c210b3670d4596fc2c95c452f22584bcb6e9f0ae52d2c4cadc1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679a1f05937c210b3670d4596fc2c95c452f22584bcb6e9f0ae52d2c4cadc1a3", kill_on_drop: false }` [INFO] [stdout] 679a1f05937c210b3670d4596fc2c95c452f22584bcb6e9f0ae52d2c4cadc1a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d204c1e30f5df04603c4333364c9ea7111052d51ac4ec5c7498f745274d6aae8 [INFO] running `Command { std: "docker" "start" "-a" "d204c1e30f5df04603c4333364c9ea7111052d51ac4ec5c7498f745274d6aae8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling cpufeatures v0.1.3 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling http-types v2.11.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [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 num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling byte-pool v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand v0.7.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 async-attributes v1.1.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [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 time-macros v0.1.1 [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 pin-project v1.0.7 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling async-process v1.1.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [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 url v2.2.2 [INFO] [stderr] Compiling serde_qs v0.7.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling femme v2.1.1 [INFO] [stderr] Compiling http-client v6.3.5 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling async-h1 v2.3.2 [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: `orderbook` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub orderbook: Addr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Connections` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d204c1e30f5df04603c4333364c9ea7111052d51ac4ec5c7498f745274d6aae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d204c1e30f5df04603c4333364c9ea7111052d51ac4ec5c7498f745274d6aae8", kill_on_drop: false }` [INFO] [stdout] d204c1e30f5df04603c4333364c9ea7111052d51ac4ec5c7498f745274d6aae8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeed4209be84a9f757a77f7e3b1afca627a612770419520faf983f8b8ceb3399 [INFO] running `Command { std: "docker" "start" "-a" "eeed4209be84a9f757a77f7e3b1afca627a612770419520faf983f8b8ceb3399", 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: `orderbook` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub orderbook: Addr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Connections` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "eeed4209be84a9f757a77f7e3b1afca627a612770419520faf983f8b8ceb3399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeed4209be84a9f757a77f7e3b1afca627a612770419520faf983f8b8ceb3399", kill_on_drop: false }` [INFO] [stdout] eeed4209be84a9f757a77f7e3b1afca627a612770419520faf983f8b8ceb3399 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c3a5585074e8fa0867e017c2a5b5cfce8cd1387190d86924000220d203cd30ba [INFO] running `Command { std: "docker" "start" "-a" "c3a5585074e8fa0867e017c2a5b5cfce8cd1387190d86924000220d203cd30ba", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: `orderbook` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub orderbook: Addr [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Connections` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 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: `matcha` (bin "matcha" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/matcha-26a12c424bfba7bb) [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" "c3a5585074e8fa0867e017c2a5b5cfce8cd1387190d86924000220d203cd30ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3a5585074e8fa0867e017c2a5b5cfce8cd1387190d86924000220d203cd30ba", kill_on_drop: false }` [INFO] [stdout] c3a5585074e8fa0867e017c2a5b5cfce8cd1387190d86924000220d203cd30ba