[INFO] fetching crate edgedb-query 0.2.2... [INFO] testing edgedb-query-0.2.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate edgedb-query 0.2.2 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate edgedb-query 0.2.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded snafu-derive v0.7.5 [INFO] [stderr] Downloaded edgedb-errors v0.3.0 [INFO] [stderr] Downloaded edgedb-derive v0.4.0 [INFO] [stderr] Downloaded doc-comment v0.3.4 [INFO] [stderr] Downloaded edgedb-protocol v0.4.0 [INFO] [stderr] Downloaded snafu v0.7.5 [INFO] [stderr] Downloaded edgedb v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73f40c6df49b47f96d18499815b8afed4ab2ea31b10b4bb2f3af1eef0d48ed40 [INFO] running `Command { std: "docker" "start" "-a" "73f40c6df49b47f96d18499815b8afed4ab2ea31b10b4bb2f3af1eef0d48ed40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73f40c6df49b47f96d18499815b8afed4ab2ea31b10b4bb2f3af1eef0d48ed40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73f40c6df49b47f96d18499815b8afed4ab2ea31b10b4bb2f3af1eef0d48ed40", kill_on_drop: false }` [INFO] [stdout] 73f40c6df49b47f96d18499815b8afed4ab2ea31b10b4bb2f3af1eef0d48ed40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44b02770fb694f221d6192da21d23585e73d826ef51d94d929cd1ac7cca4f1b9 [INFO] running `Command { std: "docker" "start" "-a" "44b02770fb694f221d6192da21d23585e73d826ef51d94d929cd1ac7cca4f1b9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling serde_spanned v1.0.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 chrono v0.4.42 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling trybuild v1.0.114 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling edgedb-derive v0.4.0 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling edgedb-protocol 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 6.57s [INFO] running `Command { std: "docker" "inspect" "44b02770fb694f221d6192da21d23585e73d826ef51d94d929cd1ac7cca4f1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44b02770fb694f221d6192da21d23585e73d826ef51d94d929cd1ac7cca4f1b9", kill_on_drop: false }` [INFO] [stdout] 44b02770fb694f221d6192da21d23585e73d826ef51d94d929cd1ac7cca4f1b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93c0640b900754011b4c2b13ad7406db20e737ee6cc1dcda7dbdafcc73c13bd0 [INFO] running `Command { std: "docker" "start" "-a" "93c0640b900754011b4c2b13ad7406db20e737ee6cc1dcda7dbdafcc73c13bd0", 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.33s [INFO] running `Command { std: "docker" "inspect" "93c0640b900754011b4c2b13ad7406db20e737ee6cc1dcda7dbdafcc73c13bd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93c0640b900754011b4c2b13ad7406db20e737ee6cc1dcda7dbdafcc73c13bd0", kill_on_drop: false }` [INFO] [stdout] 93c0640b900754011b4c2b13ad7406db20e737ee6cc1dcda7dbdafcc73c13bd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 25566c8e4fd8df7cf3c3abad55ebb1323cb75afb2cc8cc5110941c10a33955d1 [INFO] running `Command { std: "docker" "start" "-a" "25566c8e4fd8df7cf3c3abad55ebb1323cb75afb2cc8cc5110941c10a33955d1", 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] [stdout] [INFO] [stderr] | ^^^^ [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] [INFO] [stdout] [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] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/edgedb_query-d6147126874db7e2) [INFO] [stdout] running 11 tests [INFO] [stderr] Running test/tests.rs (/opt/rustwide/target/debug/deps/lib_tests-b3554cba26e1b341) [INFO] [stdout] test queries::conflict::conflict_test::parse_conflict_with_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 ... 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_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_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] test queries::select::select_tests::parse_with_module_specified_and_order_options_and_page_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/models/edge_query.rs - models::edge_query::EdgeQuery (line 20) ... ok [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] [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] ::: /opt/rustwide/workdir/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] --> /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] 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] ::: /opt/rustwide/workdir/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] --> /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.39s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "25566c8e4fd8df7cf3c3abad55ebb1323cb75afb2cc8cc5110941c10a33955d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25566c8e4fd8df7cf3c3abad55ebb1323cb75afb2cc8cc5110941c10a33955d1", kill_on_drop: false }` [INFO] [stdout] 25566c8e4fd8df7cf3c3abad55ebb1323cb75afb2cc8cc5110941c10a33955d1