[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#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDen4200%2Frust-crud-api" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Den4200/rust-crud-api on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e5334b3f827848d3214acd12103ee65867c0dfd8fc8f80a0faa09fcd6e0c5f4 [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" "0e5334b3f827848d3214acd12103ee65867c0dfd8fc8f80a0faa09fcd6e0c5f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e5334b3f827848d3214acd12103ee65867c0dfd8fc8f80a0faa09fcd6e0c5f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e5334b3f827848d3214acd12103ee65867c0dfd8fc8f80a0faa09fcd6e0c5f4", kill_on_drop: false }` [INFO] [stdout] 0e5334b3f827848d3214acd12103ee65867c0dfd8fc8f80a0faa09fcd6e0c5f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7287bc2363360d9f5c68e1222bcacb5225c9bc8055f99fc22b62e6ea548277bb [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" "7287bc2363360d9f5c68e1222bcacb5225c9bc8055f99fc22b62e6ea548277bb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling unicase v1.4.2 [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 walkdir v2.3.1 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [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 filetime v0.2.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.5 [INFO] [stderr] Checking diesel v1.4.5 [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: 4 warnings emitted [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 14s [INFO] running `Command { std: "docker" "inspect" "7287bc2363360d9f5c68e1222bcacb5225c9bc8055f99fc22b62e6ea548277bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7287bc2363360d9f5c68e1222bcacb5225c9bc8055f99fc22b62e6ea548277bb", kill_on_drop: false }` [INFO] [stdout] 7287bc2363360d9f5c68e1222bcacb5225c9bc8055f99fc22b62e6ea548277bb