[INFO] cloning repository https://github.com/sergiopa2000/test-deploy-shuttle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sergiopa2000/test-deploy-shuttle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergiopa2000%2Ftest-deploy-shuttle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergiopa2000%2Ftest-deploy-shuttle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f11f66265539a8afd262d0a075051a1ecbd0c0e [INFO] testing sergiopa2000/test-deploy-shuttle against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergiopa2000%2Ftest-deploy-shuttle" "/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/sergiopa2000/test-deploy-shuttle on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sergiopa2000/test-deploy-shuttle [INFO] finished tweaking git repo https://github.com/sergiopa2000/test-deploy-shuttle [INFO] tweaked toml for git repo https://github.com/sergiopa2000/test-deploy-shuttle written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sergiopa2000/test-deploy-shuttle 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket_sync_db_pools_codegen v0.1.0-rc.3 [INFO] [stderr] Downloaded rocket_sync_db_pools v0.1.0-rc.3 [INFO] [stderr] Downloaded bitflags v2.0.2 [INFO] [stderr] Downloaded windows-targets v0.47.0 [INFO] [stderr] Downloaded async-stream-impl v0.3.4 [INFO] [stderr] Downloaded is-terminal v0.4.6 [INFO] [stderr] Downloaded quoted_printable v0.4.7 [INFO] [stderr] Downloaded async-stream v0.3.4 [INFO] [stderr] Downloaded bcrypt v0.13.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.55 [INFO] [stderr] Downloaded proc-macro2 v1.0.54 [INFO] [stderr] Downloaded openssl-sys v0.9.85 [INFO] [stderr] Downloaded pq-sys v0.4.7 [INFO] [stderr] Downloaded openssl v0.10.50 [INFO] [stderr] Downloaded diesel v2.0.3 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.47.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.47.0 [INFO] [stderr] Downloaded linux-raw-sys v0.3.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.47.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.47.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.47.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.47.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.47.0 [INFO] [stderr] Downloaded rustix v0.37.5 [INFO] [stderr] Downloaded redis v0.23.0 [INFO] [stderr] Downloaded regex v1.7.3 [INFO] [stderr] Downloaded syn v2.0.11 [INFO] [stderr] Downloaded spin v0.9.7 [INFO] [stderr] Downloaded multer v2.0.4 [INFO] [stderr] Downloaded io-lifetimes v1.0.9 [INFO] [stderr] Downloaded windows v0.47.0 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1beaf260f8792f032011a09d1e19dbba026a284c1fe2d44af5f904999257cb38 [INFO] running `Command { std: "docker" "start" "-a" "1beaf260f8792f032011a09d1e19dbba026a284c1fe2d44af5f904999257cb38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1beaf260f8792f032011a09d1e19dbba026a284c1fe2d44af5f904999257cb38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1beaf260f8792f032011a09d1e19dbba026a284c1fe2d44af5f904999257cb38", kill_on_drop: false }` [INFO] [stdout] 1beaf260f8792f032011a09d1e19dbba026a284c1fe2d44af5f904999257cb38 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4385964b54786e1a8179b56fb0c49b1139faae5aebbc2512427fb1c02dfdec33 [INFO] running `Command { std: "docker" "start" "-a" "4385964b54786e1a8179b56fb0c49b1139faae5aebbc2512427fb1c02dfdec33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.54 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.159 [INFO] [stderr] Compiling serde v1.0.159 [INFO] [stderr] Compiling futures-channel v0.3.27 [INFO] [stderr] Compiling futures-core v0.3.27 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling futures-sink v0.3.27 [INFO] [stderr] Compiling futures-task v0.3.27 [INFO] [stderr] Compiling tokio v1.27.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling futures-util v0.3.27 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling time-macros v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling futures-io v0.3.27 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling bitflags v2.0.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling syn v2.0.11 [INFO] [stderr] Compiling ref-cast v1.0.16 [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.85 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling rustix v0.37.5 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.95 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling linux-raw-sys v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time v0.3.20 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling multer v2.0.4 [INFO] [stderr] Compiling figment v0.10.8 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling pq-sys v0.4.7 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling openssl v0.10.50 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures v0.3.27 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling rocket v0.5.0-rc.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling iana-time-zone v0.1.55 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling spin v0.9.7 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0-rc.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling email-encoding v0.2.0 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling email_address v0.2.4 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling quoted_printable v0.4.7 [INFO] [stderr] Compiling bcrypt v0.13.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling tempfile v3.5.0 [INFO] [stderr] Compiling is-terminal v0.4.6 [INFO] [stderr] Compiling hyper v0.14.25 [INFO] [stderr] Compiling async-stream-impl v0.3.4 [INFO] [stderr] Compiling diesel_derives v2.0.2 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling async-stream v0.3.4 [INFO] [stderr] Compiling tokio-macros v2.0.0 [INFO] [stderr] Compiling pear_codegen v0.2.4 [INFO] [stderr] Compiling ref-cast-impl v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling pear v0.2.4 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0-rc.3 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.3 [INFO] [stderr] Compiling redis v0.23.0 [INFO] [stderr] Compiling lettre v0.10.4 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.3 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling tokio-stream v0.1.12 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling ubyte v0.10.3 [INFO] [stderr] Compiling bigdecimal v0.3.0 [INFO] [stderr] Compiling diesel v2.0.3 [INFO] [stderr] Compiling h2 v0.3.16 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling rust-api-rest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `login` [INFO] [stdout] --> src/routes/auth.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn login(user_info: Json) -> Result, Json> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_token` [INFO] [stdout] --> src/routes/auth.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn test_token(token: Result) -> Result, Json> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `send_mail` [INFO] [stdout] --> src/routes/auth.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn send_mail(user_mail: Json) -> Json { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `change_password` [INFO] [stdout] --> src/routes/auth.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn change_password(user_info: Json) -> Result, Json>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/routes/auth.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn logout(token: Result) -> Result, Json> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register` [INFO] [stdout] --> src/routes/auth.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn register(user_info: Json) -> Result, Json> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_user` [INFO] [stdout] --> src/routes/auth.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn update_user(id: String, token: Result) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `achievements` [INFO] [stdout] --> src/routes/user.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn achievements(token: Result) -> Result, Json> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user_achievements` [INFO] [stdout] --> src/routes/user.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn user_achievements(token: Result, id: String) -> Result, Json src/routes/user.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn profile(id: String, token: Result) -> Result, Json> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/auth.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn update_user(id: String, token: Result) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 11s [INFO] running `Command { std: "docker" "inspect" "4385964b54786e1a8179b56fb0c49b1139faae5aebbc2512427fb1c02dfdec33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4385964b54786e1a8179b56fb0c49b1139faae5aebbc2512427fb1c02dfdec33", kill_on_drop: false }` [INFO] [stdout] 4385964b54786e1a8179b56fb0c49b1139faae5aebbc2512427fb1c02dfdec33 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9458769ecbac83b71237ebe48f565e1b49a779f33e6608589d7176e843e79994 [INFO] running `Command { std: "docker" "start" "-a" "9458769ecbac83b71237ebe48f565e1b49a779f33e6608589d7176e843e79994", kill_on_drop: false }` [INFO] [stderr] Compiling rust-api-rest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `login` [INFO] [stdout] --> src/routes/auth.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn login(user_info: Json) -> Result, Json> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test_token` [INFO] [stdout] --> src/routes/auth.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn test_token(token: Result) -> Result, Json> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `send_mail` [INFO] [stdout] --> src/routes/auth.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn send_mail(user_mail: Json) -> Json { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `change_password` [INFO] [stdout] --> src/routes/auth.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn change_password(user_info: Json) -> Result, Json>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logout` [INFO] [stdout] --> src/routes/auth.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn logout(token: Result) -> Result, Json> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `register` [INFO] [stdout] --> src/routes/auth.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn register(user_info: Json) -> Result, Json> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_user` [INFO] [stdout] --> src/routes/auth.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn update_user(id: String, token: Result) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `achievements` [INFO] [stdout] --> src/routes/user.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn achievements(token: Result) -> Result, Json> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user_achievements` [INFO] [stdout] --> src/routes/user.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn user_achievements(token: Result, id: String) -> Result, Json src/routes/user.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn profile(id: String, token: Result) -> Result, Json> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/routes/auth.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn update_user(id: String, token: Result) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.33s [INFO] running `Command { std: "docker" "inspect" "9458769ecbac83b71237ebe48f565e1b49a779f33e6608589d7176e843e79994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9458769ecbac83b71237ebe48f565e1b49a779f33e6608589d7176e843e79994", kill_on_drop: false }` [INFO] [stdout] 9458769ecbac83b71237ebe48f565e1b49a779f33e6608589d7176e843e79994 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 67806e2e12336f54acddfe4558c64a74c2182002887147f873f68eed22882de9 [INFO] running `Command { std: "docker" "start" "-a" "67806e2e12336f54acddfe4558c64a74c2182002887147f873f68eed22882de9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `login` [INFO] [stderr] --> src/routes/auth.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn login(user_info: Json) -> Result, Json> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `test_token` [INFO] [stderr] --> src/routes/auth.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn test_token(token: Result) -> Result, Json> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `send_mail` [INFO] [stderr] --> src/routes/auth.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn send_mail(user_mail: Json) -> Json { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `change_password` [INFO] [stderr] --> src/routes/auth.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn change_password(user_info: Json) -> Result, Json>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `logout` [INFO] [stderr] --> src/routes/auth.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn logout(token: Result) -> Result, Json> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `register` [INFO] [stderr] --> src/routes/auth.rs:83:8 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn register(user_info: Json) -> Result, Json> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `update_user` [INFO] [stderr] --> src/routes/auth.rs:103:8 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn update_user(id: String, token: Result) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `achievements` [INFO] [stderr] --> src/routes/user.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn achievements(token: Result) -> Result, Json> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `user_achievements` [INFO] [stderr] --> src/routes/user.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn user_achievements(token: Result, id: String) -> Result, Json src/routes/user.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn profile(id: String, token: Result) -> Result, Json> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/routes/auth.rs:103:20 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn update_user(id: String, token: Result) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-api-rest` (bin "rust-api-rest" test) generated 11 warnings (run `cargo fix --bin "rust-api-rest" --tests` to apply 10 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_api_rest-58f2bf869e03e458) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api_rest-aa7bb545e68d8cbf) [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] [stderr] Doc-tests rust_api_rest [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" "67806e2e12336f54acddfe4558c64a74c2182002887147f873f68eed22882de9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67806e2e12336f54acddfe4558c64a74c2182002887147f873f68eed22882de9", kill_on_drop: false }` [INFO] [stdout] 67806e2e12336f54acddfe4558c64a74c2182002887147f873f68eed22882de9