[INFO] cloning repository https://github.com/Goodjooy/rust_todos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Goodjooy/rust_todos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoodjooy%2Frust_todos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoodjooy%2Frust_todos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6351e1067cb0e3429ca6d54d5e14932a454ed0b7 [INFO] testing Goodjooy/rust_todos against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoodjooy%2Frust_todos" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Goodjooy/rust_todos on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Goodjooy/rust_todos [INFO] finished tweaking git repo https://github.com/Goodjooy/rust_todos [INFO] tweaked toml for git repo https://github.com/Goodjooy/rust_todos written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Goodjooy/rust_todos already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mysqlclient-sys v0.2.4 [INFO] [stderr] Downloaded loom v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3b8463759b554b6090d63b93a7d243eb3c765a2f722259f1eb81b682b43710b [INFO] running `Command { std: "docker" "start" "-a" "b3b8463759b554b6090d63b93a7d243eb3c765a2f722259f1eb81b682b43710b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b8463759b554b6090d63b93a7d243eb3c765a2f722259f1eb81b682b43710b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b8463759b554b6090d63b93a7d243eb3c765a2f722259f1eb81b682b43710b", kill_on_drop: false }` [INFO] [stdout] b3b8463759b554b6090d63b93a7d243eb3c765a2f722259f1eb81b682b43710b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 602b5f063eba926f288e58eec922659427c76de1ce7fbbc79f272a0b965cd3aa [INFO] running `Command { std: "docker" "start" "-a" "602b5f063eba926f288e58eec922659427c76de1ce7fbbc79f272a0b965cd3aa", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.21 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling multer v2.0.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling hyper v0.14.14 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling todos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Data`, `UriDisplayPath`, `post` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket::{post, Data, UriDisplayPath}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::forms::todo` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::forms::todo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::load` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::load; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::schema::todo_infos::dsl::*` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::models::schema::todo_infos::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::schema::todo_tag_links::dsl::*` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | use crate::models::schema::todo_tag_links::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | user: UserAuth, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | page: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag_filter` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | tag_filter: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | filter: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | db: &State, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let db = to_rresult!(rs, db.get()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag_names` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | tag_names: &Vec<(u32, String)>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `todo_names` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | todo_names: &Vec<(u32, String)>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_todo_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ge_tags` is never used [INFO] [stdout] --> src/controllers/todos/read.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn ge_tags()->RResult>{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_todos` is never used [INFO] [stdout] --> src/controllers/todos/read/todos.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_todos( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tag_bound` is never used [INFO] [stdout] --> src/controllers/todos/read/todos.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn tag_bound( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bound` is never used [INFO] [stdout] --> src/controllers/todos/read/todos.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn bound( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `both_match_bound` is never used [INFO] [stdout] --> src/controllers/todos/read/todos.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn both_match_bound( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectBuider` is never constructed [INFO] [stdout] --> src/database/select_builder.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SelectBuider { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `into` is never used [INFO] [stdout] --> src/forms/todo.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn into(self) -> JTodoMid { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "602b5f063eba926f288e58eec922659427c76de1ce7fbbc79f272a0b965cd3aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "602b5f063eba926f288e58eec922659427c76de1ce7fbbc79f272a0b965cd3aa", kill_on_drop: false }` [INFO] [stdout] 602b5f063eba926f288e58eec922659427c76de1ce7fbbc79f272a0b965cd3aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d04aa5105020e3ba994e345327939d1c24a6b8ccb3ca94d16baaabeddfbe7c5 [INFO] running `Command { std: "docker" "start" "-a" "4d04aa5105020e3ba994e345327939d1c24a6b8ccb3ca94d16baaabeddfbe7c5", kill_on_drop: false }` [INFO] [stderr] Compiling todos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Data`, `UriDisplayPath`, `post` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket::{post, Data, UriDisplayPath}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::forms::todo` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::forms::todo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::load` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::load; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::schema::todo_infos::dsl::*` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::models::schema::todo_infos::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::schema::todo_tag_links::dsl::*` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | use crate::models::schema::todo_tag_links::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | user: UserAuth, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | page: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag_filter` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | tag_filter: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | filter: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | db: &State, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let db = to_rresult!(rs, db.get()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag_names` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | tag_names: &Vec<(u32, String)>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `todo_names` [INFO] [stdout] --> src/controllers/todos/read/todos.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | todo_names: &Vec<(u32, String)>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_todo_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ge_tags` is never used [INFO] [stdout] --> src/controllers/todos/read.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn ge_tags()->RResult>{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_todos` is never used [INFO] [stdout] --> src/controllers/todos/read/todos.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_todos( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tag_bound` is never used [INFO] [stdout] --> src/controllers/todos/read/todos.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn tag_bound( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bound` is never used [INFO] [stdout] --> src/controllers/todos/read/todos.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn bound( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `both_match_bound` is never used [INFO] [stdout] --> src/controllers/todos/read/todos.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn both_match_bound( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectBuider` is never constructed [INFO] [stdout] --> src/database/select_builder.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SelectBuider { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `into` is never used [INFO] [stdout] --> src/forms/todo.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn into(self) -> JTodoMid { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "4d04aa5105020e3ba994e345327939d1c24a6b8ccb3ca94d16baaabeddfbe7c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d04aa5105020e3ba994e345327939d1c24a6b8ccb3ca94d16baaabeddfbe7c5", kill_on_drop: false }` [INFO] [stdout] 4d04aa5105020e3ba994e345327939d1c24a6b8ccb3ca94d16baaabeddfbe7c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 722e295cfca959b1abe5f8bf2996a7f8f19283930032535447269a48e9b4ae05 [INFO] running `Command { std: "docker" "start" "-a" "722e295cfca959b1abe5f8bf2996a7f8f19283930032535447269a48e9b4ae05", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `Data`, `UriDisplayPath`, `post` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | use rocket::{post, Data, UriDisplayPath}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::forms::todo` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::forms::todo; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::load` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::load; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::schema::todo_infos::dsl::*` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | use crate::models::schema::todo_infos::dsl::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::models::schema::todo_tag_links::dsl::*` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | use crate::models::schema::todo_tag_links::dsl::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | user: UserAuth, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | page: Option, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tag_filter` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | tag_filter: Option, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_filter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filter` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | filter: Option, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | db: &State, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | let db = to_rresult!(rs, db.get()); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tag_names` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 84 | tag_names: &Vec<(u32, String)>, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_names` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `todo_names` [INFO] [stderr] --> src/controllers/todos/read/todos.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | todo_names: &Vec<(u32, String)>, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_todo_names` [INFO] [stderr] [INFO] [stderr] warning: function `ge_tags` is never used [INFO] [stderr] --> src/controllers/todos/read.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn ge_tags()->RResult>{ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_todos` is never used [INFO] [stderr] --> src/controllers/todos/read/todos.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn get_todos( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `tag_bound` is never used [INFO] [stderr] --> src/controllers/todos/read/todos.rs:39:4 [INFO] [stderr] | [INFO] [stderr] 39 | fn tag_bound( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `bound` is never used [INFO] [stderr] --> src/controllers/todos/read/todos.rs:64:4 [INFO] [stderr] | [INFO] [stderr] 64 | fn bound( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `both_match_bound` is never used [INFO] [stderr] --> src/controllers/todos/read/todos.rs:83:4 [INFO] [stderr] | [INFO] [stderr] 83 | fn both_match_bound( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SelectBuider` is never constructed [INFO] [stderr] --> src/database/select_builder.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct SelectBuider { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `into` is never used [INFO] [stderr] --> src/forms/todo.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | fn into(self) -> JTodoMid { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `todos` (bin "todos" test) generated 20 warnings (run `cargo fix --bin "todos" --tests` to apply 13 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/todos-97e2f21e8021f355) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "722e295cfca959b1abe5f8bf2996a7f8f19283930032535447269a48e9b4ae05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "722e295cfca959b1abe5f8bf2996a7f8f19283930032535447269a48e9b4ae05", kill_on_drop: false }` [INFO] [stdout] 722e295cfca959b1abe5f8bf2996a7f8f19283930032535447269a48e9b4ae05