[INFO] cloning repository https://github.com/Den4200/rust-crud-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Den4200/rust-crud-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDen4200%2Frust-crud-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDen4200%2Frust-crud-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3c87d26654f2087b98b9d029cb034316a65bf47 [INFO] checking Den4200/rust-crud-api against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDen4200%2Frust-crud-api" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Den4200/rust-crud-api on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-15/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Den4200/rust-crud-api [INFO] finished tweaking git repo https://github.com/Den4200/rust-crud-api [INFO] tweaked toml for git repo https://github.com/Den4200/rust-crud-api written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/Den4200/rust-crud-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b49eb876b1081cd86d64f2a5c8c8556633867086398b4ec0a7e7dabf92878128 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b49eb876b1081cd86d64f2a5c8c8556633867086398b4ec0a7e7dabf92878128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b49eb876b1081cd86d64f2a5c8c8556633867086398b4ec0a7e7dabf92878128", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49eb876b1081cd86d64f2a5c8c8556633867086398b4ec0a7e7dabf92878128", kill_on_drop: false }` [INFO] [stdout] b49eb876b1081cd86d64f2a5c8c8556633867086398b4ec0a7e7dabf92878128 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 315cce37dde768f9d9838d12d22c3a8c5d087290d0e4ffa839439a71e83b1891 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "315cce37dde768f9d9838d12d22c3a8c5d087290d0e4ffa839439a71e83b1891", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking rocket_http v0.4.5 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking validator v0.10.1 [INFO] [stderr] Compiling validator_derive v0.10.1 [INFO] [stderr] Checking rocket_contrib v0.4.5 [INFO] [stderr] Checking rust_crud_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/models/hero.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[table_name = "heroes"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | #[derive(AsChangeset, Deserialize, Insertable)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/models/hero.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[table_name = "heroes"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | #[derive(AsChangeset, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/models/hero.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[table_name = "heroes"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | #[derive(AsChangeset, Deserialize, Insertable)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/models/hero.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[table_name = "heroes"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | #[derive(AsChangeset, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token` [INFO] [stdout] --> src/auth.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn token(&self, secret: &[u8]) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TOKEN_TTL` [INFO] [stdout] --> src/config.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const TOKEN_TTL: i64 = 365; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token` [INFO] [stdout] --> src/auth.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn token(&self, secret: &[u8]) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TOKEN_TTL` [INFO] [stdout] --> src/config.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const TOKEN_TTL: i64 = 365; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.82s [INFO] running `Command { std: "docker" "inspect" "315cce37dde768f9d9838d12d22c3a8c5d087290d0e4ffa839439a71e83b1891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "315cce37dde768f9d9838d12d22c3a8c5d087290d0e4ffa839439a71e83b1891", kill_on_drop: false }` [INFO] [stdout] 315cce37dde768f9d9838d12d22c3a8c5d087290d0e4ffa839439a71e83b1891