[INFO] cloning repository https://github.com/tiagobnobrega/rust-web-api-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiagobnobrega/rust-web-api-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiagobnobrega%2Frust-web-api-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiagobnobrega%2Frust-web-api-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4588af3212462d2a65651d9b725dfe9f09a628c8 [INFO] testing tiagobnobrega/rust-web-api-template against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiagobnobrega%2Frust-web-api-template" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tiagobnobrega/rust-web-api-template on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tiagobnobrega/rust-web-api-template [INFO] finished tweaking git repo https://github.com/tiagobnobrega/rust-web-api-template [INFO] tweaked toml for git repo https://github.com/tiagobnobrega/rust-web-api-template written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/tiagobnobrega/rust-web-api-template already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b97342136ffb46a4e6cff0afe3a3dd51e8b4b7f1b403b7f45c81e6dce2acc932 [INFO] running `Command { std: "docker" "start" "-a" "b97342136ffb46a4e6cff0afe3a3dd51e8b4b7f1b403b7f45c81e6dce2acc932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b97342136ffb46a4e6cff0afe3a3dd51e8b4b7f1b403b7f45c81e6dce2acc932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b97342136ffb46a4e6cff0afe3a3dd51e8b4b7f1b403b7f45c81e6dce2acc932", kill_on_drop: false }` [INFO] [stdout] b97342136ffb46a4e6cff0afe3a3dd51e8b4b7f1b403b7f45c81e6dce2acc932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc9ca9adde9197ad708cd4dafc5cae18f7268db82bc6b5e2dca090cc0c042d5b [INFO] running `Command { std: "docker" "start" "-a" "bc9ca9adde9197ad708cd4dafc5cae18f7268db82bc6b5e2dca090cc0c042d5b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling spin v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [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.3 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_contrib v0.4.10 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling rust-web-api-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Header` [INFO] [stdout] --> src/features/shared/api_error.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::http::{ContentType, Header, Status}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/features/security/user.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/features/security/user.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_contrib::json::Json` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket_contrib::json::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.01s [INFO] running `Command { std: "docker" "inspect" "bc9ca9adde9197ad708cd4dafc5cae18f7268db82bc6b5e2dca090cc0c042d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc9ca9adde9197ad708cd4dafc5cae18f7268db82bc6b5e2dca090cc0c042d5b", kill_on_drop: false }` [INFO] [stdout] bc9ca9adde9197ad708cd4dafc5cae18f7268db82bc6b5e2dca090cc0c042d5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 722cdd297b65fbd07dca6507b41c8e9440d9291c6c0844aad53856044688e366 [INFO] running `Command { std: "docker" "start" "-a" "722cdd297b65fbd07dca6507b41c8e9440d9291c6c0844aad53856044688e366", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-web-api-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Header` [INFO] [stdout] --> src/features/shared/api_error.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::http::{ContentType, Header, Status}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/features/security/user.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/features/security/user.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_contrib::json::Json` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rocket_contrib::json::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Header` [INFO] [stdout] --> src/features/shared/api_error.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::http::{ContentType, Header, Status}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/features/security/user.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/features/security/user.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.33s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_web_api_template-e29e0187eb05bbbf) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_web_api_template-7259d4dc7641149d) [INFO] running `Command { std: "docker" "inspect" "722cdd297b65fbd07dca6507b41c8e9440d9291c6c0844aad53856044688e366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "722cdd297b65fbd07dca6507b41c8e9440d9291c6c0844aad53856044688e366", kill_on_drop: false }` [INFO] [stdout] 722cdd297b65fbd07dca6507b41c8e9440d9291c6c0844aad53856044688e366 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 88a659ca057866bbf32c64def06085eacf8ea3ecdacdb2ee973efd3dc4fe18bc [INFO] running `Command { std: "docker" "start" "-a" "88a659ca057866bbf32c64def06085eacf8ea3ecdacdb2ee973efd3dc4fe18bc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `Header` [INFO] [stderr] --> src/features/shared/api_error.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | use rocket::http::{ContentType, Header, Status}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `username` [INFO] [stderr] --> src/features/security/user.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | username: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/features/security/user.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rust-web-api-template` (lib) generated 2 warnings [INFO] [stderr] warning: `rust-web-api-template` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: unused import: `rocket_contrib::json::Json` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use rocket_contrib::json::Json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-web-api-template` (bin "rust-web-api-template" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_web_api_template-e29e0187eb05bbbf) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test features::security::tests::user_tests::simple_action_match_false ... ok [INFO] [stdout] test features::security::tests::user_tests::simple_action_match_true ... ok [INFO] [stdout] test features::security::tests::user_tests::simple_action_match_true_duplicated_action ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- features::security::tests::user_tests::simple_action_match_true_duplicated_action stdout ---- [INFO] [stdout] thread 'features::security::tests::user_tests::simple_action_match_true_duplicated_action' panicked at 'assertion failed: has_action', src/features/security/tests/user_tests.rs:33:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55659375b77d - std::backtrace_rs::backtrace::libunwind::trace::hf368f6ec047d835e [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55659375b77d - std::backtrace_rs::backtrace::trace_unsynchronized::h5deaa62eab82df22 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55659375b77d - std::sys_common::backtrace::_print_fmt::h5a1c3a24a936a045 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55659375b77d - ::fmt::h0219f75f359b565d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55659377e89c - core::fmt::write::hf0ed2ae6b5ba2d7d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x556593757cd1 - std::io::Write::write_fmt::h38d43b38044a5699 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x55659375d255 - std::sys_common::backtrace::_print::h733b600962ba33ce [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55659375d255 - std::sys_common::backtrace::print::h5dc0fa0616f7d4bf [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55659375d255 - std::panicking::default_hook::{{closure}}::h3151cab60fd16f06 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55659375cf00 - std::panicking::default_hook::ha44b338b782f641e [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55659375d938 - std::panicking::rust_panic_with_hook::hddbb61d11ae83bc7 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55659375d7a9 - std::panicking::begin_panic_handler::{{closure}}::ha90ba42a51d96fb7 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:586:13 [INFO] [stdout] 12: 0x55659375bc34 - std::sys_common::backtrace::__rust_end_short_backtrace::hb2f712e9f2c19288 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55659375d519 - rust_begin_unwind [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55659377d293 - core::panicking::panic_fmt::ha7e9b4e73b08c9d5 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x55659377d0dd - core::panicking::panic::h3654f1e0559eeff1 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x5565936f7005 - rust_web_api_template::features::security::tests::user_tests::simple_action_match_true_duplicated_action::h7dd36126b3d32970 [INFO] [stdout] at /opt/rustwide/workdir/src/features/security/tests/user_tests.rs:33:5 [INFO] [stdout] 17: 0x5565936f6d3a - rust_web_api_template::features::security::tests::user_tests::simple_action_match_true_duplicated_action::{{closure}}::h1f460611a8371a07 [INFO] [stdout] at /opt/rustwide/workdir/src/features/security/tests/user_tests.rs:28:1 [INFO] [stdout] 18: 0x5565936f7c0e - core::ops::function::FnOnce::call_once::h3a01cf92f6c4c667 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 19: 0x55659372efa3 - core::ops::function::FnOnce::call_once::h0dfe20f12b77bab0 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 20: 0x55659372efa3 - test::__rust_begin_short_backtrace::h621e75342c56b813 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:573:5 [INFO] [stdout] 21: 0x55659372dd4a - as core::ops::function::FnOnce>::call_once::ha960722220d3e4e3 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 22: 0x55659372dd4a - as core::ops::function::FnOnce<()>>::call_once::h8d4f52e2b0282cfb [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x55659372dd4a - std::panicking::try::do_call::h482ae3b09291596d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x55659372dd4a - std::panicking::try::h2ddddb26c086954d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x55659372dd4a - std::panic::catch_unwind::h743b0e27e7a9c139 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x55659372dd4a - test::run_test_in_process::ha7740d79e504cc37 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:596:18 [INFO] [stdout] 27: 0x55659372dd4a - test::run_test::run_test_inner::{{closure}}::h8418baf60f7a06c4 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:490:39 [INFO] [stdout] 28: 0x5565936f84fd - test::run_test::run_test_inner::{{closure}}::h0beb35daaa80ec66 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:517:37 [INFO] [stdout] 29: 0x5565936f84fd - std::sys_common::backtrace::__rust_begin_short_backtrace::hb005f1ebb9b3ac0b [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 30: 0x5565936fdff8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h496c50f972d6dc0f [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 31: 0x5565936fdff8 - as core::ops::function::FnOnce<()>>::call_once::ha5b8911111f511ea [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x5565936fdff8 - std::panicking::try::do_call::h084ed94d88677037 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:492:40 [INFO] [stdout] 33: 0x5565936fdff8 - std::panicking::try::h013a823fb6061e50 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:456:19 [INFO] [stdout] 34: 0x5565936fdff8 - std::panic::catch_unwind::h041e5fbe96cdc85b [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panic.rs:137:14 [INFO] [stdout] 35: 0x5565936fdff8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h24aad6f3231b4f43 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 36: 0x5565936fdff8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88f4642fdc208aab [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 37: 0x5565937622d3 - as core::ops::function::FnOnce>::call_once::h21f4f903d484bbf8 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 38: 0x5565937622d3 - as core::ops::function::FnOnce>::call_once::h88143291d50223e5 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 39: 0x5565937622d3 - std::sys::unix::thread::Thread::new::thread_start::h21cad75f6abb068a [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 40: 0x7fab3885f609 - start_thread [INFO] [stdout] 41: 0x7fab3862f163 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] features::security::tests::user_tests::simple_action_match_true_duplicated_action [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "88a659ca057866bbf32c64def06085eacf8ea3ecdacdb2ee973efd3dc4fe18bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88a659ca057866bbf32c64def06085eacf8ea3ecdacdb2ee973efd3dc4fe18bc", kill_on_drop: false }` [INFO] [stdout] 88a659ca057866bbf32c64def06085eacf8ea3ecdacdb2ee973efd3dc4fe18bc