[INFO] cloning repository https://github.com/cpecq/todo-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpecq/todo-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecq%2Ftodo-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecq%2Ftodo-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e64d20d926f04d4b82bc294f3fa79c741ef3b2b [INFO] testing cpecq/todo-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecq%2Ftodo-rs" "/workspace/builds/worker-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cpecq/todo-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cpecq/todo-rs [INFO] finished tweaking git repo https://github.com/cpecq/todo-rs [INFO] tweaked toml for git repo https://github.com/cpecq/todo-rs written to /workspace/builds/worker-35/source/Cargo.toml [INFO] crate git repo https://github.com/cpecq/todo-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa4470f694358cfbde0427abd511ad1abe2c5f5e71b461b831825206886f7412 [INFO] running `Command { std: "docker" "start" "-a" "aa4470f694358cfbde0427abd511ad1abe2c5f5e71b461b831825206886f7412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa4470f694358cfbde0427abd511ad1abe2c5f5e71b461b831825206886f7412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa4470f694358cfbde0427abd511ad1abe2c5f5e71b461b831825206886f7412", kill_on_drop: false }` [INFO] [stdout] aa4470f694358cfbde0427abd511ad1abe2c5f5e71b461b831825206886f7412 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14976ad5c300cb39002e8bfeaec40e5656d13bcd605f9942738c5997f00e2ee9 [INFO] running `Command { std: "docker" "start" "-a" "14976ad5c300cb39002e8bfeaec40e5656d13bcd605f9942738c5997f00e2ee9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling postgres-protocol v0.6.1 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling postgres-types v0.2.1 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling postgres v0.19.1 [INFO] [stderr] Compiling todo-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | _ => eprintln!("footsies") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_task` [INFO] [stdout] --> src/main.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let new_task = Task::new(&client, name, description, duration).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_task` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | Args::Status { name, all } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all` [INFO] [stdout] --> src/main.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | Args::Status { name, all } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `all: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | Args::Remove { name, all } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all` [INFO] [stdout] --> src/main.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | Args::Remove { name, all } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `all: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*client` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/main.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 75 | fn new(client: &Client, name: String, description: String, duration: i32) -> Result { [INFO] [stdout] | ------- help: consider changing this to be a mutable reference: `&mut Client` [INFO] [stdout] ... [INFO] [stdout] 84 | / client.execute( [INFO] [stdout] 85 | | "INSERT INTO task (name, description, duration, start_date, due_date) values ($1, $2, $3, $4, $5)", [INFO] [stdout] 86 | | &[&task.name, &task.description, &task.duration, &task.start_date, &task.due_date], [INFO] [stdout] 87 | | )?; [INFO] [stdout] | |_________^ `client` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut tasks: Vec = Vec::new(); [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] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todo-rs` due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "14976ad5c300cb39002e8bfeaec40e5656d13bcd605f9942738c5997f00e2ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14976ad5c300cb39002e8bfeaec40e5656d13bcd605f9942738c5997f00e2ee9", kill_on_drop: false }` [INFO] [stdout] 14976ad5c300cb39002e8bfeaec40e5656d13bcd605f9942738c5997f00e2ee9