[INFO] cloning repository https://github.com/VladimirKzn69/rust-web-development [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VladimirKzn69/rust-web-development" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladimirKzn69%2Frust-web-development", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladimirKzn69%2Frust-web-development'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 469d2f1ac3a1132c4856783339840f8f584f30da [INFO] checking VladimirKzn69/rust-web-development against try#724e78794d2cf06eef820a24c9a4608d63435e1d for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladimirKzn69%2Frust-web-development" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/VladimirKzn69/rust-web-development [INFO] finished tweaking git repo https://github.com/VladimirKzn69/rust-web-development [INFO] tweaked toml for git repo https://github.com/VladimirKzn69/rust-web-development written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VladimirKzn69/rust-web-development on toolchain 724e78794d2cf06eef820a24c9a4608d63435e1d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VladimirKzn69/rust-web-development 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" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbc6bca2c9af287ebd46cd8d2728c49917ff37de74af28117ba4a1285646fb00 [INFO] running `Command { std: "docker" "start" "-a" "dbc6bca2c9af287ebd46cd8d2728c49917ff37de74af28117ba4a1285646fb00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbc6bca2c9af287ebd46cd8d2728c49917ff37de74af28117ba4a1285646fb00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbc6bca2c9af287ebd46cd8d2728c49917ff37de74af28117ba4a1285646fb00", kill_on_drop: false }` [INFO] [stdout] dbc6bca2c9af287ebd46cd8d2728c49917ff37de74af28117ba4a1285646fb00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75cfa968c55e7b88ff95a9474b47a173051fc3708649b47e58a0e0e5beb229e9 [INFO] running `Command { std: "docker" "start" "-a" "75cfa968c55e7b88ff95a9474b47a173051fc3708649b47e58a0e0e5beb229e9", kill_on_drop: false }` [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling diesel_derives v2.2.3 [INFO] [stderr] Checking diesel v2.2.4 [INFO] [stderr] Checking shoe_store v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = variants)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = variants)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = variants)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = products_variants)]` instead [INFO] [stderr] [INFO] [stdout] error[E0659]: `diesel` is ambiguous [INFO] [stdout] --> src/models.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / define_sql_function!{ [INFO] [stdout] 29 | | fn last_insert_rowid() -> Integer; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and a macro-expanded name in the same module during import or macro resolution [INFO] [stdout] note: `diesel` could refer to the crate imported here [INFO] [stdout] --> src/models.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / define_sql_function!{ [INFO] [stdout] 29 | | fn last_insert_rowid() -> Integer; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: consider adding an explicit import of `diesel` to disambiguate [INFO] [stdout] note: `diesel` could also refer to the crate imported here [INFO] [stdout] --> src/models.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / define_sql_function!{ [INFO] [stdout] 29 | | fn last_insert_rowid() -> Integer; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: consider adding an explicit import of `diesel` to disambiguate [INFO] [stdout] = note: this error originates in the macro `define_sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `diesel` is ambiguous [INFO] [stdout] --> src/models.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / define_sql_function!{ [INFO] [stdout] 29 | | fn last_insert_rowid() -> Integer; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and a macro-expanded name in the same module during import or macro resolution [INFO] [stdout] note: `diesel` could refer to the crate imported here [INFO] [stdout] --> src/models.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / define_sql_function!{ [INFO] [stdout] 29 | | fn last_insert_rowid() -> Integer; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `diesel` could also refer to the crate imported here [INFO] [stdout] --> src/models.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / define_sql_function!{ [INFO] [stdout] 29 | | fn last_insert_rowid() -> Integer; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: consider adding an explicit import of `diesel` to disambiguate [INFO] [stdout] = note: this error originates in the macro `define_sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/models.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::Integer` [INFO] [stdout] --> src/models.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use diesel::sql_types::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/models.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements [INFO] [stdout] --> src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [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] = help: `#[macro_use]` can be applied to crates, extern crates, and modules [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = variants)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = variants)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = variants)]` instead [INFO] [stderr] [INFO] [stderr] warning: #[table_name] attribute form is deprecated [INFO] [stderr] = help: use `#[diesel(table_name = products_variants)]` instead [INFO] [stderr] [INFO] [stdout] warning: unused import: `diesel::Connection` [INFO] [stdout] --> src/models.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use diesel::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `diesel` is ambiguous [INFO] [stdout] --> src/models.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / define_sql_function!{ [INFO] [stdout] 29 | | fn last_insert_rowid() -> Integer; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and a macro-expanded name in the same module during import or macro resolution [INFO] [stdout] note: `diesel` could refer to the crate imported here [INFO] [stdout] --> src/models.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / define_sql_function!{ [INFO] [stdout] 29 | | fn last_insert_rowid() -> Integer; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: consider adding an explicit import of `diesel` to disambiguate [INFO] [stdout] note: `diesel` could also refer to the crate imported here [INFO] [stdout] --> src/models.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / define_sql_function!{ [INFO] [stdout] 29 | | fn last_insert_rowid() -> Integer; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: consider adding an explicit import of `diesel` to disambiguate [INFO] [stdout] = note: this error originates in the macro `define_sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `diesel` is ambiguous [INFO] [stdout] --> src/models.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / define_sql_function!{ [INFO] [stdout] 29 | | fn last_insert_rowid() -> Integer; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and a macro-expanded name in the same module during import or macro resolution [INFO] [stdout] note: `diesel` could refer to the crate imported here [INFO] [stdout] --> src/models.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / define_sql_function!{ [INFO] [stdout] 29 | | fn last_insert_rowid() -> Integer; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `diesel` could also refer to the crate imported here [INFO] [stdout] --> src/models.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / define_sql_function!{ [INFO] [stdout] 29 | | fn last_insert_rowid() -> Integer; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: consider adding an explicit import of `diesel` to disambiguate [INFO] [stdout] = note: this error originates in the macro `define_sql_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::sql_types::Integer` [INFO] [stdout] --> src/models.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use diesel::sql_types::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/models.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shoe_store` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements [INFO] [stdout] --> src/models.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [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] = help: `#[macro_use]` can be applied to crates, extern crates, and modules [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/models.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/models.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::Connection` [INFO] [stdout] --> src/models.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use diesel::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shoe_store` (lib) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "75cfa968c55e7b88ff95a9474b47a173051fc3708649b47e58a0e0e5beb229e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75cfa968c55e7b88ff95a9474b47a173051fc3708649b47e58a0e0e5beb229e9", kill_on_drop: false }` [INFO] [stdout] 75cfa968c55e7b88ff95a9474b47a173051fc3708649b47e58a0e0e5beb229e9