[INFO] fetching crate naphtha 0.4.0... [INFO] testing naphtha-0.4.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate naphtha 0.4.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate naphtha 0.4.0 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 crates.io crate naphtha 0.4.0 [INFO] finished tweaking crates.io crate naphtha 0.4.0 [INFO] tweaked toml for crates.io crate naphtha 0.4.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate naphtha 0.4.0 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stdout] 61e24107aa56dee45905b57d2efbb4975d079467cea8c450047b75a5a4e2d68c [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" "61e24107aa56dee45905b57d2efbb4975d079467cea8c450047b75a5a4e2d68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61e24107aa56dee45905b57d2efbb4975d079467cea8c450047b75a5a4e2d68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61e24107aa56dee45905b57d2efbb4975d079467cea8c450047b75a5a4e2d68c", kill_on_drop: false }` [INFO] [stdout] 61e24107aa56dee45905b57d2efbb4975d079467cea8c450047b75a5a4e2d68c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 020e0d107f591dfdb8670baccddb35ddb1a16500cef25cc5980e9a38958a619f [INFO] running `Command { std: "docker" "start" "-a" "020e0d107f591dfdb8670baccddb35ddb1a16500cef25cc5980e9a38958a619f", 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] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling 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.10 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling naphtha-proc-macro v0.4.0 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling naphtha v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.33s [INFO] running `Command { std: "docker" "inspect" "020e0d107f591dfdb8670baccddb35ddb1a16500cef25cc5980e9a38958a619f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "020e0d107f591dfdb8670baccddb35ddb1a16500cef25cc5980e9a38958a619f", kill_on_drop: false }` [INFO] [stdout] 020e0d107f591dfdb8670baccddb35ddb1a16500cef25cc5980e9a38958a619f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 22e22f87a5d70ee3cd2a95eaac9c7be2888e52ac820c6bff10f157ae788cf5cb [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" "22e22f87a5d70ee3cd2a95eaac9c7be2888e52ac820c6bff10f157ae788cf5cb", kill_on_drop: false }` [INFO] [stderr] Compiling naphtha v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `naphtha::barrel` [INFO] [stdout] --> examples/person.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | barrel::{ [INFO] [stdout] | ^^^^^^ could not find `barrel` in `naphtha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MysqlConnection` in crate `diesel` [INFO] [stdout] --> examples/person.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | type DbBackend = diesel::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `Connection` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/diesel-1.4.8/src/connection/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Connection: SimpleConnection + Sized + Send { [INFO] [stdout] | ----------------------------------------------------- similarly named trait `Connection` defined here [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:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | 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 function or associated item named `execute_migration_up` found for struct `Person` in the current scope [INFO] [stdout] --> examples/person.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Person { [INFO] [stdout] | ----------------- function or associated item `execute_migration_up` not found for this [INFO] [stdout] ... [INFO] [stdout] 176 | match Person::execute_migration_up(&db) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Person` [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:187:7 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Person { [INFO] [stdout] | ----------------- method `insert` not found for this [INFO] [stdout] ... [INFO] [stdout] 187 | p.insert(&db); [INFO] [stdout] | ^^^^^^ method not found in `Person` [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] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `filter` exists for struct `table`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/person.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 56 | / table! { [INFO] [stdout] 57 | | persons (id) { [INFO] [stdout] 58 | | id -> Int4, [INFO] [stdout] 59 | | description -> Nullable, [INFO] [stdout] 60 | | updated_at -> Timestamp, [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____method `filter` not found for this [INFO] [stdout] | doesn't satisfy `table: Iterator` [INFO] [stdout] ... [INFO] [stdout] 194 | persons.filter(id.eq(1)).first(c) [INFO] [stdout] | ^^^^^^ method cannot be called on `table` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `table: Iterator` [INFO] [stdout] which is required by `&mut table: Iterator` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 11 | use crate::diesel::QueryDsl; [INFO] [stdout] | [INFO] [stdout] 11 | use crate::diesel::query_dsl::filter_dsl::FilterDsl; [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::Iterator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `eq` exists for struct `columns::id`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/person.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 56 | / table! { [INFO] [stdout] 57 | | persons (id) { [INFO] [stdout] 58 | | id -> Int4, [INFO] [stdout] 59 | | description -> Nullable, [INFO] [stdout] 60 | | updated_at -> Timestamp, [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_____method `eq` not found for this [INFO] [stdout] | doesn't satisfy `columns::id: Iterator` [INFO] [stdout] ... [INFO] [stdout] 194 | persons.filter(id.eq(1)).first(c) [INFO] [stdout] | ^^ method cannot be called on `columns::id` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `columns::id: Iterator` [INFO] [stdout] which is required by `&mut columns::id: Iterator` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 11 | use crate::diesel::ExpressionMethods; [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:196:33 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Person { [INFO] [stdout] | ----------------- function or associated item `query_by_id` not found for this [INFO] [stdout] ... [INFO] [stdout] 196 | 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:200:7 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Person { [INFO] [stdout] | ----------------- method `remove` not found for this [INFO] [stdout] ... [INFO] [stdout] 200 | p.remove(&db); [INFO] [stdout] | ^^^^^^ method not found in `Person` [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] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `execute_migration_down` found for struct `Person` in the current scope [INFO] [stdout] --> examples/person.rs:203:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Person { [INFO] [stdout] | ----------------- function or associated item `execute_migration_down` not found for this [INFO] [stdout] ... [INFO] [stdout] 203 | match Person::execute_migration_down(&db) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Person` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseConnect` [INFO] [stdout] --> examples/person.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | DatabaseConnect, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseModelModifier` [INFO] [stdout] --> examples/person.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | DatabaseModelModifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `naphtha` due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "22e22f87a5d70ee3cd2a95eaac9c7be2888e52ac820c6bff10f157ae788cf5cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22e22f87a5d70ee3cd2a95eaac9c7be2888e52ac820c6bff10f157ae788cf5cb", kill_on_drop: false }` [INFO] [stdout] 22e22f87a5d70ee3cd2a95eaac9c7be2888e52ac820c6bff10f157ae788cf5cb