[INFO] cloning repository https://github.com/fhbzyc/rust_practise [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fhbzyc/rust_practise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhbzyc%2Frust_practise", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhbzyc%2Frust_practise'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 268955d9f1f0b129ddab9a1c3bedbfef4a45904d [INFO] checking fhbzyc/rust_practise against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhbzyc%2Frust_practise" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fhbzyc/rust_practise on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fhbzyc/rust_practise [INFO] finished tweaking git repo https://github.com/fhbzyc/rust_practise [INFO] tweaked toml for git repo https://github.com/fhbzyc/rust_practise written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/fhbzyc/rust_practise already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", 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] c4b9c0810972b25dcfd3a8f8161203ac94a6d16adc8df45c1f91331d8bd70df7 [INFO] running `Command { std: "docker" "start" "-a" "c4b9c0810972b25dcfd3a8f8161203ac94a6d16adc8df45c1f91331d8bd70df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4b9c0810972b25dcfd3a8f8161203ac94a6d16adc8df45c1f91331d8bd70df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4b9c0810972b25dcfd3a8f8161203ac94a6d16adc8df45c1f91331d8bd70df7", kill_on_drop: false }` [INFO] [stdout] c4b9c0810972b25dcfd3a8f8161203ac94a6d16adc8df45c1f91331d8bd70df7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de1c6707551f21e913f9052122348e8ecde27fbf7df61059ef73a01ea3cf4da6 [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" "de1c6707551f21e913f9052122348e8ecde27fbf7df61059ef73a01ea3cf4da6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling tokio v0.3.7 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Compiling tokio-macros v0.3.2 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Checking web v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `server` [INFO] [stdout] --> src/bin/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use server::thread_pool::thread_pool::ThreadPool; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `server` [INFO] [stdout] --> src/bin/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use server::thread_pool::thread_pool::ThreadPool; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ThreadPool` [INFO] [stdout] --> src/bin/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let pool = ThreadPool::new(4); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ThreadPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ThreadPool` [INFO] [stdout] --> src/bin/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let pool = ThreadPool::new(4); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ThreadPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/net.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/user/user.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::{params, Connection, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/main.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | use user::user::{Gender, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `web` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/net.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/user/user.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use rusqlite::{params, Connection, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/main.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | use user::user::{Gender, User}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut listener = TcpListener::bind("127.0.0.1:8000").await?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/net.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut listener = TcpListener::bind("127.0.0.1:8000").await?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Warrior` [INFO] [stdout] --> src/role/role.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Warrior, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mage` [INFO] [stdout] --> src/role/role.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Mage, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/role/role.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(user_id: usize, sys_role: SysRole) -> Role { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_exp` [INFO] [stdout] --> src/role/role.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn add_exp(&mut self, exp: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Female` [INFO] [stdout] --> src/user/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Female = 0, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/user/user.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from(code: isize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Warrior` [INFO] [stdout] --> src/role/role.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Warrior, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Mage` [INFO] [stdout] --> src/role/role.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Mage, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/role/role.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(user_id: usize, sys_role: SysRole) -> Role { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_exp` [INFO] [stdout] --> src/role/role.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn add_exp(&mut self, exp: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Female` [INFO] [stdout] --> src/user/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Female = 0, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/user/user.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from(code: isize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "de1c6707551f21e913f9052122348e8ecde27fbf7df61059ef73a01ea3cf4da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1c6707551f21e913f9052122348e8ecde27fbf7df61059ef73a01ea3cf4da6", kill_on_drop: false }` [INFO] [stdout] de1c6707551f21e913f9052122348e8ecde27fbf7df61059ef73a01ea3cf4da6