[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#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgoodjohn%2Ftodo-rust-cli" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pgoodjohn/todo-rust-cli on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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] 36ced8f9bf71ce471f4abe205a3838a948fbcfda56e76c03c5b0bf0367749e2f [INFO] running `Command { std: "docker" "start" "-a" "36ced8f9bf71ce471f4abe205a3838a948fbcfda56e76c03c5b0bf0367749e2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36ced8f9bf71ce471f4abe205a3838a948fbcfda56e76c03c5b0bf0367749e2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ced8f9bf71ce471f4abe205a3838a948fbcfda56e76c03c5b0bf0367749e2f", kill_on_drop: false }` [INFO] [stdout] 36ced8f9bf71ce471f4abe205a3838a948fbcfda56e76c03c5b0bf0367749e2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba03e1d9f8e3c5938a35883cdad6fabc837f4e6cf0bec5229e2ac25c1911d1f6 [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" "ba03e1d9f8e3c5938a35883cdad6fabc837f4e6cf0bec5229e2ac25c1911d1f6", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking smallvec v1.4.2 [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] Checking clap v2.33.3 [INFO] [stderr] Compiling libsqlite3-sys v0.20.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rusqlite v0.24.0 [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 `std::result::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 `std::result::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 `std::result::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 `std::result::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 `std::result::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 `std::result::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 `std::result::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 `std::result::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 `std::result::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 `std::result::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 26.26s [INFO] running `Command { std: "docker" "inspect" "ba03e1d9f8e3c5938a35883cdad6fabc837f4e6cf0bec5229e2ac25c1911d1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba03e1d9f8e3c5938a35883cdad6fabc837f4e6cf0bec5229e2ac25c1911d1f6", kill_on_drop: false }` [INFO] [stdout] ba03e1d9f8e3c5938a35883cdad6fabc837f4e6cf0bec5229e2ac25c1911d1f6