[INFO] cloning repository https://github.com/ali322/axum-starter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ali322/axum-starter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fali322%2Faxum-starter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fali322%2Faxum-starter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cb0d7f0f94e0741800d4b5456fa4903a0700070 [INFO] testing ali322/axum-starter against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fali322%2Faxum-starter" "/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/ali322/axum-starter on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ali322/axum-starter [INFO] finished tweaking git repo https://github.com/ali322/axum-starter [INFO] tweaked toml for git repo https://github.com/ali322/axum-starter written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ali322/axum-starter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--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-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", 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] d24e9a5520227231f561f74d76bae5614490d860413bef7ad0486e036441fa29 [INFO] running `Command { std: "docker" "start" "-a" "d24e9a5520227231f561f74d76bae5614490d860413bef7ad0486e036441fa29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d24e9a5520227231f561f74d76bae5614490d860413bef7ad0486e036441fa29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d24e9a5520227231f561f74d76bae5614490d860413bef7ad0486e036441fa29", kill_on_drop: false }` [INFO] [stdout] d24e9a5520227231f561f74d76bae5614490d860413bef7ad0486e036441fa29 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bc91f5885938993307da56bd3ab727066dc28cc563eb5a07f23baff5f75a6c5 [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" "4bc91f5885938993307da56bd3ab727066dc28cc563eb5a07f23baff5f75a6c5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling minimal-lexical v0.1.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling whoami v1.1.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling matchit v0.4.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling time v0.2.27 [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 tokio v1.12.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling crc v2.0.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling blowfish v0.8.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling bcrypt v0.10.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling hdrhistogram v6.3.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling mac_address v1.1.2 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling zeroize_derive v1.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-process v1.2.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling async-rustls v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling tower-http v0.1.1 [INFO] [stderr] Compiling tower v0.4.10 [INFO] [stderr] Compiling hyper v0.14.14 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bigdecimal v0.2.2 [INFO] [stderr] Compiling ipnetwork v0.17.0 [INFO] [stderr] Compiling rust_decimal v1.16.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling html_parser v0.6.2 [INFO] [stderr] Compiling rexpr v1.0.7 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling simple_asn1 v0.5.4 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling rsa v0.4.1 [INFO] [stderr] Compiling py_sql v1.0.1 [INFO] [stderr] Compiling rbatis_sql_macro v2.0.20 [INFO] [stderr] Compiling rbatis-macro-driver v2.1.0 [INFO] [stderr] Compiling axum v0.3.3 [INFO] [stderr] Compiling tracing-appender v0.1.2 [INFO] [stderr] Compiling sqlx-rt v0.5.9 [INFO] [stderr] Compiling sqlx-core v0.5.9 [INFO] [stderr] Compiling rbatis_sql v2.0.20 [INFO] [stderr] Compiling rbatis-core v2.1.4 [INFO] [stderr] Compiling rbatis v2.1.3 [INFO] [stderr] Compiling app_macro v0.1.0 (/opt/rustwide/workdir/app_macro) [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] ............gen impl CRUDTable: [INFO] [stdout] #[derive(serde :: Serialize, serde :: Deserialize)] [INFO] [stdout] #[derive(Debug, Clone, Dao)] pub struct User [INFO] [stdout] { [INFO] [stdout] pub id : String, pub username : String, pub password : String, pub email : [INFO] [stdout] Option < String >, #[serde(serialize_with = "i32_bool::serialize")] pub [INFO] [stdout] is_actived : i32, #[serde(serialize_with = "naive_datetime::serialize")] [INFO] [stdout] pub last_logined_at : NaiveDateTime, [INFO] [stdout] #[serde(serialize_with = "naive_datetime::serialize")] pub created_at : [INFO] [stdout] NaiveDateTime, [INFO] [stdout] } impl rbatis :: crud :: CRUDTable for User [INFO] [stdout] { [INFO] [stdout] fn get(& self, column : & str) -> serde_json :: Value [INFO] [stdout] { [INFO] [stdout] return match column [INFO] [stdout] { [INFO] [stdout] "id" => { return serde_json :: json! (& self.id) ; } "username" => [INFO] [stdout] { return serde_json :: json! (& self.username) ; } "password" => [INFO] [stdout] { return serde_json :: json! (& self.password) ; } "email" => [INFO] [stdout] { return serde_json :: json! (& self.email) ; } "is_actived" => [INFO] [stdout] { return serde_json :: json! (& self.is_actived) ; } [INFO] [stdout] "last_logined_at" => [INFO] [stdout] { return serde_json :: json! (& self.last_logined_at) ; } [INFO] [stdout] "created_at" => [INFO] [stdout] { return serde_json :: json! (& self.created_at) ; } _ => [INFO] [stdout] { serde_json :: Value :: Null } [INFO] [stdout] } [INFO] [stdout] } fn table_name() -> String { "users".to_string() } fn table_columns() -> [INFO] [stdout] String [INFO] [stdout] { [INFO] [stdout] "id,username,password,email,is_actived,last_logined_at,created_at".to_string() [INFO] [stdout] } fn formats(driver_type : & rbatis :: core :: db :: DriverType) -> std :: [INFO] [stdout] collections :: HashMap < String, fn(arg : & str) -> String > [INFO] [stdout] { [INFO] [stdout] let mut m : std :: collections :: HashMap < String, fn(arg : & str) -> [INFO] [stdout] String > = std :: collections :: HashMap :: new() ; match driver_type [INFO] [stdout] { [INFO] [stdout] rbatis :: core :: db :: DriverType :: Mysql => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Postgres => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Sqlite => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Mssql => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: None => { return m ; }, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] ............gen impl CRUDTable end............ [INFO] [stdout] ............gen impl CRUDTable: [INFO] [stdout] #[derive(serde :: Serialize, serde :: Deserialize)] [INFO] [stdout] #[derive(Debug, Clone, Dao)] pub struct Post [INFO] [stdout] { [INFO] [stdout] pub id : Option < i32 >, pub title : String, pub content : String, pub [INFO] [stdout] user_id : String, #[serde(serialize_with = "naive_datetime::serialize")] [INFO] [stdout] pub created_at : NaiveDateTime, [INFO] [stdout] #[serde(serialize_with = "naive_datetime::serialize")] pub updated_at : [INFO] [stdout] NaiveDateTime, #[serde(serialize_with = "i32_bool::serialize")] pub [INFO] [stdout] is_deleted : i32, [INFO] [stdout] } impl rbatis :: crud :: CRUDTable for Post [INFO] [stdout] { [INFO] [stdout] fn get(& self, column : & str) -> serde_json :: Value [INFO] [stdout] { [INFO] [stdout] return match column [INFO] [stdout] { [INFO] [stdout] "id" => { return serde_json :: json! (& self.id) ; } "title" => [INFO] [stdout] { return serde_json :: json! (& self.title) ; } "content" => [INFO] [stdout] { return serde_json :: json! (& self.content) ; } "user_id" => [INFO] [stdout] { return serde_json :: json! (& self.user_id) ; } "created_at" => [INFO] [stdout] { return serde_json :: json! (& self.created_at) ; } "updated_at" [INFO] [stdout] => { return serde_json :: json! (& self.updated_at) ; } [INFO] [stdout] "is_deleted" => [INFO] [stdout] { return serde_json :: json! (& self.is_deleted) ; } _ => [INFO] [stdout] { serde_json :: Value :: Null } [INFO] [stdout] } [INFO] [stdout] } fn table_name() -> String { "posts".to_string() } fn table_columns() -> [INFO] [stdout] String [INFO] [stdout] { [INFO] [stdout] "id,title,content,user_id,created_at,updated_at,is_deleted".to_string() [INFO] [stdout] } fn formats(driver_type : & rbatis :: core :: db :: DriverType) -> std :: [INFO] [stdout] collections :: HashMap < String, fn(arg : & str) -> String > [INFO] [stdout] { [INFO] [stdout] let mut m : std :: collections :: HashMap < String, fn(arg : & str) -> [INFO] [stdout] String > = std :: collections :: HashMap :: new() ; match driver_type [INFO] [stdout] { [INFO] [stdout] rbatis :: core :: db :: DriverType :: Mysql => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Postgres => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Sqlite => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Mssql => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: None => { return m ; }, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] ............gen impl CRUDTable end............ [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 50s [INFO] running `Command { std: "docker" "inspect" "4bc91f5885938993307da56bd3ab727066dc28cc563eb5a07f23baff5f75a6c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc91f5885938993307da56bd3ab727066dc28cc563eb5a07f23baff5f75a6c5", kill_on_drop: false }` [INFO] [stdout] 4bc91f5885938993307da56bd3ab727066dc28cc563eb5a07f23baff5f75a6c5 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e917448a44f00569dc81c7f2c04ab312cd8d8ac60bc874b33dba3f00a6e3bb8 [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" "5e917448a44f00569dc81c7f2c04ab312cd8d8ac60bc874b33dba3f00a6e3bb8", kill_on_drop: false }` [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] ............gen impl CRUDTable: [INFO] [stdout] #[derive(serde :: Serialize, serde :: Deserialize)] [INFO] [stdout] #[derive(Debug, Clone, Dao)] pub struct User [INFO] [stdout] { [INFO] [stdout] pub id : String, pub username : String, pub password : String, pub email : [INFO] [stdout] Option < String >, #[serde(serialize_with = "i32_bool::serialize")] pub [INFO] [stdout] is_actived : i32, #[serde(serialize_with = "naive_datetime::serialize")] [INFO] [stdout] pub last_logined_at : NaiveDateTime, [INFO] [stdout] #[serde(serialize_with = "naive_datetime::serialize")] pub created_at : [INFO] [stdout] NaiveDateTime, [INFO] [stdout] } impl rbatis :: crud :: CRUDTable for User [INFO] [stdout] { [INFO] [stdout] fn get(& self, column : & str) -> serde_json :: Value [INFO] [stdout] { [INFO] [stdout] return match column [INFO] [stdout] { [INFO] [stdout] "id" => { return serde_json :: json! (& self.id) ; } "username" => [INFO] [stdout] { return serde_json :: json! (& self.username) ; } "password" => [INFO] [stdout] { return serde_json :: json! (& self.password) ; } "email" => [INFO] [stdout] { return serde_json :: json! (& self.email) ; } "is_actived" => [INFO] [stdout] { return serde_json :: json! (& self.is_actived) ; } [INFO] [stdout] "last_logined_at" => [INFO] [stdout] { return serde_json :: json! (& self.last_logined_at) ; } [INFO] [stdout] "created_at" => [INFO] [stdout] { return serde_json :: json! (& self.created_at) ; } _ => [INFO] [stdout] { serde_json :: Value :: Null } [INFO] [stdout] } [INFO] [stdout] } fn table_name() -> String { "users".to_string() } fn table_columns() -> [INFO] [stdout] String [INFO] [stdout] { [INFO] [stdout] "id,username,password,email,is_actived,last_logined_at,created_at".to_string() [INFO] [stdout] } fn formats(driver_type : & rbatis :: core :: db :: DriverType) -> std :: [INFO] [stdout] collections :: HashMap < String, fn(arg : & str) -> String > [INFO] [stdout] { [INFO] [stdout] let mut m : std :: collections :: HashMap < String, fn(arg : & str) -> [INFO] [stdout] String > = std :: collections :: HashMap :: new() ; match driver_type [INFO] [stdout] { [INFO] [stdout] rbatis :: core :: db :: DriverType :: Mysql => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Postgres => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Sqlite => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Mssql => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: None => { return m ; }, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] ............gen impl CRUDTable end............ [INFO] [stdout] ............gen impl CRUDTable: [INFO] [stdout] #[derive(serde :: Serialize, serde :: Deserialize)] [INFO] [stdout] #[derive(Debug, Clone, Dao)] pub struct Post [INFO] [stdout] { [INFO] [stdout] pub id : Option < i32 >, pub title : String, pub content : String, pub [INFO] [stdout] user_id : String, #[serde(serialize_with = "naive_datetime::serialize")] [INFO] [stdout] pub created_at : NaiveDateTime, [INFO] [stdout] #[serde(serialize_with = "naive_datetime::serialize")] pub updated_at : [INFO] [stdout] NaiveDateTime, #[serde(serialize_with = "i32_bool::serialize")] pub [INFO] [stdout] is_deleted : i32, [INFO] [stdout] } impl rbatis :: crud :: CRUDTable for Post [INFO] [stdout] { [INFO] [stdout] fn get(& self, column : & str) -> serde_json :: Value [INFO] [stdout] { [INFO] [stdout] return match column [INFO] [stdout] { [INFO] [stdout] "id" => { return serde_json :: json! (& self.id) ; } "title" => [INFO] [stdout] { return serde_json :: json! (& self.title) ; } "content" => [INFO] [stdout] { return serde_json :: json! (& self.content) ; } "user_id" => [INFO] [stdout] { return serde_json :: json! (& self.user_id) ; } "created_at" => [INFO] [stdout] { return serde_json :: json! (& self.created_at) ; } "updated_at" [INFO] [stdout] => { return serde_json :: json! (& self.updated_at) ; } [INFO] [stdout] "is_deleted" => [INFO] [stdout] { return serde_json :: json! (& self.is_deleted) ; } _ => [INFO] [stdout] { serde_json :: Value :: Null } [INFO] [stdout] } [INFO] [stdout] } fn table_name() -> String { "posts".to_string() } fn table_columns() -> [INFO] [stdout] String [INFO] [stdout] { [INFO] [stdout] "id,title,content,user_id,created_at,updated_at,is_deleted".to_string() [INFO] [stdout] } fn formats(driver_type : & rbatis :: core :: db :: DriverType) -> std :: [INFO] [stdout] collections :: HashMap < String, fn(arg : & str) -> String > [INFO] [stdout] { [INFO] [stdout] let mut m : std :: collections :: HashMap < String, fn(arg : & str) -> [INFO] [stdout] String > = std :: collections :: HashMap :: new() ; match driver_type [INFO] [stdout] { [INFO] [stdout] rbatis :: core :: db :: DriverType :: Mysql => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Postgres => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Sqlite => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Mssql => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: None => { return m ; }, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] ............gen impl CRUDTable end............ [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.84s [INFO] running `Command { std: "docker" "inspect" "5e917448a44f00569dc81c7f2c04ab312cd8d8ac60bc874b33dba3f00a6e3bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e917448a44f00569dc81c7f2c04ab312cd8d8ac60bc874b33dba3f00a6e3bb8", kill_on_drop: false }` [INFO] [stdout] 5e917448a44f00569dc81c7f2c04ab312cd8d8ac60bc874b33dba3f00a6e3bb8 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", 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] 665bc6a29818d1e8ae9c37a786cb5f22a8416f8844af7a90de7c44ddedc75a06 [INFO] running `Command { std: "docker" "start" "-a" "665bc6a29818d1e8ae9c37a786cb5f22a8416f8844af7a90de7c44ddedc75a06", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/app-500099a516b608fa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/app-b1565235c8842ff4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests app [INFO] [stdout] ............gen impl CRUDTable: [INFO] [stdout] #[derive(serde :: Serialize, serde :: Deserialize)] [INFO] [stdout] #[derive(Debug, Clone, Dao)] pub struct User [INFO] [stdout] { [INFO] [stdout] pub id : String, pub username : String, pub password : String, pub email : [INFO] [stdout] Option < String >, #[serde(serialize_with = "i32_bool::serialize")] pub [INFO] [stdout] is_actived : i32, #[serde(serialize_with = "naive_datetime::serialize")] [INFO] [stdout] pub last_logined_at : NaiveDateTime, [INFO] [stdout] #[serde(serialize_with = "naive_datetime::serialize")] pub created_at : [INFO] [stdout] NaiveDateTime, [INFO] [stdout] } impl rbatis :: crud :: CRUDTable for User [INFO] [stdout] { [INFO] [stdout] fn get(& self, column : & str) -> serde_json :: Value [INFO] [stdout] { [INFO] [stdout] return match column [INFO] [stdout] { [INFO] [stdout] "id" => { return serde_json :: json! (& self.id) ; } "username" => [INFO] [stdout] { return serde_json :: json! (& self.username) ; } "password" => [INFO] [stdout] { return serde_json :: json! (& self.password) ; } "email" => [INFO] [stdout] { return serde_json :: json! (& self.email) ; } "is_actived" => [INFO] [stdout] { return serde_json :: json! (& self.is_actived) ; } [INFO] [stdout] "last_logined_at" => [INFO] [stdout] { return serde_json :: json! (& self.last_logined_at) ; } [INFO] [stdout] "created_at" => [INFO] [stdout] { return serde_json :: json! (& self.created_at) ; } _ => [INFO] [stdout] { serde_json :: Value :: Null } [INFO] [stdout] } [INFO] [stdout] } fn table_name() -> String { "users".to_string() } fn table_columns() -> [INFO] [stdout] String [INFO] [stdout] { [INFO] [stdout] "id,username,password,email,is_actived,last_logined_at,created_at".to_string() [INFO] [stdout] } fn formats(driver_type : & rbatis :: core :: db :: DriverType) -> std :: [INFO] [stdout] collections :: HashMap < String, fn(arg : & str) -> String > [INFO] [stdout] { [INFO] [stdout] let mut m : std :: collections :: HashMap < String, fn(arg : & str) -> [INFO] [stdout] String > = std :: collections :: HashMap :: new() ; match driver_type [INFO] [stdout] { [INFO] [stdout] rbatis :: core :: db :: DriverType :: Mysql => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Postgres => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Sqlite => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Mssql => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: None => { return m ; }, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] ............gen impl CRUDTable end............ [INFO] [stdout] ............gen impl CRUDTable: [INFO] [stdout] #[derive(serde :: Serialize, serde :: Deserialize)] [INFO] [stdout] #[derive(Debug, Clone, Dao)] pub struct Post [INFO] [stdout] { [INFO] [stdout] pub id : Option < i32 >, pub title : String, pub content : String, pub [INFO] [stdout] user_id : String, #[serde(serialize_with = "naive_datetime::serialize")] [INFO] [stdout] pub created_at : NaiveDateTime, [INFO] [stdout] #[serde(serialize_with = "naive_datetime::serialize")] pub updated_at : [INFO] [stdout] NaiveDateTime, #[serde(serialize_with = "i32_bool::serialize")] pub [INFO] [stdout] is_deleted : i32, [INFO] [stdout] } impl rbatis :: crud :: CRUDTable for Post [INFO] [stdout] { [INFO] [stdout] fn get(& self, column : & str) -> serde_json :: Value [INFO] [stdout] { [INFO] [stdout] return match column [INFO] [stdout] { [INFO] [stdout] "id" => { return serde_json :: json! (& self.id) ; } "title" => [INFO] [stdout] { return serde_json :: json! (& self.title) ; } "content" => [INFO] [stdout] { return serde_json :: json! (& self.content) ; } "user_id" => [INFO] [stdout] { return serde_json :: json! (& self.user_id) ; } "created_at" => [INFO] [stdout] { return serde_json :: json! (& self.created_at) ; } "updated_at" [INFO] [stdout] => { return serde_json :: json! (& self.updated_at) ; } [INFO] [stdout] "is_deleted" => [INFO] [stdout] { return serde_json :: json! (& self.is_deleted) ; } _ => [INFO] [stdout] { serde_json :: Value :: Null } [INFO] [stdout] } [INFO] [stdout] } fn table_name() -> String { "posts".to_string() } fn table_columns() -> [INFO] [stdout] String [INFO] [stdout] { [INFO] [stdout] "id,title,content,user_id,created_at,updated_at,is_deleted".to_string() [INFO] [stdout] } fn formats(driver_type : & rbatis :: core :: db :: DriverType) -> std :: [INFO] [stdout] collections :: HashMap < String, fn(arg : & str) -> String > [INFO] [stdout] { [INFO] [stdout] let mut m : std :: collections :: HashMap < String, fn(arg : & str) -> [INFO] [stdout] String > = std :: collections :: HashMap :: new() ; match driver_type [INFO] [stdout] { [INFO] [stdout] rbatis :: core :: db :: DriverType :: Mysql => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Postgres => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Sqlite => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: Mssql => { return m ; }, [INFO] [stdout] rbatis :: core :: db :: DriverType :: None => { return m ; }, [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] ............gen impl CRUDTable end............ [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "665bc6a29818d1e8ae9c37a786cb5f22a8416f8844af7a90de7c44ddedc75a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "665bc6a29818d1e8ae9c37a786cb5f22a8416f8844af7a90de7c44ddedc75a06", kill_on_drop: false }` [INFO] [stdout] 665bc6a29818d1e8ae9c37a786cb5f22a8416f8844af7a90de7c44ddedc75a06