[INFO] fetching crate edgedb-query 0.2.2... [INFO] testing edgedb-query-0.2.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate edgedb-query 0.2.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate edgedb-query 0.2.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate edgedb-query 0.2.2 [INFO] tweaked toml for crates.io crate edgedb-query 0.2.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate edgedb-query 0.2.2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding edgedb-derive v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding edgedb-protocol v0.4.0 (available: v0.7.0) [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] Downloading crates ... [INFO] [stderr] Downloaded edgedb v0.1.0 [INFO] [stderr] Downloaded edgedb-errors v0.3.0 [INFO] [stderr] Downloaded edgedb-protocol v0.4.0 [INFO] [stderr] Downloaded edgedb-derive v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3025dbec61b890086f4ef9f9b7fa319194ae17bedc22a7d2ea36c015ff739f25 [INFO] running `Command { std: "docker" "start" "-a" "3025dbec61b890086f4ef9f9b7fa319194ae17bedc22a7d2ea36c015ff739f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3025dbec61b890086f4ef9f9b7fa319194ae17bedc22a7d2ea36c015ff739f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3025dbec61b890086f4ef9f9b7fa319194ae17bedc22a7d2ea36c015ff739f25", kill_on_drop: false }` [INFO] [stdout] 3025dbec61b890086f4ef9f9b7fa319194ae17bedc22a7d2ea36c015ff739f25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 716c88756ea873b9fa21c979c40ca400a086206a6e6f28b2798c22d78ff66b27 [INFO] running `Command { std: "docker" "start" "-a" "716c88756ea873b9fa21c979c40ca400a086206a6e6f28b2798c22d78ff66b27", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling edgedb-errors v0.3.0 [INFO] [stderr] Compiling edgedb v0.1.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling edgedb-protocol v0.4.0 [INFO] [stderr] Compiling trybuild v1.0.111 [INFO] [stderr] Compiling edgedb-derive v0.4.0 [INFO] [stderr] Compiling edgedb-query v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | chrono::Date => { scalar: ""}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.08s [INFO] running `Command { std: "docker" "inspect" "716c88756ea873b9fa21c979c40ca400a086206a6e6f28b2798c22d78ff66b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "716c88756ea873b9fa21c979c40ca400a086206a6e6f28b2798c22d78ff66b27", kill_on_drop: false }` [INFO] [stdout] 716c88756ea873b9fa21c979c40ca400a086206a6e6f28b2798c22d78ff66b27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b91e3550a0cff8272410932d7a2f8a1dce1fbbc49bdb41a05ea5ca522beb3a24 [INFO] running `Command { std: "docker" "start" "-a" "b91e3550a0cff8272410932d7a2f8a1dce1fbbc49bdb41a05ea5ca522beb3a24", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | chrono::Date => { scalar: ""}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling edgedb-query v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | chrono::Date => { scalar: ""}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "b91e3550a0cff8272410932d7a2f8a1dce1fbbc49bdb41a05ea5ca522beb3a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b91e3550a0cff8272410932d7a2f8a1dce1fbbc49bdb41a05ea5ca522beb3a24", kill_on_drop: false }` [INFO] [stdout] b91e3550a0cff8272410932d7a2f8a1dce1fbbc49bdb41a05ea5ca522beb3a24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2816b5ee3acc62b8efc914ad8e088354ec2fbab2e945df1060b05171e8e1385 [INFO] running `Command { std: "docker" "start" "-a" "f2816b5ee3acc62b8efc914ad8e088354ec2fbab2e945df1060b05171e8e1385", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/lib.rs:174:13 [INFO] [stderr] | [INFO] [stderr] 174 | chrono::Date => { scalar: ""}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `edgedb-query` (lib) generated 1 warning [INFO] [stderr] warning: `edgedb-query` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/edgedb_query-e1ea5e6ba0672cd9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running test/tests.rs (/opt/rustwide/target/debug/deps/lib_tests-94ebd51caf50ab9c) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test queries::conflict::conflict_test::parse_conflict_with_else_fn ... ok [INFO] [stdout] test queries::conflict::conflict_test::parse_conflict_with_no_on_no_else_fn ... ok [INFO] [stdout] test queries::conflict::conflict_test::parse_conflict_with_one_on_and_else_fn ... ok [INFO] [stdout] test queries::conflict::conflict_test::parse_conflict_with_on ... ok [INFO] [stdout] test queries::select::select_tests::parse_with_module_specified_and_order_options ... ok [INFO] [stdout] test queries::conflict::conflict_test::parse_conflict_with_on_and_else_fn ... ok [INFO] [stdout] test queries::select::select_tests::parse_with_module_specified_and_order_options_and_limit_options ... ok [INFO] [stdout] test queries::select::select_tests::parse_with_module_specified_and_order_options_and_page_options ... ok [INFO] [stdout] test queries::select::select_tests::parse_with_no_module_specified_and_order_by_options ... ok [INFO] [stdout] test queries::select::select_tests::parse_with_no_module_specified_and_order_options ... ok [INFO] [stdout] test queries::select::select_tests::parse_with_no_options ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests edgedb_query [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/queries/conflict.rs - queries::conflict::parse_conflict (line 62) ... FAILED [INFO] [stdout] test src/models/edge_query.rs - models::edge_query::EdgeQuery (line 20) ... ok [INFO] [stdout] test src/queries/select.rs - queries::select::parse_options (line 27) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/queries/conflict.rs - queries::conflict::parse_conflict (line 62) stdout ---- [INFO] [stdout] error[E0053]: method `to_edgeql` has an incompatible type for trait [INFO] [stdout] --> src/queries/conflict.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn to_edgeql(&self) -> String { [INFO] [stdout] | ^^^^^^ expected `EdgeQl`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&FindUser) -> EdgeQl` [INFO] [stdout] found signature `fn(&FindUser) -> String` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 12 - fn to_edgeql(&self) -> String { [INFO] [stdout] 12 + fn to_edgeql(&self) -> EdgeQl { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option: ToEdgeQuery` is not satisfied [INFO] [stdout] --> src/queries/conflict.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 27 | else_query: Some(FindUser{}), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `ToEdgeQuery` is not implemented for `Option` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ToEdgeQuery`: [INFO] [stdout] EmptyQuery [INFO] [stdout] FindUser [INFO] [stdout] note: required by a bound in `UnlessConflictElse` [INFO] [stdout] --> /opt/rustwide/workdir/src/queries/conflict.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct UnlessConflictElse { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `UnlessConflictElse` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option: ToEdgeQuery` is not satisfied [INFO] [stdout] --> src/queries/conflict.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 30 | let stmt = parse_conflict(&insert_conflict, vec!["name", "age"]); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^ the trait `ToEdgeQuery` is not implemented for `Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ToEdgeQuery`: [INFO] [stdout] EmptyQuery [INFO] [stdout] FindUser [INFO] [stdout] = note: required for `UnlessConflictElse>` to implement `Conflict>` [INFO] [stdout] note: required by a bound in `parse_conflict` [INFO] [stdout] --> /opt/rustwide/workdir/src/queries/conflict.rs:94:50 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn parse_conflict>(conflict: &R, on_fields: Vec<&str>) -> String { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `parse_conflict` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277. [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/queries/conflict.rs - queries::conflict::parse_conflict (line 62) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f2816b5ee3acc62b8efc914ad8e088354ec2fbab2e945df1060b05171e8e1385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2816b5ee3acc62b8efc914ad8e088354ec2fbab2e945df1060b05171e8e1385", kill_on_drop: false }` [INFO] [stdout] f2816b5ee3acc62b8efc914ad8e088354ec2fbab2e945df1060b05171e8e1385