[INFO] cloning repository https://github.com/smallswan/diesel-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smallswan/diesel-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallswan%2Fdiesel-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallswan%2Fdiesel-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2d0fffe8e9f52bc6750647ef2f9663b39a963c8 [INFO] checking smallswan/diesel-demo against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallswan%2Fdiesel-demo" "/workspace/builds/worker-71/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-71/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smallswan/diesel-demo on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/smallswan/diesel-demo [INFO] finished tweaking git repo https://github.com/smallswan/diesel-demo [INFO] tweaked toml for git repo https://github.com/smallswan/diesel-demo written to /workspace/builds/worker-71/source/Cargo.toml [INFO] crate git repo https://github.com/smallswan/diesel-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ae80ae5900644f2a1230bca4a87749fbc6e7b26856a4a470e39d5a506b370e5 [INFO] running `Command { std: "docker" "start" "-a" "2ae80ae5900644f2a1230bca4a87749fbc6e7b26856a4a470e39d5a506b370e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ae80ae5900644f2a1230bca4a87749fbc6e7b26856a4a470e39d5a506b370e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ae80ae5900644f2a1230bca4a87749fbc6e7b26856a4a470e39d5a506b370e5", kill_on_drop: false }` [INFO] [stdout] 2ae80ae5900644f2a1230bca4a87749fbc6e7b26856a4a470e39d5a506b370e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e20beca8b39072d7dbdf46d325cb4b397070f71bc07b5407d196a3745403980b [INFO] running `Command { std: "docker" "start" "-a" "e20beca8b39072d7dbdf46d325cb4b397070f71bc07b5407d196a3745403980b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking diesel_demo v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stderr] Migrating src/bin/update_users.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/write_post.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/delete_post.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/show_users.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/show_posts.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/publish_post.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bin/add_user.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.72s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking diesel_demo v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:170:35 [INFO] [stdout] | [INFO] [stdout] 170 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:215:35 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 241 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:271:35 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(sql, debug_query::(&query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | debug_query::(&insert_query).to_string() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:334:23 [INFO] [stdout] | [INFO] [stdout] 334 | debug_query::(&insert_query).to_string() [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:343:26 [INFO] [stdout] | [INFO] [stdout] 343 | assert_eq!(load_sql, debug_query::(&load_query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:343:40 [INFO] [stdout] | [INFO] [stdout] 343 | assert_eq!(load_sql, debug_query::(&load_query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | debug_query::(&insert_query).to_string() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:386:23 [INFO] [stdout] | [INFO] [stdout] 386 | debug_query::(&insert_query).to_string() [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:395:26 [INFO] [stdout] | [INFO] [stdout] 395 | assert_eq!(load_sql, debug_query::(&load_query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:395:40 [INFO] [stdout] | [INFO] [stdout] 395 | assert_eq!(load_sql, debug_query::(&load_query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | debug_query::(&insert_query).to_string() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:417:23 [INFO] [stdout] | [INFO] [stdout] 417 | debug_query::(&insert_query).to_string() [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `debug_query` in this scope [INFO] [stdout] --> src/lib.rs:421:26 [INFO] [stdout] | [INFO] [stdout] 421 | assert_eq!(load_sql, debug_query::(&load_query).to_string()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::posts::debug_query; [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::debug_query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mysql` in this scope [INFO] [stdout] --> src/lib.rs:421:40 [INFO] [stdout] | [INFO] [stdout] 421 | assert_eq!(load_sql, debug_query::(&load_query).to_string()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::mysql::Mysql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_demo` due to 33 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e20beca8b39072d7dbdf46d325cb4b397070f71bc07b5407d196a3745403980b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e20beca8b39072d7dbdf46d325cb4b397070f71bc07b5407d196a3745403980b", kill_on_drop: false }` [INFO] [stdout] e20beca8b39072d7dbdf46d325cb4b397070f71bc07b5407d196a3745403980b