[INFO] fetching crate naphtha 0.5.0... [INFO] checking naphtha-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate naphtha 0.5.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate naphtha 0.5.0 [INFO] finished tweaking crates.io crate naphtha 0.5.0 [INFO] tweaked toml for crates.io crate naphtha 0.5.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate naphtha 0.5.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate naphtha 0.5.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mysqlclient-sys v0.2.5 [INFO] [stderr] Downloaded pq-sys v0.4.6 [INFO] [stderr] Downloaded libc v0.2.119 [INFO] [stderr] Downloaded barrel v0.7.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.22.2 [INFO] [stderr] Downloaded naphtha-proc-macro v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcc3585dc0328ecba53d4f6218bb0559bafc6f6ff88eb0d2ed036d1372910475 [INFO] running `Command { std: "docker" "start" "-a" "bcc3585dc0328ecba53d4f6218bb0559bafc6f6ff88eb0d2ed036d1372910475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcc3585dc0328ecba53d4f6218bb0559bafc6f6ff88eb0d2ed036d1372910475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc3585dc0328ecba53d4f6218bb0559bafc6f6ff88eb0d2ed036d1372910475", kill_on_drop: false }` [INFO] [stdout] bcc3585dc0328ecba53d4f6218bb0559bafc6f6ff88eb0d2ed036d1372910475 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 985b00f2e95f33a11bc3b9e3c72655e465b0d239ab7ab0561e31db5ee48019b8 [INFO] running `Command { std: "docker" "start" "-a" "985b00f2e95f33a11bc3b9e3c72655e465b0d239ab7ab0561e31db5ee48019b8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling naphtha-proc-macro v0.5.0 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking naphtha v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `DbBackend` in this scope [INFO] [stdout] --> examples/person.rs:217:66 [INFO] [stdout] | [INFO] [stdout] 217 | db.custom::, _>(|c: &DbBackend| { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> examples/person.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ------------------ the item is gated behind the `sqlite` feature [INFO] [stdout] 51 | type DbBackend = diesel::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> examples/person.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(feature = "mysql")] [INFO] [stdout] | ----------------- the item is gated behind the `mysql` feature [INFO] [stdout] 53 | type DbBackend = diesel::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> examples/person.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 54 | #[cfg(feature = "pg")] [INFO] [stdout] | -------------- the item is gated behind the `pg` feature [INFO] [stdout] 55 | type DbBackend = diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `connect` found for struct `DatabaseConnection` in the current scope [INFO] [stdout] --> examples/person.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | let db = DatabaseConnection::connect(DATABASE_URL).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `DatabaseConnection<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `Person` in the current scope [INFO] [stdout] --> examples/person.rs:212:7 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Person { [INFO] [stdout] | ----------------- method `insert` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 212 | p.insert(&db); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `insert`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `DatabaseModelModifier` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 212 | p.description.insert(&db); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] help: there is a method `pre_insert` with a similar name [INFO] [stdout] | [INFO] [stdout] 212 | p.pre_insert(&db); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `query_by_id` found for struct `Person` in the current scope [INFO] [stdout] --> examples/person.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Person { [INFO] [stdout] | ----------------- function or associated item `query_by_id` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 221 | let queried_by_id = Person::query_by_id(&db, &1); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Person` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove` found for struct `Person` in the current scope [INFO] [stdout] --> examples/person.rs:225:7 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Person { [INFO] [stdout] | ----------------- method `remove` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 225 | p.remove(&db); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `remove`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `DatabaseModelModifier` [INFO] [stdout] help: there is a method `pre_remove` with a similar name [INFO] [stdout] | [INFO] [stdout] 225 | p.pre_remove(&db); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `naphtha` (example "person") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "985b00f2e95f33a11bc3b9e3c72655e465b0d239ab7ab0561e31db5ee48019b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "985b00f2e95f33a11bc3b9e3c72655e465b0d239ab7ab0561e31db5ee48019b8", kill_on_drop: false }` [INFO] [stdout] 985b00f2e95f33a11bc3b9e3c72655e465b0d239ab7ab0561e31db5ee48019b8