[INFO] cloning repository https://github.com/peterhorne/allocator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peterhorne/allocator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterhorne%2Fallocator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterhorne%2Fallocator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 39378ca6b5d97a13fc8a118acb149bbbdeec08b4
[INFO] checking peterhorne/allocator/39378ca6b5d97a13fc8a118acb149bbbdeec08b4 against 3d50c25bc66853bf0ad205529d0f305a1d841b5e for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterhorne%2Fallocator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/peterhorne/allocator
[INFO] finished tweaking git repo https://github.com/peterhorne/allocator
[INFO] tweaked toml for git repo https://github.com/peterhorne/allocator written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/peterhorne/allocator on toolchain 3d50c25bc66853bf0ad205529d0f305a1d841b5e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/peterhorne/allocator 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" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `allocator` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9869d76d63b344e180aa312adab51584b210fdd42310fb6ac10dd4c89ed3cb79
[INFO] running `Command { std: "docker" "start" "9869d76d63b344e180aa312adab51584b210fdd42310fb6ac10dd4c89ed3cb79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9869d76d63b344e180aa312adab51584b210fdd42310fb6ac10dd4c89ed3cb79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9869d76d63b344e180aa312adab51584b210fdd42310fb6ac10dd4c89ed3cb79" "/opt/rustwide/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9869d76d63b344e180aa312adab51584b210fdd42310fb6ac10dd4c89ed3cb79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9869d76d63b344e180aa312adab51584b210fdd42310fb6ac10dd4c89ed3cb79" "/opt/rustwide/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `allocator` (manifest) generated 1 warning
[INFO] [stderr]     Checking allocator v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::io::BufStream`
[INFO] [stdout]  --> src/main.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{BufStream, Read, Write};
[INFO] [stdout]   |               ^^^^^^^^^ no `BufStream` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::BufStream`
[INFO] [stdout]  --> src/commands/mod.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufRead, BufStream, Read, Write};
[INFO] [stdout]   |                        ^^^^^^^^^ no `BufStream` in `io`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this unresolved item through its public re-export instead:
[INFO] [stdout]           BufStream
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `_resources` in this scope
[INFO] [stdout]   --> src/commands/consume.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |         if let [id, _resources..] = args {
[INFO] [stdout]    |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: range patterns match against the start and end of a range; to bind the components, use a struct pattern
[INFO] [stdout] help: if you meant to collect the rest of the slice in `_resources`, use the at operator
[INFO] [stdout]    |
[INFO] [stdout] 16 |         if let [id, _resources @ ..] = args {
[INFO] [stdout]    |                                +
[INFO] [stdout] help: if you meant to destructure a range use a struct pattern
[INFO] [stdout]    |
[INFO] [stdout] 16 -         if let [id, _resources..] = args {
[INFO] [stdout] 16 +         if let [id, std::ops::RangeFrom { start: _resources }] = args {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `_resources` in this scope
[INFO] [stdout]   --> src/commands/consume.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |             for resource in _resources {
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 18 -             for resource in _resources {
[INFO] [stdout] 18 +             for resource in resources {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental
[INFO] [stdout]   --> src/commands/consume.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |         if let [id, _resources..] = args {
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
[INFO] [stdout]    = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-07-16; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental
[INFO] [stdout]   --> src/commands/mod.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |         [name, args..] => match name {
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
[INFO] [stdout]    = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-07-16; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/main.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/journal.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/journal.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         try!(file.write_all(command.as_bytes()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(slice_patterns)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `convert`
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(convert)]
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `io`
[INFO] [stdout]  --> src/main.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(io)]
[INFO] [stdout]   |            ^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a feature with a similar name: `ip`
[INFO] [stdout]   |
[INFO] [stdout] 3 - #![feature(io)]
[INFO] [stdout] 3 + #![feature(ip)]
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/mod.rs:24:55
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn execute(&self, database: &mut Database) -> Box<Command>;
[INFO] [stdout]    |                                                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn execute(&self, database: &mut Database) -> Box<dyn Command>;
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/journal.rs:22:45
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn next(&mut self) -> Option<Result<Box<Command>, &'static str>> {
[INFO] [stdout]    |                                             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn next(&mut self) -> Option<Result<Box<dyn Command>, &'static str>> {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/mod.rs:44:49
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn next(&mut self) -> Option<Result<Box<Command>, &'static str>> {
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn next(&mut self) -> Option<Result<Box<dyn Command>, &'static str>> {
[INFO] [stdout]    |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/journal.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 20 |     type Item = Result<Box<Command>, &'static str>;
[INFO] [stdout]    |                            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     type Item = Result<Box<dyn Command>, &'static str>;
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/stock.rs:33:55
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn execute(&self, database: &mut Database) -> Box<Command> {
[INFO] [stdout]    |                                                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn execute(&self, database: &mut Database) -> Box<dyn Command> {
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/consume.rs:47:55
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn execute(&self, database: &mut Database) -> Box<Command> {
[INFO] [stdout]    |                                                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn execute(&self, database: &mut Database) -> Box<dyn Command> {
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/mod.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn from_str(args: &str) -> Result<Box<Command>, &'static str> {
[INFO] [stdout]    |                                           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn from_str(args: &str) -> Result<Box<dyn Command>, &'static str> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/stock.rs:15:50
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn from_str(args: &[&str]) -> Result<Box<Command>, &'static str> {
[INFO] [stdout]    |                                                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn from_str(args: &[&str]) -> Result<Box<dyn Command>, &'static str> {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/consume.rs:15:50
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn from_str(args: &[&str]) -> Result<Box<Command>, &'static str> {
[INFO] [stdout]    |                                                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn from_str(args: &[&str]) -> Result<Box<dyn Command>, &'static str> {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/commands/stock.rs:17:75
[INFO] [stdout]    |
[INFO] [stdout] 17 |             if let [id, quantity] = arg.split('=').collect::<Vec<&str>>().as_ref() {
[INFO] [stdout]    |                    -------------- type must be known at this point        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]    |
[INFO] [stdout] 17 -             if let [id, quantity] = arg.split('=').collect::<Vec<&str>>().as_ref() {
[INFO] [stdout] 17 +             if let [id, quantity] = <Vec<&str> as AsRef<T>>::as_ref(&arg.split('=').collect::<Vec<&str>>()) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]   --> src/commands/consume.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |             .connect(" ");
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 42 -             .connect(" ");
[INFO] [stdout] 42 +             .join(" ");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/commands/mod.rs:12:57
[INFO] [stdout]    |
[INFO] [stdout] 12 |     match args.trim().split(' ').collect::<Vec<&str>>().as_ref() {
[INFO] [stdout]    |                                                         ^^^^^^
[INFO] [stdout] 13 |         [name, args..] => match name {
[INFO] [stdout]    |         -------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]    |
[INFO] [stdout] 12 -     match args.trim().split(' ').collect::<Vec<&str>>().as_ref() {
[INFO] [stdout] 12 +     match <Vec<&str> as AsRef<T>>::as_ref(&args.trim().split(' ').collect::<Vec<&str>>()) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns
[INFO] [stdout]   --> src/commands/mod.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |         [name, args..] => match name {
[INFO] [stdout]    |                ^^^^ this is of type `&str` but it should be `char` or numeric
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/commands/mod.rs:14:42
[INFO] [stdout]    |
[INFO] [stdout] 14 |             "STOCK"   => Stock::from_str(args),
[INFO] [stdout]    |                          --------------- ^^^^ expected `&[&str]`, found `&str`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&[&str]`
[INFO] [stdout]               found reference `&str`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/commands/stock.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn from_str(args: &[&str]) -> Result<Box<Command>, &'static str> {
[INFO] [stdout]    |            ^^^^^^^^ -------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/commands/mod.rs:15:44
[INFO] [stdout]    |
[INFO] [stdout] 15 |             "CONSUME" => Consume::from_str(args),
[INFO] [stdout]    |                          ----------------- ^^^^ expected `&[&str]`, found `&str`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&[&str]`
[INFO] [stdout]               found reference `&str`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/commands/consume.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn from_str(args: &[&str]) -> Result<Box<Command>, &'static str> {
[INFO] [stdout]    |            ^^^^^^^^ -------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Command`
[INFO] [stdout]   --> src/main.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | use commands::{Command, CommandStream};
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0029, E0282, E0308, E0425, E0432, E0635, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0029`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::BufStream`
[INFO] [stdout]  --> src/main.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{BufStream, Read, Write};
[INFO] [stdout]   |               ^^^^^^^^^ no `BufStream` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::BufStream`
[INFO] [stdout]  --> src/commands/mod.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufRead, BufStream, Read, Write};
[INFO] [stdout]   |                        ^^^^^^^^^ no `BufStream` in `io`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this unresolved item through its public re-export instead:
[INFO] [stdout]           BufStream
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `allocator` (bin "allocator") due to 13 previous errors; 15 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find value `_resources` in this scope
[INFO] [stdout]   --> src/commands/consume.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |         if let [id, _resources..] = args {
[INFO] [stdout]    |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout]    = note: range patterns match against the start and end of a range; to bind the components, use a struct pattern
[INFO] [stdout] help: if you meant to collect the rest of the slice in `_resources`, use the at operator
[INFO] [stdout]    |
[INFO] [stdout] 16 |         if let [id, _resources @ ..] = args {
[INFO] [stdout]    |                                +
[INFO] [stdout] help: if you meant to destructure a range use a struct pattern
[INFO] [stdout]    |
[INFO] [stdout] 16 -         if let [id, _resources..] = args {
[INFO] [stdout] 16 +         if let [id, std::ops::RangeFrom { start: _resources }] = args {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `_resources` in this scope
[INFO] [stdout]   --> src/commands/consume.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |             for resource in _resources {
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 18 -             for resource in _resources {
[INFO] [stdout] 18 +             for resource in resources {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental
[INFO] [stdout]   --> src/commands/consume.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |         if let [id, _resources..] = args {
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
[INFO] [stdout]    = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-07-16; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental
[INFO] [stdout]   --> src/commands/mod.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |         [name, args..] => match name {
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
[INFO] [stdout]    = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-07-16; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpStream`
[INFO] [stdout]  --> src/main.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/journal.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/journal.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         try!(file.write_all(command.as_bytes()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(slice_patterns)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `convert`
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(convert)]
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `io`
[INFO] [stdout]  --> src/main.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(io)]
[INFO] [stdout]   |            ^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a feature with a similar name: `ip`
[INFO] [stdout]   |
[INFO] [stdout] 3 - #![feature(io)]
[INFO] [stdout] 3 + #![feature(ip)]
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/mod.rs:24:55
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn execute(&self, database: &mut Database) -> Box<Command>;
[INFO] [stdout]    |                                                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn execute(&self, database: &mut Database) -> Box<dyn Command>;
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/journal.rs:22:45
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn next(&mut self) -> Option<Result<Box<Command>, &'static str>> {
[INFO] [stdout]    |                                             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn next(&mut self) -> Option<Result<Box<dyn Command>, &'static str>> {
[INFO] [stdout]    |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/mod.rs:44:49
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn next(&mut self) -> Option<Result<Box<Command>, &'static str>> {
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn next(&mut self) -> Option<Result<Box<dyn Command>, &'static str>> {
[INFO] [stdout]    |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/journal.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 20 |     type Item = Result<Box<Command>, &'static str>;
[INFO] [stdout]    |                            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     type Item = Result<Box<dyn Command>, &'static str>;
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/stock.rs:33:55
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn execute(&self, database: &mut Database) -> Box<Command> {
[INFO] [stdout]    |                                                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn execute(&self, database: &mut Database) -> Box<dyn Command> {
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/consume.rs:47:55
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn execute(&self, database: &mut Database) -> Box<Command> {
[INFO] [stdout]    |                                                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn execute(&self, database: &mut Database) -> Box<dyn Command> {
[INFO] [stdout]    |                                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/mod.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn from_str(args: &str) -> Result<Box<Command>, &'static str> {
[INFO] [stdout]    |                                           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn from_str(args: &str) -> Result<Box<dyn Command>, &'static str> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/stock.rs:15:50
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn from_str(args: &[&str]) -> Result<Box<Command>, &'static str> {
[INFO] [stdout]    |                                                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn from_str(args: &[&str]) -> Result<Box<dyn Command>, &'static str> {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands/consume.rs:15:50
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn from_str(args: &[&str]) -> Result<Box<Command>, &'static str> {
[INFO] [stdout]    |                                                  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn from_str(args: &[&str]) -> Result<Box<dyn Command>, &'static str> {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/database.rs:122:50
[INFO] [stdout]     |
[INFO] [stdout] 122 |         if let [(ref id, ref quantity)] = result.as_ref() {
[INFO] [stdout]     |                ------------------------          ^^^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]     |
[INFO] [stdout] 122 -         if let [(ref id, ref quantity)] = result.as_ref() {
[INFO] [stdout] 122 +         if let [(ref id, ref quantity)] = <Vec<(String, u32)> as AsRef<T>>::as_ref(&result) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/database.rs:139:50
[INFO] [stdout]     |
[INFO] [stdout] 139 |         if let [(ref id, ref quantity)] = result.as_ref() {
[INFO] [stdout]     |                ------------------------          ^^^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]     |
[INFO] [stdout] 139 -         if let [(ref id, ref quantity)] = result.as_ref() {
[INFO] [stdout] 139 +         if let [(ref id, ref quantity)] = <Vec<(String, u32)> as AsRef<T>>::as_ref(&result) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/database.rs:170:50
[INFO] [stdout]     |
[INFO] [stdout] 170 |         if let [(ref id, ref quantity)] = result.as_ref() {
[INFO] [stdout]     |                ------------------------          ^^^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]     |
[INFO] [stdout] 170 -         if let [(ref id, ref quantity)] = result.as_ref() {
[INFO] [stdout] 170 +         if let [(ref id, ref quantity)] = <Vec<(String, u32)> as AsRef<T>>::as_ref(&result) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/commands/stock.rs:17:75
[INFO] [stdout]    |
[INFO] [stdout] 17 |             if let [id, quantity] = arg.split('=').collect::<Vec<&str>>().as_ref() {
[INFO] [stdout]    |                    -------------- type must be known at this point        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]    |
[INFO] [stdout] 17 -             if let [id, quantity] = arg.split('=').collect::<Vec<&str>>().as_ref() {
[INFO] [stdout] 17 +             if let [id, quantity] = <Vec<&str> as AsRef<T>>::as_ref(&arg.split('=').collect::<Vec<&str>>()) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]   --> src/commands/consume.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |             .connect(" ");
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 42 -             .connect(" ");
[INFO] [stdout] 42 +             .join(" ");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/commands/mod.rs:12:57
[INFO] [stdout]    |
[INFO] [stdout] 12 |     match args.trim().split(' ').collect::<Vec<&str>>().as_ref() {
[INFO] [stdout]    |                                                         ^^^^^^
[INFO] [stdout] 13 |         [name, args..] => match name {
[INFO] [stdout]    |         -------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]    |
[INFO] [stdout] 12 -     match args.trim().split(' ').collect::<Vec<&str>>().as_ref() {
[INFO] [stdout] 12 +     match <Vec<&str> as AsRef<T>>::as_ref(&args.trim().split(' ').collect::<Vec<&str>>()) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns
[INFO] [stdout]   --> src/commands/mod.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |         [name, args..] => match name {
[INFO] [stdout]    |                ^^^^ this is of type `&str` but it should be `char` or numeric
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/commands/mod.rs:14:42
[INFO] [stdout]    |
[INFO] [stdout] 14 |             "STOCK"   => Stock::from_str(args),
[INFO] [stdout]    |                          --------------- ^^^^ expected `&[&str]`, found `&str`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&[&str]`
[INFO] [stdout]               found reference `&str`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/commands/stock.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn from_str(args: &[&str]) -> Result<Box<Command>, &'static str> {
[INFO] [stdout]    |            ^^^^^^^^ -------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/commands/mod.rs:15:44
[INFO] [stdout]    |
[INFO] [stdout] 15 |             "CONSUME" => Consume::from_str(args),
[INFO] [stdout]    |                          ----------------- ^^^^ expected `&[&str]`, found `&str`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&[&str]`
[INFO] [stdout]               found reference `&str`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/commands/consume.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn from_str(args: &[&str]) -> Result<Box<Command>, &'static str> {
[INFO] [stdout]    |            ^^^^^^^^ -------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Command`
[INFO] [stdout]   --> src/main.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | use commands::{Command, CommandStream};
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0029, E0282, E0308, E0425, E0432, E0635, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0029`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `allocator` (bin "allocator" test) due to 16 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9869d76d63b344e180aa312adab51584b210fdd42310fb6ac10dd4c89ed3cb79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9869d76d63b344e180aa312adab51584b210fdd42310fb6ac10dd4c89ed3cb79", kill_on_drop: false }`
[INFO] [stdout] 9869d76d63b344e180aa312adab51584b210fdd42310fb6ac10dd4c89ed3cb79
