[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#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDen4200%2Frust-crud-api" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Den4200/rust-crud-api on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-7/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca35862cf7c82e569fe63830eaa79c86c410003b856dd922344325e0382cc7f2 [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" "ca35862cf7c82e569fe63830eaa79c86c410003b856dd922344325e0382cc7f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca35862cf7c82e569fe63830eaa79c86c410003b856dd922344325e0382cc7f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca35862cf7c82e569fe63830eaa79c86c410003b856dd922344325e0382cc7f2", kill_on_drop: false }` [INFO] [stdout] ca35862cf7c82e569fe63830eaa79c86c410003b856dd922344325e0382cc7f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49ead1f0755c90a55bce4a2f158affb055b231116494f0f6c54694edd6ac0326 [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" "49ead1f0755c90a55bce4a2f158affb055b231116494f0f6c54694edd6ac0326", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling glob v0.3.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] 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 unicode-bidi v0.3.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.3.3 [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] 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 idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking hyper v0.10.16 [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 serde_derive v1.0.115 [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 serde v1.0.115 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling validator v0.10.1 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [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 08s [INFO] running `Command { std: "docker" "inspect" "49ead1f0755c90a55bce4a2f158affb055b231116494f0f6c54694edd6ac0326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49ead1f0755c90a55bce4a2f158affb055b231116494f0f6c54694edd6ac0326", kill_on_drop: false }` [INFO] [stdout] 49ead1f0755c90a55bce4a2f158affb055b231116494f0f6c54694edd6ac0326