[INFO] cloning repository https://github.com/mahmoud-alaa1/car-verse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahmoud-alaa1/car-verse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahmoud-alaa1%2Fcar-verse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahmoud-alaa1%2Fcar-verse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4806bee8fe348ccc6b64376e23fe5f0c82aab6a4 [INFO] testing mahmoud-alaa1/car-verse/4806bee8fe348ccc6b64376e23fe5f0c82aab6a4 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahmoud-alaa1%2Fcar-verse" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 10% (3064/29821) Updating files: 11% (3281/29821) Updating files: 12% (3579/29821) Updating files: 13% (3877/29821) Updating files: 14% (4175/29821) Updating files: 15% (4474/29821) Updating files: 16% (4772/29821) Updating files: 17% (5070/29821) Updating files: 18% (5368/29821) Updating files: 19% (5666/29821) Updating files: 20% (5965/29821) Updating files: 21% (6263/29821) Updating files: 22% (6561/29821) Updating files: 23% (6859/29821) Updating files: 24% (7158/29821) Updating files: 25% (7456/29821) Updating files: 26% (7754/29821) Updating files: 27% (8052/29821) Updating files: 28% (8350/29821) Updating files: 29% (8649/29821) Updating files: 30% (8947/29821) Updating files: 31% (9245/29821) Updating files: 32% (9543/29821) Updating files: 33% (9841/29821) Updating files: 34% (10140/29821) Updating files: 35% (10438/29821) Updating files: 36% (10736/29821) Updating files: 37% (11034/29821) Updating files: 38% (11332/29821) Updating files: 38% (11594/29821) Updating files: 39% (11631/29821) Updating files: 40% (11929/29821) Updating files: 41% (12227/29821) Updating files: 42% (12525/29821) Updating files: 43% (12824/29821) Updating files: 44% (13122/29821) Updating files: 45% (13420/29821) Updating files: 46% (13718/29821) Updating files: 47% (14016/29821) Updating files: 48% (14315/29821) Updating files: 49% (14613/29821) Updating files: 50% (14911/29821) Updating files: 51% (15209/29821) Updating files: 52% (15507/29821) Updating files: 53% (15806/29821) Updating files: 54% (16104/29821) Updating files: 55% (16402/29821) Updating files: 56% (16700/29821) Updating files: 57% (16998/29821) Updating files: 58% (17297/29821) Updating files: 59% (17595/29821) Updating files: 60% (17893/29821) Updating files: 61% (18191/29821) Updating files: 62% (18490/29821) Updating files: 63% (18788/29821) Updating files: 64% (19086/29821) Updating files: 65% (19384/29821) Updating files: 66% (19682/29821) Updating files: 67% (19981/29821) Updating files: 68% (20279/29821) Updating files: 69% (20577/29821) Updating files: 70% (20875/29821) Updating files: 70% (21119/29821) Updating files: 71% (21173/29821) Updating files: 72% (21472/29821) Updating files: 73% (21770/29821) Updating files: 74% (22068/29821) Updating files: 75% (22366/29821) Updating files: 76% (22664/29821) Updating files: 77% (22963/29821) Updating files: 78% (23261/29821) Updating files: 79% (23559/29821) Updating files: 80% (23857/29821) Updating files: 81% (24156/29821) Updating files: 82% (24454/29821) Updating files: 83% (24752/29821) Updating files: 84% (25050/29821) Updating files: 85% (25348/29821) Updating files: 86% (25647/29821) Updating files: 87% (25945/29821) Updating files: 88% (26243/29821) Updating files: 89% (26541/29821) Updating files: 90% (26839/29821) Updating files: 91% (27138/29821) Updating files: 92% (27436/29821) Updating files: 93% (27734/29821) Updating files: 94% (28032/29821) Updating files: 95% (28330/29821) Updating files: 96% (28629/29821) Updating files: 96% (28811/29821) Updating files: 97% (28927/29821) Updating files: 98% (29225/29821) Updating files: 99% (29523/29821) Updating files: 100% (29821/29821) Updating files: 100% (29821/29821), done. [INFO] started tweaking git repo https://github.com/mahmoud-alaa1/car-verse [INFO] finished tweaking git repo https://github.com/mahmoud-alaa1/car-verse [INFO] tweaked toml for git repo https://github.com/mahmoud-alaa1/car-verse written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mahmoud-alaa1/car-verse on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mahmoud-alaa1/car-verse 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_tokenstream v0.2.2 [INFO] [stderr] Downloaded ic-cdk-executor v0.1.0 [INFO] [stderr] Downloaded ic-cdk-timers v0.11.0 [INFO] [stderr] Downloaded candid v0.10.14 [INFO] [stderr] Downloaded pretty v0.12.4 [INFO] [stderr] Downloaded ic-cdk-macros v0.17.2 [INFO] [stderr] Downloaded ic-cdk v0.17.2 [INFO] [stderr] Downloaded ic0 v0.23.0 [INFO] [stderr] Downloaded ic-stable-structures v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4ab79b8d5aedee55ebdf28798dc2752c911ac13375cba752a9fa461325e0cce [INFO] running `Command { std: "docker" "start" "-a" "f4ab79b8d5aedee55ebdf28798dc2752c911ac13375cba752a9fa461325e0cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4ab79b8d5aedee55ebdf28798dc2752c911ac13375cba752a9fa461325e0cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4ab79b8d5aedee55ebdf28798dc2752c911ac13375cba752a9fa461325e0cce", kill_on_drop: false }` [INFO] [stdout] f4ab79b8d5aedee55ebdf28798dc2752c911ac13375cba752a9fa461325e0cce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69d9a6c4b05f8ece431408a80c3db6cf7cc7767d9bb99778a42fdec90cef77d1 [INFO] running `Command { std: "docker" "start" "-a" "69d9a6c4b05f8ece431408a80c3db6cf7cc7767d9bb99778a42fdec90cef77d1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ic0 v0.23.0 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling ic-stable-structures v0.7.0 [INFO] [stderr] Compiling candid v0.10.14 [INFO] [stderr] Compiling ic-cdk-macros v0.17.2 [INFO] [stderr] Compiling ic-cdk v0.17.2 [INFO] [stderr] Compiling ic-cdk-timers v0.11.0 [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir/src/backend) [INFO] [stdout] warning: unused import: `candid::Principal` [INFO] [stdout] --> src/backend/src/api/group_api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::Principal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::Principal` [INFO] [stdout] --> src/backend/src/api/post_api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::Principal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::Principal` [INFO] [stdout] --> src/backend/src/api/carinfo_api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use candid::Principal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `creator` [INFO] [stdout] --> src/backend/src/models/group.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(id: u64, creator: Principal, name: String) -> Group { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_creator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ch` is never read [INFO] [stdout] --> src/backend/src/api/user_api.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut ch:i32=0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend/src/models/user.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 35 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setProfile` should have a snake case name [INFO] [stdout] --> src/backend/src/models/user.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn setProfile(&mut self, profile: UserProfile) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `set_profile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend/src/models/group.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend/src/models/post.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend/src/models/carinfo.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "69d9a6c4b05f8ece431408a80c3db6cf7cc7767d9bb99778a42fdec90cef77d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d9a6c4b05f8ece431408a80c3db6cf7cc7767d9bb99778a42fdec90cef77d1", kill_on_drop: false }` [INFO] [stdout] 69d9a6c4b05f8ece431408a80c3db6cf7cc7767d9bb99778a42fdec90cef77d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cafb67885b8b50c8cfb6a00aeba25dbe9a85bb16c78d094cb2a474de9b6f0f7 [INFO] running `Command { std: "docker" "start" "-a" "0cafb67885b8b50c8cfb6a00aeba25dbe9a85bb16c78d094cb2a474de9b6f0f7", kill_on_drop: false }` [INFO] [stderr] Compiling backend v0.1.0 (/opt/rustwide/workdir/src/backend) [INFO] [stdout] warning: unused import: `candid::Principal` [INFO] [stdout] --> src/backend/src/api/group_api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::Principal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::Principal` [INFO] [stdout] --> src/backend/src/api/post_api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::Principal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::Principal` [INFO] [stdout] --> src/backend/src/api/carinfo_api.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use candid::Principal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `creator` [INFO] [stdout] --> src/backend/src/models/group.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(id: u64, creator: Principal, name: String) -> Group { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_creator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ch` is never read [INFO] [stdout] --> src/backend/src/api/user_api.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut ch:i32=0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend/src/models/user.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 35 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setProfile` should have a snake case name [INFO] [stdout] --> src/backend/src/models/user.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn setProfile(&mut self, profile: UserProfile) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `set_profile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend/src/models/group.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend/src/models/post.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend/src/models/carinfo.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.45s [INFO] running `Command { std: "docker" "inspect" "0cafb67885b8b50c8cfb6a00aeba25dbe9a85bb16c78d094cb2a474de9b6f0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cafb67885b8b50c8cfb6a00aeba25dbe9a85bb16c78d094cb2a474de9b6f0f7", kill_on_drop: false }` [INFO] [stdout] 0cafb67885b8b50c8cfb6a00aeba25dbe9a85bb16c78d094cb2a474de9b6f0f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c2e78f52d64228db172e53d387a88ee79522ba2c22d8088927717fe1532ab42f [INFO] running `Command { std: "docker" "start" "-a" "c2e78f52d64228db172e53d387a88ee79522ba2c22d8088927717fe1532ab42f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `candid::Principal` [INFO] [stderr] --> src/backend/src/api/group_api.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use candid::Principal; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `candid::Principal` [INFO] [stderr] --> src/backend/src/api/post_api.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use candid::Principal; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `candid::Principal` [INFO] [stderr] --> src/backend/src/api/carinfo_api.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use candid::Principal; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `creator` [INFO] [stderr] --> src/backend/src/models/group.rs:44:25 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn new(id: u64, creator: Principal, name: String) -> Group { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_creator` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `ch` is never read [INFO] [stderr] --> src/backend/src/api/user_api.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | let mut ch:i32=0; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/backend/src/models/user.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 35 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: method `setProfile` should have a snake case name [INFO] [stderr] --> src/backend/src/models/user.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn setProfile(&mut self, profile: UserProfile) { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `set_profile` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/backend/src/models/group.rs:27:17 [INFO] [stderr] | [INFO] [stderr] 27 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 27 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/backend/src/models/post.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 19 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/backend/src/models/carinfo.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 17 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `backend` (lib test) generated 10 warnings (run `cargo fix --lib -p backend --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/backend-4cb0bcbbce201e5a) [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" "c2e78f52d64228db172e53d387a88ee79522ba2c22d8088927717fe1532ab42f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2e78f52d64228db172e53d387a88ee79522ba2c22d8088927717fe1532ab42f", kill_on_drop: false }` [INFO] [stdout] c2e78f52d64228db172e53d387a88ee79522ba2c22d8088927717fe1532ab42f