[INFO] updating cached repository https://github.com/hustxiaoc/learningrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c6691af2a79ab7126852529c3dd0009ac82a739 [INFO] testing hustxiaoc/learningrust against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhustxiaoc%2Flearningrust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hustxiaoc/learningrust on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hustxiaoc/learningrust [INFO] removed path dependency acm from git repo https://github.com/hustxiaoc/learningrust [INFO] removed path dependency async_init from git repo https://github.com/hustxiaoc/learningrust [INFO] finished tweaking git repo https://github.com/hustxiaoc/learningrust [INFO] tweaked toml for git repo https://github.com/hustxiaoc/learningrust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (acm) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (async_init) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1820ce5102b8d3bcadc2c8862ee407f24f83f217d52a571e51ca2fa95c1921e3 [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" "1820ce5102b8d3bcadc2c8862ee407f24f83f217d52a571e51ca2fa95c1921e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1820ce5102b8d3bcadc2c8862ee407f24f83f217d52a571e51ca2fa95c1921e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1820ce5102b8d3bcadc2c8862ee407f24f83f217d52a571e51ca2fa95c1921e3", kill_on_drop: false }` [INFO] [stdout] 1820ce5102b8d3bcadc2c8862ee407f24f83f217d52a571e51ca2fa95c1921e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e469163be2141920e6d0a5d112d66132e88149dce177c243d7d1d4723c8b551e [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" "e469163be2141920e6d0a5d112d66132e88149dce177c243d7d1d4723c8b551e", kill_on_drop: false }` [INFO] [stderr] warning: dependency (acm) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (async_init) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling data-encoding v2.3.0 [INFO] [stderr] Compiling common_macros v0.1.1 [INFO] [stderr] Compiling sql-builder v0.12.2 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.67 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling femme v2.1.0 [INFO] [stderr] Compiling serde_qs v0.6.1 [INFO] [stderr] Compiling async_init v0.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.67 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling acm v0.1.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling combine v4.2.1 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-tungstenite v0.10.1 [INFO] [stderr] Compiling js-sys v0.3.44 [INFO] [stderr] Compiling web-sys v0.3.44 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling http-types v2.4.0 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling redis v0.16.0 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Compiling async-h1 v2.1.2 [INFO] [stderr] Compiling async-sse v3.0.0 [INFO] [stderr] Compiling tide v0.10.0 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Compiling sqlx v0.3.5 [INFO] [stderr] Compiling learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `acm::AcmClient` [INFO] [stdout] --> src/db.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use acm::AcmClient; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `AcmClient` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/service/wallet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> src/service/wallet.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Model`, `user::User`, `wallet_party::WalletParty` [INFO] [stdout] --> src/service/wallet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | user::User, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | Model, BaseModel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | wallet_party::WalletParty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::MySqlPool` [INFO] [stdout] --> src/model/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::MySqlPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Pool` [INFO] [stdout] --> src/model/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::Pool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/model/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{query, query_as}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_as` [INFO] [stdout] --> src/model/user.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{query_as}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/model/user.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::db; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::mysql::MySqlQueryAs` [INFO] [stdout] --> src/model/wallet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::mysql::MySqlQueryAs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_as` [INFO] [stdout] --> src/model/wallet.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{query_as}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueryValue`, `utxo::Utxo` [INFO] [stdout] --> src/model/wallet.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::model::{BaseModel, utxo::Utxo, QueryValue}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/model/wallet.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::db; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_as` [INFO] [stdout] --> src/model/utxo.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{query_as}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db` [INFO] [stdout] --> src/model/utxo.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::db; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `string` should have an upper camel case name [INFO] [stdout] --> src/model/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | string(String), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `u8` should have an upper camel case name [INFO] [stdout] --> src/model/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | u8(u8), [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `U8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `u64` should have an upper camel case name [INFO] [stdout] --> src/model/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | u64(u64), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `U64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `arr` should have an upper camel case name [INFO] [stdout] --> src/model/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | arr(Box>), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/db.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/db.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | stream::{Stream, StreamExt}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `Server` [INFO] [stdout] --> src/handle/user.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use tide::{Request, Server, Error}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `Server` [INFO] [stdout] --> src/handle/wallet.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use tide::{Request, Server, Error}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::mysql::MySqlQueryAs` [INFO] [stdout] --> src/model/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::mysql::MySqlQueryAs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::mysql::MySqlQueryAs` [INFO] [stdout] --> src/model/utxo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::mysql::MySqlQueryAs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncCommands` [INFO] [stdout] --> src/db.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use redis::{AsyncCommands, Client}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/db.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | stream::{Stream, StreamExt}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learning`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e469163be2141920e6d0a5d112d66132e88149dce177c243d7d1d4723c8b551e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e469163be2141920e6d0a5d112d66132e88149dce177c243d7d1d4723c8b551e", kill_on_drop: false }` [INFO] [stdout] e469163be2141920e6d0a5d112d66132e88149dce177c243d7d1d4723c8b551e