[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#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgoodjohn%2Ftodo-rust-cli" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pgoodjohn/todo-rust-cli on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-11/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eae31ece523cc79409ff6b53980932638c29988cf9fad354e73b89a9d581b21b [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" "eae31ece523cc79409ff6b53980932638c29988cf9fad354e73b89a9d581b21b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eae31ece523cc79409ff6b53980932638c29988cf9fad354e73b89a9d581b21b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae31ece523cc79409ff6b53980932638c29988cf9fad354e73b89a9d581b21b", kill_on_drop: false }` [INFO] [stdout] eae31ece523cc79409ff6b53980932638c29988cf9fad354e73b89a9d581b21b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e719eb41e4541524a49c28354bab1bb275d64cd776b254c1c23c64e258b165e [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" "4e719eb41e4541524a49c28354bab1bb275d64cd776b254c1c23c64e258b165e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling libsqlite3-sys v0.20.0 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rusqlite v0.24.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [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 34.12s [INFO] running `Command { std: "docker" "inspect" "4e719eb41e4541524a49c28354bab1bb275d64cd776b254c1c23c64e258b165e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e719eb41e4541524a49c28354bab1bb275d64cd776b254c1c23c64e258b165e", kill_on_drop: false }` [INFO] [stdout] 4e719eb41e4541524a49c28354bab1bb275d64cd776b254c1c23c64e258b165e