[INFO] fetching crate edgedb-query 0.2.2...
[INFO] testing edgedb-query-0.2.2 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate edgedb-query 0.2.2 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate edgedb-query 0.2.2 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0793d4da903e2459447240e9729bf14efb1c8501f0d2bb24a2829c258acf0458
[INFO] running `Command { std: "docker" "start" "-a" "0793d4da903e2459447240e9729bf14efb1c8501f0d2bb24a2829c258acf0458", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0793d4da903e2459447240e9729bf14efb1c8501f0d2bb24a2829c258acf0458", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0793d4da903e2459447240e9729bf14efb1c8501f0d2bb24a2829c258acf0458", kill_on_drop: false }`
[INFO] [stdout] 0793d4da903e2459447240e9729bf14efb1c8501f0d2bb24a2829c258acf0458
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] e88a8e16ab87e1f208d9ca7021e7d11c3b7b17581d10b8faa0c7a5f28b11bb1b
[INFO] running `Command { std: "docker" "start" "-a" "e88a8e16ab87e1f208d9ca7021e7d11c3b7b17581d10b8faa0c7a5f28b11bb1b", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-triple v1.0.0
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling toml_writer v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling edgedb v0.1.0
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]    Compiling serde_spanned v1.0.4
[INFO] [stderr]    Compiling edgedb-errors v0.3.0
[INFO] [stderr]    Compiling snafu-derive v0.7.5
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling snafu v0.7.5
[INFO] [stderr]    Compiling edgedb-protocol v0.4.0
[INFO] [stderr]    Compiling toml_parser v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling toml v0.9.11+spec-1.1.0
[INFO] [stderr]    Compiling trybuild v1.0.114
[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<Tz>` instead
[INFO] [stdout]    --> src/lib.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |     chrono::Date<chrono::Local> => { scalar: "<cal::local_date>"},
[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 9.75s
[INFO] running `Command { std: "docker" "inspect" "e88a8e16ab87e1f208d9ca7021e7d11c3b7b17581d10b8faa0c7a5f28b11bb1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e88a8e16ab87e1f208d9ca7021e7d11c3b7b17581d10b8faa0c7a5f28b11bb1b", kill_on_drop: false }`
[INFO] [stdout] e88a8e16ab87e1f208d9ca7021e7d11c3b7b17581d10b8faa0c7a5f28b11bb1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 63a2eb23830b530dd4423897304e5e3beec028afb26028f20662e9d070cffb8d
[INFO] running `Command { std: "docker" "start" "-a" "63a2eb23830b530dd4423897304e5e3beec028afb26028f20662e9d070cffb8d", kill_on_drop: false }`
[INFO] [stderr]    Compiling edgedb-query v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/lib.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |     chrono::Date<chrono::Local> => { scalar: "<cal::local_date>"},
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/lib.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |     chrono::Date<chrono::Local> => { scalar: "<cal::local_date>"},
[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.45s
[INFO] running `Command { std: "docker" "inspect" "63a2eb23830b530dd4423897304e5e3beec028afb26028f20662e9d070cffb8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63a2eb23830b530dd4423897304e5e3beec028afb26028f20662e9d070cffb8d", kill_on_drop: false }`
[INFO] [stdout] 63a2eb23830b530dd4423897304e5e3beec028afb26028f20662e9d070cffb8d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 703c16af308bebd22ee03f8ab5045d5d68ac114e170174e48c40864cf9bf108b
[INFO] running `Command { std: "docker" "start" "-a" "703c16af308bebd22ee03f8ab5045d5d68ac114e170174e48c40864cf9bf108b", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stderr]    --> src/lib.rs:174:13
[INFO] [stderr]     |
[INFO] [stderr] 174 |     chrono::Date<chrono::Local> => { scalar: "<cal::local_date>"},
[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.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/edgedb-query/fa5a80c7e9df411b/deps/edgedb_query-fa5a80c7e9df411b)
[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/build/edgedb-query/d4b83f5fb311ebf5/deps/lib_tests-d4b83f5fb311ebf5)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[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_else_fn ... ok
[INFO] [stdout] test queries::conflict::conflict_test::parse_conflict_with_on ... ok
[INFO] [stdout] test queries::conflict::conflict_test::parse_conflict_with_one_on_and_else_fn ... 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_no_on_no_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_options ... ok
[INFO] [stderr]    Doc-tests edgedb_query
[INFO] [stdout] test queries::select::select_tests::parse_with_no_module_specified_and_order_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] [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] 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<FindUser>: 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<FindUser>`
[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<T: ToEdgeQuery> {
[INFO] [stdout]    |                                  ^^^^^^^^^^^ required by this bound in `UnlessConflictElse`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Option<FindUser>: 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<FindUser>`
[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<Option<FindUser>>` to implement `Conflict<Option<FindUser>>`
[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<T: ToEdgeQuery + Clone, R: Conflict<T>>(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.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "703c16af308bebd22ee03f8ab5045d5d68ac114e170174e48c40864cf9bf108b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "703c16af308bebd22ee03f8ab5045d5d68ac114e170174e48c40864cf9bf108b", kill_on_drop: false }`
[INFO] [stdout] 703c16af308bebd22ee03f8ab5045d5d68ac114e170174e48c40864cf9bf108b
