[INFO] cloning repository https://github.com/juliosouzam/learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juliosouzam/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliosouzam%2Flearn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliosouzam%2Flearn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b4e5fc81641fc27af39d825f83d53ea3af7e6fa [INFO] testing juliosouzam/learn-rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuliosouzam%2Flearn-rust" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/juliosouzam/learn-rust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/juliosouzam/learn-rust [INFO] finished tweaking git repo https://github.com/juliosouzam/learn-rust [INFO] tweaked toml for git repo https://github.com/juliosouzam/learn-rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/juliosouzam/learn-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] bc85b99c4e437cd268bb2efe5308bfc6633dc80cc8ad2e93ac1b4d8366f66147 [INFO] running `Command { std: "docker" "start" "-a" "bc85b99c4e437cd268bb2efe5308bfc6633dc80cc8ad2e93ac1b4d8366f66147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc85b99c4e437cd268bb2efe5308bfc6633dc80cc8ad2e93ac1b4d8366f66147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc85b99c4e437cd268bb2efe5308bfc6633dc80cc8ad2e93ac1b4d8366f66147", kill_on_drop: false }` [INFO] [stdout] bc85b99c4e437cd268bb2efe5308bfc6633dc80cc8ad2e93ac1b4d8366f66147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 235b85a7e45d7809f09e8079ca4e214e40f7fe74b983d3ab11b49d9fff0061fe [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" "235b85a7e45d7809f09e8079ca4e214e40f7fe74b983d3ab11b49d9fff0061fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling tasks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `all_caps` [INFO] [stdout] --> src/bin/testing.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn all_caps(word: &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SqlError` in this scope [INFO] [stdout] --> src/bin/custom-errors.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | DatabaseError(#[from] SqlError), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SqlError` in this scope [INFO] [stdout] --> src/bin/custom-errors.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Error, Debug)] [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 6 | DatabaseError(#[from] SqlError), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/bin/custom-errors.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn login(user: &str, password: &str) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 22 | let connection: Result = connect()?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `connect` in this scope [INFO] [stdout] --> src/bin/custom-errors.rs:22:58 [INFO] [stdout] | [INFO] [stdout] 22 | let connection: Result = connect()?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_user_id` in this scope [INFO] [stdout] --> src/bin/custom-errors.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let user_id = get_user_id(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_password` in this scope [INFO] [stdout] --> src/bin/custom-errors.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | if try_password(user_id, password)? { [INFO] [stdout] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SqlError` in this scope [INFO] [stdout] --> src/bin/custom-errors.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 21 | fn login(user: &str, password: &str) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 26 | let session: Result = get_session(user_id); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_session` in this scope [INFO] [stdout] --> src/bin/custom-errors.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | let session: Result = get_session(user_id); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tasks` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/bin/p2.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/bin/p2.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/p2.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `email` [INFO] [stdout] --> src/bin/p2.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | email: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/p2.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "235b85a7e45d7809f09e8079ca4e214e40f7fe74b983d3ab11b49d9fff0061fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "235b85a7e45d7809f09e8079ca4e214e40f7fe74b983d3ab11b49d9fff0061fe", kill_on_drop: false }` [INFO] [stdout] 235b85a7e45d7809f09e8079ca4e214e40f7fe74b983d3ab11b49d9fff0061fe