[INFO] cloning repository https://github.com/rcelebrone/Rust-Todo-App [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rcelebrone/Rust-Todo-App" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcelebrone%2FRust-Todo-App", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcelebrone%2FRust-Todo-App'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74a37eb59acccd7fa38cc8b100806998513c134a [INFO] building rcelebrone/Rust-Todo-App against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcelebrone%2FRust-Todo-App" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rcelebrone/Rust-Todo-App [INFO] finished tweaking git repo https://github.com/rcelebrone/Rust-Todo-App [INFO] tweaked toml for git repo https://github.com/rcelebrone/Rust-Todo-App written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rcelebrone/Rust-Todo-App on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rcelebrone/Rust-Todo-App 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab7a66beb4c0bb5f6577ca680f1a3b6bcebc76ed8af6fee7da20491168a715de [INFO] running `Command { std: "docker" "start" "-a" "ab7a66beb4c0bb5f6577ca680f1a3b6bcebc76ed8af6fee7da20491168a715de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab7a66beb4c0bb5f6577ca680f1a3b6bcebc76ed8af6fee7da20491168a715de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab7a66beb4c0bb5f6577ca680f1a3b6bcebc76ed8af6fee7da20491168a715de", kill_on_drop: false }` [INFO] [stdout] ab7a66beb4c0bb5f6577ca680f1a3b6bcebc76ed8af6fee7da20491168a715de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eb336f30ece77674f04d9911c488a5c938f43c5e7910260981c0f98c51ec55e [INFO] running `Command { std: "docker" "start" "-a" "1eb336f30ece77674f04d9911c488a5c938f43c5e7910260981c0f98c51ec55e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling winnow v0.7.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling uuid v1.14.0 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling rust_udemy_todoapp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `TodoListFilter` is never used [INFO] [stdout] --> src/todo/todo_model.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum TodoListFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TodoToggleAction` is never used [INFO] [stdout] --> src/todo/todo_model.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum TodoToggleAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_completed` is never read [INFO] [stdout] --> src/todo/todo_repository.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TodoRepository { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 12 | num_completed: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoRepository` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list`, `delete`, `update`, `delete_completed`, `toggle_completed`, and `get_num_all` are never used [INFO] [stdout] --> src/todo/todo_repository.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait TodoRepositoryImpl { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn list(&self, filter: &TodoListFilter) -> Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | fn create(&mut self, text: &str) -> Result; [INFO] [stdout] 23 | fn delete(&mut self, id: &Uuid) -> Result<(), TodoRepoError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | fn update(&mut self, id: &Uuid, text: Option, is_completed: Option) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | fn delete_completed(&mut self) -> Result<(), TodoRepoError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | fn toggle_completed(&mut self, action: &TodoToggleAction) -> Result<(), TodoRepoError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | fn get_num_all(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.46s [INFO] running `Command { std: "docker" "inspect" "1eb336f30ece77674f04d9911c488a5c938f43c5e7910260981c0f98c51ec55e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb336f30ece77674f04d9911c488a5c938f43c5e7910260981c0f98c51ec55e", kill_on_drop: false }` [INFO] [stdout] 1eb336f30ece77674f04d9911c488a5c938f43c5e7910260981c0f98c51ec55e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19fb4c1e48192429ba70623064d20214c49e2381db49d75c02504c2ffa76f5f1 [INFO] running `Command { std: "docker" "start" "-a" "19fb4c1e48192429ba70623064d20214c49e2381db49d75c02504c2ffa76f5f1", kill_on_drop: false }` [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling servo_arc v0.4.0 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.3 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling scraper v0.23.1 [INFO] [stderr] Compiling rust_udemy_todoapp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `list`, `delete_completed`, and `toggle_completed` are never used [INFO] [stdout] --> src/todo/todo_repository.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait TodoRepositoryImpl { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn list(&self, filter: &TodoListFilter) -> Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn delete_completed(&mut self) -> Result<(), TodoRepoError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | fn toggle_completed(&mut self, action: &TodoToggleAction) -> Result<(), TodoRepoError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.13s [INFO] running `Command { std: "docker" "inspect" "19fb4c1e48192429ba70623064d20214c49e2381db49d75c02504c2ffa76f5f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19fb4c1e48192429ba70623064d20214c49e2381db49d75c02504c2ffa76f5f1", kill_on_drop: false }` [INFO] [stdout] 19fb4c1e48192429ba70623064d20214c49e2381db49d75c02504c2ffa76f5f1