[INFO] cloning repository https://github.com/mchapala/alpacarust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mchapala/alpacarust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchapala%2Falpacarust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchapala%2Falpacarust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62e59a1a22ebd9d2363bd01371ce669012f3ec89 [INFO] testing mchapala/alpacarust against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmchapala%2Falpacarust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mchapala/alpacarust on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mchapala/alpacarust [INFO] finished tweaking git repo https://github.com/mchapala/alpacarust [INFO] tweaked toml for git repo https://github.com/mchapala/alpacarust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/mchapala/alpacarust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff197beed2a714f6255b51eb4d313b9db5cfc3a242e70aa288f6a0e6359f3325 [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" "ff197beed2a714f6255b51eb4d313b9db5cfc3a242e70aa288f6a0e6359f3325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff197beed2a714f6255b51eb4d313b9db5cfc3a242e70aa288f6a0e6359f3325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff197beed2a714f6255b51eb4d313b9db5cfc3a242e70aa288f6a0e6359f3325", kill_on_drop: false }` [INFO] [stdout] ff197beed2a714f6255b51eb4d313b9db5cfc3a242e70aa288f6a0e6359f3325 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 949b0877f481aa8c7bbf277ec147d2bde44a244ad24c6db5d83ccbe472fa13fc [INFO] running `Command { std: "docker" "start" "-a" "949b0877f481aa8c7bbf277ec147d2bde44a244ad24c6db5d83ccbe472fa13fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling ref_slice v1.2.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling lexical-core v0.6.2 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling kafka v0.8.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling tokio v0.2.15 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.50 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling alpacarust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `thread` [INFO] [stdout] --> src/alpaca/polygon.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | thread::spawn(move || { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `thread` [INFO] [stdout] --> src/alpaca/polygon.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | thread::sleep(Duration::from_secs(1)); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/alpaca/polygon.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | queue: Arc>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArrayQueue` in this scope [INFO] [stdout] --> src/alpaca/polygon.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 4 | impl TickData { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 5 | pub fn read_alpaca_data( [INFO] [stdout] 6 | queue: Arc>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> src/alpaca/polygon.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | app_config: AppConfig, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::appconfig::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Map` in this scope [INFO] [stdout] --> src/alpaca/polygon.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | let tick_data_json: Map = res.json().unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Map; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Map; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::map::Map; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::value::Map; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/alpaca/polygon.rs:24:53 [INFO] [stdout] | [INFO] [stdout] 24 | let tick_data_json: Map = res.json().unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use config::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::value::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> src/alpaca/account.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap`, `HeaderName`, `HeaderValue`, `USER_AGENT` [INFO] [stdout] --> src/alpaca/account.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest::header::{HeaderMap, HeaderName, HeaderValue, USER_AGENT}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::alpaca::tick_data::TickData` [INFO] [stdout] --> src/alpaca/alpaca.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::alpaca::tick_data::TickData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/alpaca/alpaca.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> src/alpaca/tick_data.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `mpsc` [INFO] [stdout] --> src/alpaca/tick_data.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{mpsc, Arc}; [INFO] [stdout] | ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/alpaca/tick_data.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossbeam::queue::ArrayQueue` [INFO] [stdout] --> src/alpaca/tick_data.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crossbeam::queue::ArrayQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap`, `HeaderName`, `HeaderValue`, `USER_AGENT` [INFO] [stdout] --> src/alpaca/tick_data.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use reqwest::header::{HeaderMap, HeaderName, HeaderValue, USER_AGENT}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/alpaca/tick_data.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_json::{Map, Value}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::appconfig::AppConfig` [INFO] [stdout] --> src/alpaca/tick_data.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::appconfig::AppConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex`, `mpsc` [INFO] [stdout] --> src/app/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{mpsc, Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PushError` [INFO] [stdout] --> src/app/mod.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | use crossbeam::queue::{ArrayQueue, PopError, PushError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/app/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::alpaca::*` [INFO] [stdout] --> src/appconfig/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::alpaca::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::RChunks` [INFO] [stdout] --> src/appconfig/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice::RChunks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/http/client/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/kafkautil/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/kafkautil/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/kafkautil/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/kafkautil/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Read`, `Write` [INFO] [stdout] --> src/kafkautil/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error, Read, Write}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/kafkautil/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/kafkautil/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/kafkautil/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/kafkautil/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Consumer`, `FetchOffset`, `GroupOffsetStorage`, `MessageSets`, `Message` [INFO] [stdout] --> src/kafkautil/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use kafka::consumer::{Consumer, FetchOffset, GroupOffsetStorage, Message, MessageSets}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/kafkautil/consumer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/kafkautil/consumer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/kafkautil/consumer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/kafkautil/consumer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/kafkautil/consumer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageSets`, `Message` [INFO] [stdout] --> src/kafkautil/consumer.rs:12:66 [INFO] [stdout] | [INFO] [stdout] 12 | use kafka::consumer::{Consumer, FetchOffset, GroupOffsetStorage, Message, MessageSets}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Read`, `Write` [INFO] [stdout] --> src/kafkautil/consumer.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{Error, Read, Write}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::KafkaTopic` [INFO] [stdout] --> src/kafkautil/producer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::KafkaTopic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `RwLock` [INFO] [stdout] --> src/kafkautil/producer.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/models/mod.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `OpenOptions` [INFO] [stdout] --> src/models/mod.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/models/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::alpaca::tick_data::TickData` [INFO] [stdout] --> src/util/transform.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::alpaca::tick_data::TickData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kafkautil::producer::KafkaMsg` [INFO] [stdout] --> src/util/transform.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::kafkautil::producer::KafkaMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SendError` [INFO] [stdout] --> src/util/transform.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::{Receiver, RecvError, SendError, Sender}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stdout] --> src/kafkautil/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead [INFO] [stdout] --> src/kafkautil/consumer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `alpacarust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "949b0877f481aa8c7bbf277ec147d2bde44a244ad24c6db5d83ccbe472fa13fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "949b0877f481aa8c7bbf277ec147d2bde44a244ad24c6db5d83ccbe472fa13fc", kill_on_drop: false }` [INFO] [stdout] 949b0877f481aa8c7bbf277ec147d2bde44a244ad24c6db5d83ccbe472fa13fc