[INFO] cloning repository https://github.com/marc47marc47/sql-fake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marc47marc47/sql-fake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarc47marc47%2Fsql-fake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarc47marc47%2Fsql-fake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a443c13cd9d7bdb45312d8ff7971030146ff961 [INFO] checking marc47marc47/sql-fake against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarc47marc47%2Fsql-fake" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marc47marc47/sql-fake [INFO] finished tweaking git repo https://github.com/marc47marc47/sql-fake [INFO] tweaked toml for git repo https://github.com/marc47marc47/sql-fake written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marc47marc47/sql-fake on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marc47marc47/sql-fake already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5fb6614d6f02c1e24018487a6df2901662575dcd8dab1275bb1a30232e38de0 [INFO] running `Command { std: "docker" "start" "-a" "f5fb6614d6f02c1e24018487a6df2901662575dcd8dab1275bb1a30232e38de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5fb6614d6f02c1e24018487a6df2901662575dcd8dab1275bb1a30232e38de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5fb6614d6f02c1e24018487a6df2901662575dcd8dab1275bb1a30232e38de0", kill_on_drop: false }` [INFO] [stdout] f5fb6614d6f02c1e24018487a6df2901662575dcd8dab1275bb1a30232e38de0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aab6ad711bc8ad2ca429a0a51e32f3ad97cb0e5a81efe350c7402f9f982c5d65 [INFO] running `Command { std: "docker" "start" "-a" "aab6ad711bc8ad2ca429a0a51e32f3ad97cb0e5a81efe350c7402f9f982c5d65", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fake-sql v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/models.rs:206:49 [INFO] [stdout] | [INFO] [stdout] 206 | let start_date = NaiveDate::from_ymd(2021, 1, 1) + Duration::days(rng.gen_range(0..3)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/models.rs:206:49 [INFO] [stdout] | [INFO] [stdout] 206 | let start_date = NaiveDate::from_ymd(2021, 1, 1) + Duration::days(rng.gen_range(0..3)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/models.rs:207:51 [INFO] [stdout] | [INFO] [stdout] 207 | let end_date = chrono::Local::today().naive_local(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/models.rs:207:51 [INFO] [stdout] | [INFO] [stdout] 207 | let end_date = chrono::Local::today().naive_local(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/models.rs:315:56 [INFO] [stdout] | [INFO] [stdout] 315 | ... let today = chrono::Local::today().naive_local(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/models.rs:315:56 [INFO] [stdout] | [INFO] [stdout] 315 | ... let today = chrono::Local::today().naive_local(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/models.rs:348:56 [INFO] [stdout] | [INFO] [stdout] 348 | ... let today = chrono::Local::today().naive_local(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead [INFO] [stdout] --> src/models.rs:348:56 [INFO] [stdout] | [INFO] [stdout] 348 | ... let today = chrono::Local::today().naive_local(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/models.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ref_table` and `ref_column` are never read [INFO] [stdout] --> src/models.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Column { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub ref_table: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | pub ref_column: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init` and `set_comment` are never used [INFO] [stdout] --> src/models.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Table { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn init(name: String, columns: Vec) -> Table { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn set_comment(&mut self, comment: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comment` is never read [INFO] [stdout] --> src/models.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ref_table` and `ref_column` are never read [INFO] [stdout] --> src/models.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Column { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub ref_table: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | pub ref_column: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_comment` is never used [INFO] [stdout] --> src/models.rs:375:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Table { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn set_comment(&mut self, comment: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.08s [INFO] running `Command { std: "docker" "inspect" "aab6ad711bc8ad2ca429a0a51e32f3ad97cb0e5a81efe350c7402f9f982c5d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aab6ad711bc8ad2ca429a0a51e32f3ad97cb0e5a81efe350c7402f9f982c5d65", kill_on_drop: false }` [INFO] [stdout] aab6ad711bc8ad2ca429a0a51e32f3ad97cb0e5a81efe350c7402f9f982c5d65