[INFO] cloning repository https://github.com/maxts0gt/rust-practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxts0gt/rust-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxts0gt%2Frust-practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxts0gt%2Frust-practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 548fdc952b8b2e17b67d3f3acb221660d7c66c3e [INFO] testing maxts0gt/rust-practice against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxts0gt%2Frust-practice" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxts0gt/rust-practice 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/maxts0gt/rust-practice [INFO] finished tweaking git repo https://github.com/maxts0gt/rust-practice [INFO] tweaked toml for git repo https://github.com/maxts0gt/rust-practice written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/maxts0gt/rust-practice 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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] [stdout] c28bd6b4c17c0f8c65028f08976d64b98aa52e40634a4702c461c72c1d38d0ba [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" "c28bd6b4c17c0f8c65028f08976d64b98aa52e40634a4702c461c72c1d38d0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c28bd6b4c17c0f8c65028f08976d64b98aa52e40634a4702c461c72c1d38d0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c28bd6b4c17c0f8c65028f08976d64b98aa52e40634a4702c461c72c1d38d0ba", kill_on_drop: false }` [INFO] [stdout] c28bd6b4c17c0f8c65028f08976d64b98aa52e40634a4702c461c72c1d38d0ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 32f77eecd6fa8d33863ca65c86b66db906a0627fc480b1f428ef297818f5f3d3 [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" "32f77eecd6fa8d33863ca65c86b66db906a0627fc480b1f428ef297818f5f3d3", kill_on_drop: false }` [INFO] [stderr] Compiling activities v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> src/bin/p2-example.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> src/bin/p2-example.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Error` [INFO] [stdout] --> src/bin/p2-example.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/bin/p2-example.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 125 | #[error("id must be a number: {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/bin/p2-example.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | InvalidId(#[from] std::num::ParseIntError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/bin/p2-example.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | #[error("empty record")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/bin/p2-example.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | #[error("missing field: {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> src/bin/p2-example.rs:258:10 [INFO] [stdout] | [INFO] [stdout] 258 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> src/bin/p2-example.rs:259:3 [INFO] [stdout] | [INFO] [stdout] 259 | #[structopt(about = "project 2: contact manager")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> src/bin/p2-example.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 261 | #[structopt(short, parse(from_os_str), default_value = "p2_data.csv")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> src/bin/p2-example.rs:263:7 [INFO] [stdout] | [INFO] [stdout] 263 | #[structopt(subcommand)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> src/bin/p2-example.rs:265:7 [INFO] [stdout] | [INFO] [stdout] 265 | #[structopt(short, help = "verbose")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> src/bin/p2-example.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> src/bin/p2-example.rs:273:11 [INFO] [stdout] | [INFO] [stdout] 273 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> src/bin/p2-example.rs:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | #[structopt(short)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Black` [INFO] [stdout] --> src/bin/a12.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Black [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ParseError` [INFO] [stdout] --> src/bin/p2-example.rs:149:48 [INFO] [stdout] | [INFO] [stdout] 134 | fn parse_record(record: &str) -> Result { [INFO] [stdout] | -------------------------- expected `ParseError` because of this [INFO] [stdout] ... [INFO] [stdout] 149 | Some(id) => i64::from_str_radix(id, 10)?, [INFO] [stdout] | ^ the trait `From` is not implemented for `ParseError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ParseError` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/bin/p2-example.rs:196:29 [INFO] [stdout] | [INFO] [stdout] 196 | ... e, [INFO] [stdout] | ^ `ParseError` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `ParseError` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Opt` in the current scope [INFO] [stdout] --> src/bin/p2-example.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 260 | struct Opt { [INFO] [stdout] | ---------- function or associated item `from_args` not found for this [INFO] [stdout] ... [INFO] [stdout] 340 | let opt = Opt::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Color` [INFO] [stdout] --> src/bin/a28.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `activities` due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant is never constructed: `Red` [INFO] [stdout] --> src/bin/a7.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blue` [INFO] [stdout] --> src/bin/a7.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "32f77eecd6fa8d33863ca65c86b66db906a0627fc480b1f428ef297818f5f3d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32f77eecd6fa8d33863ca65c86b66db906a0627fc480b1f428ef297818f5f3d3", kill_on_drop: false }` [INFO] [stdout] 32f77eecd6fa8d33863ca65c86b66db906a0627fc480b1f428ef297818f5f3d3