[INFO] cloning repository https://github.com/hanpama/girin
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hanpama/girin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanpama%2Fgirin", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanpama%2Fgirin'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0f55bcb5558af6c991431958b9a24269b17a26b5
[INFO] testing hanpama/girin against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanpama%2Fgirin" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hanpama/girin
[INFO] finished tweaking git repo https://github.com/hanpama/girin
[INFO] tweaked toml for git repo https://github.com/hanpama/girin written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hanpama/girin on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hanpama/girin already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v1.4.3
[INFO] [stderr]   Downloaded quote v1.0.26
[INFO] [stderr]   Downloaded thiserror-impl v1.0.40
[INFO] [stderr]   Downloaded thiserror v1.0.40
[INFO] [stderr]   Downloaded either v1.8.1
[INFO] [stderr]   Downloaded unicode-ident v1.0.8
[INFO] [stderr]   Downloaded proc-macro2 v1.0.56
[INFO] [stderr]   Downloaded graphql-parser v0.4.0
[INFO] [stderr]   Downloaded memchr v2.5.0
[INFO] [stderr]   Downloaded syn v2.0.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 42a8642613ef2d799b22b62c28db4a03ea2f4e4121a57d9c6e661fea5a51f410
[INFO] running `Command { std: "docker" "start" "-a" "42a8642613ef2d799b22b62c28db4a03ea2f4e4121a57d9c6e661fea5a51f410", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "42a8642613ef2d799b22b62c28db4a03ea2f4e4121a57d9c6e661fea5a51f410", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42a8642613ef2d799b22b62c28db4a03ea2f4e4121a57d9c6e661fea5a51f410", kill_on_drop: false }`
[INFO] [stdout] 42a8642613ef2d799b22b62c28db4a03ea2f4e4121a57d9c6e661fea5a51f410
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38697d25feed4a6fb642e9c1060834bd1974b48a54c32344c1e86868fd7868b3
[INFO] running `Command { std: "docker" "start" "-a" "38697d25feed4a6fb642e9c1060834bd1974b48a54c32344c1e86868fd7868b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling ascii v0.9.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling combine v3.8.1
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling graphql-parser v0.4.0
[INFO] [stderr]    Compiling grava v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: a value of type `Vec<model::FieldDefinition>` cannot be built from an iterator over elements of type `Result<model::FieldDefinition, SchemaParsingError>`
[INFO] [stdout]    --> src/build.rs:131:14
[INFO] [stdout]     |
[INFO] [stdout] 131 |             .collect(),
[INFO] [stdout]     |              ^^^^^^^ value of type `Vec<model::FieldDefinition>` cannot be built from `std::iter::Iterator<Item=Result<model::FieldDefinition, SchemaParsingError>>`
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `FromIterator<Result<model::FieldDefinition, SchemaParsingError>>` is not implemented for `Vec<model::FieldDefinition>`
[INFO] [stdout]       but trait `FromIterator<model::FieldDefinition>` is implemented for it
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/alloc/src/vec/mod.rs:3862:0
[INFO] [stdout]     = help: for that trait implementation, expected `model::FieldDefinition`, found `Result<model::FieldDefinition, SchemaParsingError>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/build.rs:130:14
[INFO] [stdout]     |
[INFO] [stdout] 127 |           fields: def
[INFO] [stdout]     |  _________________-
[INFO] [stdout] 128 | |             .fields
[INFO] [stdout]     | |___________________- this expression has type `Vec<Field<'_, String>>`
[INFO] [stdout] 129 |               .into_iter()
[INFO] [stdout]     |                ----------- `Iterator::Item` is `Field<'_, String>` here
[INFO] [stdout] 130 |               .map(|def| build_field_definition(smod, def))
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `Result<FieldDefinition, SchemaParsingError>` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/iter/traits/iterator.rs:2051:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/build.rs:165:18
[INFO] [stdout]     |
[INFO] [stdout] 164 |         field_type: todo!(),
[INFO] [stdout]     |                     ------- any code following this expression is unreachable
[INFO] [stdout] 165 |         resolve: todo!(),
[INFO] [stdout]     |                  ^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]   --> src/build.rs:62:43
[INFO] [stdout]    |
[INFO] [stdout] 62 |         schema::Definition::TypeExtension(def) => {
[INFO] [stdout]    |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]   --> src/build.rs:65:49
[INFO] [stdout]    |
[INFO] [stdout] 65 |         schema::Definition::DirectiveDefinition(def) => {
[INFO] [stdout]    |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/build.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         _ => {
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/build.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         schema::TypeDefinition::Scalar(def) => {
[INFO] [stdout]    |         ----------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 76 |         schema::TypeDefinition::Object(def) => {
[INFO] [stdout]    |         ----------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 79 |         schema::TypeDefinition::Interface(def) => {
[INFO] [stdout]    |         -------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 82 |         schema::TypeDefinition::Union(def) => {
[INFO] [stdout]    |         ---------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 91 |         _ => {
[INFO] [stdout]    |         ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smod`
[INFO] [stdout]   --> src/build.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 |     smod: &Submodule,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_smod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/build.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let mut resolve: Option<ResolverDefinition> = None;
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resolve`
[INFO] [stdout]    --> src/build.rs:141:9
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let mut resolve: Option<ResolverDefinition> = None;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resolve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smod`
[INFO] [stdout]    --> src/build.rs:171:27
[INFO] [stdout]     |
[INFO] [stdout] 171 | fn build_field_directives(smod: &Submodule, def: schema::Directive<String>) {}
[INFO] [stdout]     |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_smod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]    --> src/build.rs:171:45
[INFO] [stdout]     |
[INFO] [stdout] 171 | fn build_field_directives(smod: &Submodule, def: schema::Directive<String>) {}
[INFO] [stdout]     |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smod`
[INFO] [stdout]    --> src/build.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 174 |     smod: &Submodule,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_smod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]    --> src/build.rs:175:5
[INFO] [stdout]     |
[INFO] [stdout] 175 |     def: schema::InterfaceType<String>,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smod`
[INFO] [stdout]    --> src/build.rs:181:5
[INFO] [stdout]     |
[INFO] [stdout] 181 |     smod: &Submodule,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_smod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]    --> src/build.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |     def: schema::UnionType<String>,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smod`
[INFO] [stdout]    --> src/build.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |     smod: &Submodule,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_smod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]    --> src/build.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     def: schema::EnumType<String>,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smod`
[INFO] [stdout]    --> src/build.rs:195:5
[INFO] [stdout]     |
[INFO] [stdout] 195 |     smod: &Submodule,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_smod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]    --> src/build.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 196 |     def: schema::InputObjectType<String>,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smod`
[INFO] [stdout]    --> src/build.rs:202:5
[INFO] [stdout]     |
[INFO] [stdout] 202 |     smod: &Submodule,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_smod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]    --> src/build.rs:203:5
[INFO] [stdout]     |
[INFO] [stdout] 203 |     def: schema::InputValue<String>,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `res.definitions`
[INFO] [stdout]   --> src/main.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     for v in res.definitions {
[INFO] [stdout]    |              --------------- `res.definitions` moved due to this implicit call to `.into_iter()`
[INFO] [stdout] ...
[INFO] [stdout] 28 |     let item = res.definitions.get(0).unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `res.definitions`
[INFO] [stdout]   --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/iter/traits/collect.rs:312:17
[INFO] [stdout]    = note: move occurs because `res.definitions` has type `Vec<graphql_parser::schema::Definition<'_, &str>>`, which does not implement the `Copy` trait
[INFO] [stdout]    = note: borrow occurs due to deref coercion to `[graphql_parser::schema::Definition<'_, &str>]`
[INFO] [stdout] help: consider iterating over a slice of the `Vec<graphql_parser::schema::Definition<'_, &str>>`'s content to avoid moving into the `for` loop
[INFO] [stdout]    |
[INFO] [stdout] 19 |     for v in &res.definitions {
[INFO] [stdout]    |              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `def`
[INFO] [stdout]   --> src/main.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 |             Definition::SchemaDefinition(def) => {
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_def`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `item`
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let item = res.definitions.get(0).unwrap();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `grava` (bin "grava") due to 2 previous errors; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "38697d25feed4a6fb642e9c1060834bd1974b48a54c32344c1e86868fd7868b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38697d25feed4a6fb642e9c1060834bd1974b48a54c32344c1e86868fd7868b3", kill_on_drop: false }`
[INFO] [stdout] 38697d25feed4a6fb642e9c1060834bd1974b48a54c32344c1e86868fd7868b3
