[INFO] cloning repository https://github.com/pgoodjohn/todo-rust-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pgoodjohn/todo-rust-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgoodjohn%2Ftodo-rust-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgoodjohn%2Ftodo-rust-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20681412842fc3e1109ef65f837256c7a8518800 [INFO] checking pgoodjohn/todo-rust-cli against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgoodjohn%2Ftodo-rust-cli" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pgoodjohn/todo-rust-cli on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pgoodjohn/todo-rust-cli [INFO] finished tweaking git repo https://github.com/pgoodjohn/todo-rust-cli [INFO] tweaked toml for git repo https://github.com/pgoodjohn/todo-rust-cli written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/pgoodjohn/todo-rust-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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] 38465e2c24a2c9b51146c34a05775eafa702d7f8b78084f2cdf0f2dd43a31b94 [INFO] running `Command { std: "docker" "start" "-a" "38465e2c24a2c9b51146c34a05775eafa702d7f8b78084f2cdf0f2dd43a31b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38465e2c24a2c9b51146c34a05775eafa702d7f8b78084f2cdf0f2dd43a31b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38465e2c24a2c9b51146c34a05775eafa702d7f8b78084f2cdf0f2dd43a31b94", kill_on_drop: false }` [INFO] [stdout] 38465e2c24a2c9b51146c34a05775eafa702d7f8b78084f2cdf0f2dd43a31b94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c103c6a4ba8137de659a049eb5835c29ec19cc779ca85e9ea1fac5927c4fe64 [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" "1c103c6a4ba8137de659a049eb5835c29ec19cc779ca85e9ea1fac5927c4fe64", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling libsqlite3-sys v0.20.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Checking rusqlite v0.24.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Checking structopt v0.3.17 [INFO] [stderr] Checking todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | initDatabase(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | listTodos(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | listAllTodos(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | checkTodo(args.id.unwrap(), conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | addTodo(args.text.unwrap(), conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initDatabase` should have a snake case name [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn initDatabase(connection: Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `init_database` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `listAllTodos` should have a snake case name [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn listAllTodos(connection: Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `list_all_todos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkTodo` should have a snake case name [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn checkTodo(todoIdentifier: i32, conn: Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `check_todo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `todoIdentifier` should have a snake case name [INFO] [stdout] --> src/main.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | fn checkTodo(todoIdentifier: i32, conn: Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `todo_identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addTodo` should have a snake case name [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn addTodo(text: String, conn: Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_todo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `listTodos` should have a snake case name [INFO] [stdout] --> src/main.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn listTodos(conn: Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `list_todos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | initDatabase(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | listTodos(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | listAllTodos(conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | checkTodo(args.id.unwrap(), conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | addTodo(args.text.unwrap(), conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initDatabase` should have a snake case name [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn initDatabase(connection: Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `init_database` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `listAllTodos` should have a snake case name [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn listAllTodos(connection: Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `list_all_todos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkTodo` should have a snake case name [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn checkTodo(todoIdentifier: i32, conn: Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `check_todo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `todoIdentifier` should have a snake case name [INFO] [stdout] --> src/main.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | fn checkTodo(todoIdentifier: i32, conn: Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `todo_identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addTodo` should have a snake case name [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn addTodo(text: String, conn: Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_todo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `listTodos` should have a snake case name [INFO] [stdout] --> src/main.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn listTodos(conn: Connection) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `list_todos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.25s [INFO] running `Command { std: "docker" "inspect" "1c103c6a4ba8137de659a049eb5835c29ec19cc779ca85e9ea1fac5927c4fe64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c103c6a4ba8137de659a049eb5835c29ec19cc779ca85e9ea1fac5927c4fe64", kill_on_drop: false }` [INFO] [stdout] 1c103c6a4ba8137de659a049eb5835c29ec19cc779ca85e9ea1fac5927c4fe64