[INFO] cloning repository https://github.com/Yoshiaki-Harada/rust-cqrs-sample-crud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yoshiaki-Harada/rust-cqrs-sample-crud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoshiaki-Harada%2Frust-cqrs-sample-crud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoshiaki-Harada%2Frust-cqrs-sample-crud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 889595060149fa09b83939d59e1c737b96fa077f [INFO] checking Yoshiaki-Harada/rust-cqrs-sample-crud against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoshiaki-Harada%2Frust-cqrs-sample-crud" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yoshiaki-Harada/rust-cqrs-sample-crud on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Yoshiaki-Harada/rust-cqrs-sample-crud [INFO] finished tweaking git repo https://github.com/Yoshiaki-Harada/rust-cqrs-sample-crud [INFO] tweaked toml for git repo https://github.com/Yoshiaki-Harada/rust-cqrs-sample-crud written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Yoshiaki-Harada/rust-cqrs-sample-crud already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded auto_impl v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5ea4d80fa68a17666321c4e34d5c1fd917f7e855ddc9121ae32b97610e6d316 [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" "f5ea4d80fa68a17666321c4e34d5c1fd917f7e855ddc9121ae32b97610e6d316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5ea4d80fa68a17666321c4e34d5c1fd917f7e855ddc9121ae32b97610e6d316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5ea4d80fa68a17666321c4e34d5c1fd917f7e855ddc9121ae32b97610e6d316", kill_on_drop: false }` [INFO] [stdout] f5ea4d80fa68a17666321c4e34d5c1fd917f7e855ddc9121ae32b97610e6d316 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5808b6730807d883793023a0b22d99ebab71a29a791ad57838a5a897fc2a8e4b [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" "5808b6730807d883793023a0b22d99ebab71a29a791ad57838a5a897fc2a8e4b", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling yansi v0.4.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rocket_codegen v0.4.4 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.4 [INFO] [stderr] Compiling rocket v0.4.4 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Checking scheduled-thread-pool v0.2.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking r2d2 v0.8.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Checking cookie v0.11.2 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling auto_impl v0.3.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Checking rocket_http v0.4.4 [INFO] [stderr] Checking diesel v1.4.4 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking rocket_contrib v0.4.4 [INFO] [stderr] Checking cqrs-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/domain/todos/model/store.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NewTodo` [INFO] [stdout] --> src/domain/todos/model/store.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::domain::todos::{Todo, TodoData, NewTodo}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PoolError` [INFO] [stdout] --> src/domain/todos/model/store.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::r2d2::{ConnectionManager, Pool, PoolError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `hash_map::Entry`, `sync::RwLock` [INFO] [stdout] --> src/domain/todos/model/store.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{collections::{hash_map::Entry, HashMap}, sync::RwLock, vec::IntoIter, env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema` [INFO] [stdout] --> src/domain/todos/model/store.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::schema; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/domain/todos/resolver.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::todos::model::store::TodoDb` [INFO] [stdout] --> src/domain/todos/resolver.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::domain::todos::model::store::TodoDb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TodoStoreFilter` [INFO] [stdout] --> src/domain/todos/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | TodoStoreFilter [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/domain/todos/model/store.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NewTodo` [INFO] [stdout] --> src/domain/todos/model/store.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::domain::todos::{Todo, TodoData, NewTodo}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PoolError` [INFO] [stdout] --> src/domain/todos/model/store.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::r2d2::{ConnectionManager, Pool, PoolError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `hash_map::Entry`, `sync::RwLock` [INFO] [stdout] --> src/domain/todos/model/store.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{collections::{hash_map::Entry, HashMap}, sync::RwLock, vec::IntoIter, env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::schema` [INFO] [stdout] --> src/domain/todos/model/store.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::schema; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/domain/todos/resolver.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::todos::model::store::TodoDb` [INFO] [stdout] --> src/domain/todos/resolver.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::domain::todos::model::store::TodoDb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TodoStoreFilter` [INFO] [stdout] --> src/domain/todos/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | TodoStoreFilter [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `Filter` should have a snake case name [INFO] [stdout] --> src/domain/todos/model/store.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn Filter(&self, predicate: F) -> Iter [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `filter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `todoId` should have a snake case name [INFO] [stdout] --> src/domain/todos/model/store.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_todo(&self, todoId: i32, conn: &PgConnection) -> Todo { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `todo_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `todoTitle` should have a snake case name [INFO] [stdout] --> src/domain/todos/model/store.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_todo_by_title(&self, todoTitle: &str, conn: &PgConnection) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `todo_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `Filter` should have a snake case name [INFO] [stdout] --> src/domain/todos/model/store.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn Filter(&self, predicate: F) -> Iter [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `filter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `todoId` should have a snake case name [INFO] [stdout] --> src/domain/todos/model/store.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_todo(&self, todoId: i32, conn: &PgConnection) -> Todo { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `todo_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `todoTitle` should have a snake case name [INFO] [stdout] --> src/domain/todos/model/store.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_todo_by_title(&self, todoTitle: &str, conn: &PgConnection) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `todo_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 23s [INFO] running `Command { std: "docker" "inspect" "5808b6730807d883793023a0b22d99ebab71a29a791ad57838a5a897fc2a8e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5808b6730807d883793023a0b22d99ebab71a29a791ad57838a5a897fc2a8e4b", kill_on_drop: false }` [INFO] [stdout] 5808b6730807d883793023a0b22d99ebab71a29a791ad57838a5a897fc2a8e4b