[INFO] fetching crate edgedb-query 0.2.2... [INFO] testing edgedb-query-0.2.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate edgedb-query 0.2.2 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate edgedb-query 0.2.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 88 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1482f2b01df3db1ad94d611edbda744b7bd139d731a2a629c7831ed42515ac4d [INFO] running `Command { std: "docker" "start" "-a" "1482f2b01df3db1ad94d611edbda744b7bd139d731a2a629c7831ed42515ac4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1482f2b01df3db1ad94d611edbda744b7bd139d731a2a629c7831ed42515ac4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1482f2b01df3db1ad94d611edbda744b7bd139d731a2a629c7831ed42515ac4d", kill_on_drop: false }` [INFO] [stdout] 1482f2b01df3db1ad94d611edbda744b7bd139d731a2a629c7831ed42515ac4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca776f58485072f79bf62b82eee611c7ab3f9d4f5a694bce1d5ed50113f17d5c [INFO] running `Command { std: "docker" "start" "-a" "ca776f58485072f79bf62b82eee611c7ab3f9d4f5a694bce1d5ed50113f17d5c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling serde_spanned v1.1.1 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling toml_writer v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling edgedb-errors v0.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling edgedb v0.1.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling toml v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling edgedb-protocol v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling trybuild v1.0.116 [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 17.33s [INFO] running `Command { std: "docker" "inspect" "ca776f58485072f79bf62b82eee611c7ab3f9d4f5a694bce1d5ed50113f17d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca776f58485072f79bf62b82eee611c7ab3f9d4f5a694bce1d5ed50113f17d5c", kill_on_drop: false }` [INFO] [stdout] ca776f58485072f79bf62b82eee611c7ab3f9d4f5a694bce1d5ed50113f17d5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2390b2999692fe98b6b6c01bad872b98dd52a80e0ff589a08fe6a694c1c8b9c1 [INFO] running `Command { std: "docker" "start" "-a" "2390b2999692fe98b6b6c01bad872b98dd52a80e0ff589a08fe6a694c1c8b9c1", 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.67s [INFO] running `Command { std: "docker" "inspect" "2390b2999692fe98b6b6c01bad872b98dd52a80e0ff589a08fe6a694c1c8b9c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2390b2999692fe98b6b6c01bad872b98dd52a80e0ff589a08fe6a694c1c8b9c1", kill_on_drop: false }` [INFO] [stdout] 2390b2999692fe98b6b6c01bad872b98dd52a80e0ff589a08fe6a694c1c8b9c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 885c8550856a79b2ab829f57166fb091c6aa3d8ae3a29fac4d4484522e3e82e1 [INFO] running `Command { std: "docker" "start" "-a" "885c8550856a79b2ab829f57166fb091c6aa3d8ae3a29fac4d4484522e3e82e1", 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.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/edgedb_query-1b5c6c3e86ea8f31) [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-0124da350ca21e83) [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_one_on_and_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_on ... 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 ... 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_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.01s [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/queries/select.rs - queries::select::parse_options (line 27) ... ok [INFO] [stdout] test src/models/edge_query.rs - models::edge_query::EdgeQuery (line 20) ... 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] 72 | 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] 72 - fn to_edgeql(&self) -> String { [INFO] [stdout] 72 + 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] 87 | 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] --> src/queries/conflict.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | impl ToEdgeQuery for FindUser {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FindUser` [INFO] [stdout] | [INFO] [stdout] ::: src/queries/conflict.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | impl ToEdgeQuery for EmptyQuery{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `EmptyQuery` [INFO] [stdout] note: required by a bound in `UnlessConflictElse` [INFO] [stdout] --> 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] 90 | 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] --> src/queries/conflict.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | impl ToEdgeQuery for FindUser {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FindUser` [INFO] [stdout] | [INFO] [stdout] ::: src/queries/conflict.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | impl ToEdgeQuery for EmptyQuery{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `EmptyQuery` [INFO] [stdout] = note: required for `UnlessConflictElse>` to implement `Conflict>` [INFO] [stdout] note: required by a bound in `parse_conflict` [INFO] [stdout] --> 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.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "885c8550856a79b2ab829f57166fb091c6aa3d8ae3a29fac4d4484522e3e82e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "885c8550856a79b2ab829f57166fb091c6aa3d8ae3a29fac4d4484522e3e82e1", kill_on_drop: false }` [INFO] [stdout] 885c8550856a79b2ab829f57166fb091c6aa3d8ae3a29fac4d4484522e3e82e1