[INFO] cloning repository https://github.com/sjy-dv/rust-mysql-rocket [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sjy-dv/rust-mysql-rocket" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjy-dv%2Frust-mysql-rocket", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjy-dv%2Frust-mysql-rocket'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d9f97341482c9ec095907ef1d479e61bb7eb919 [INFO] checking sjy-dv/rust-mysql-rocket against try#751cdbaf3a893bc71b2c617bb7be22dfea5f0862 for pr-95611 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjy-dv%2Frust-mysql-rocket" "/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/sjy-dv/rust-mysql-rocket on toolchain 751cdbaf3a893bc71b2c617bb7be22dfea5f0862 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+751cdbaf3a893bc71b2c617bb7be22dfea5f0862" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sjy-dv/rust-mysql-rocket [INFO] finished tweaking git repo https://github.com/sjy-dv/rust-mysql-rocket [INFO] tweaked toml for git repo https://github.com/sjy-dv/rust-mysql-rocket written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/sjy-dv/rust-mysql-rocket already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+751cdbaf3a893bc71b2c617bb7be22dfea5f0862" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+751cdbaf3a893bc71b2c617bb7be22dfea5f0862" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dafc1d4a3efa69bda668e048927015bf8c091f6d9adb956e53588ede1d761f7 [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" "8dafc1d4a3efa69bda668e048927015bf8c091f6d9adb956e53588ede1d761f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dafc1d4a3efa69bda668e048927015bf8c091f6d9adb956e53588ede1d761f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dafc1d4a3efa69bda668e048927015bf8c091f6d9adb956e53588ede1d761f7", kill_on_drop: false }` [INFO] [stdout] 8dafc1d4a3efa69bda668e048927015bf8c091f6d9adb956e53588ede1d761f7 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+751cdbaf3a893bc71b2c617bb7be22dfea5f0862" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f1f9e6632af32a6543f32306e05879db3b00ee6d8e58aba79f4ba8602a9fd8a9 [INFO] running `Command { std: "docker" "start" "-a" "f1f9e6632af32a6543f32306e05879db3b00ee6d8e58aba79f4ba8602a9fd8a9", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling frunk_core v0.4.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.0.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling mysql v21.0.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling io-enum v1.0.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking lru v0.6.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking nix v0.21.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling subprocess v0.2.7 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking lexical v5.2.2 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rust_decimal v1.14.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking bigdecimal v0.2.0 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.0 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking cookie v0.11.4 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling frunk_proc_macros_impl v0.1.0 [INFO] [stderr] Compiling frunk_derives v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking frunk_proc_macros v0.1.0 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking frunk v0.4.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.10 [INFO] [stderr] Compiling mysql_common v0.27.4 [INFO] [stderr] Checking diesel v1.4.7 [INFO] [stderr] Checking rocket_contrib v0.4.10 [INFO] [stderr] Checking r2d2-diesel v1.0.0 [INFO] [stderr] Checking web-assemble v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/models/user.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[table_name = "user"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | #[derive(Serialize, AsChangeset, Deserialize, Queryable, 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/user.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[table_name = "user"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | #[derive(Serialize, AsChangeset, Deserialize, Queryable, 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: unused import: `bigdecimal::BigDecimal` [INFO] [stdout] --> src/models/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bigdecimal::BigDecimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigdecimal::BigDecimal` [INFO] [stdout] --> src/models/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bigdecimal::BigDecimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime`, `Utc` [INFO] [stdout] --> src/models/user.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NaiveDateTime`, `Utc` [INFO] [stdout] --> src/models/user.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{NaiveDateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `json_error` [INFO] [stdout] --> src/utils/response.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn json_error(e: JsonError) -> ApiError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `json_error` [INFO] [stdout] --> src/utils/response.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn json_error(e: JsonError) -> ApiError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `findAll` should have a snake case name [INFO] [stdout] --> src/models/user.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn findAll(conn: &MysqlConnection) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `find_all` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `findAll` should have a snake case name [INFO] [stdout] --> src/models/user.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn findAll(conn: &MysqlConnection) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `find_all` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "f1f9e6632af32a6543f32306e05879db3b00ee6d8e58aba79f4ba8602a9fd8a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1f9e6632af32a6543f32306e05879db3b00ee6d8e58aba79f4ba8602a9fd8a9", kill_on_drop: false }` [INFO] [stdout] f1f9e6632af32a6543f32306e05879db3b00ee6d8e58aba79f4ba8602a9fd8a9