[INFO] cloning repository https://github.com/tvallotton/sqlc-python-asyncpg
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tvallotton/sqlc-python-asyncpg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftvallotton%2Fsqlc-python-asyncpg", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftvallotton%2Fsqlc-python-asyncpg'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0d23bae6cc6c0c405206925351e94f00971c8660
[INFO] checking tvallotton/sqlc-python-asyncpg against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftvallotton%2Fsqlc-python-asyncpg" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tvallotton/sqlc-python-asyncpg
[INFO] finished tweaking git repo https://github.com/tvallotton/sqlc-python-asyncpg
[INFO] tweaked toml for git repo https://github.com/tvallotton/sqlc-python-asyncpg written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tvallotton/sqlc-python-asyncpg on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tvallotton/sqlc-python-asyncpg 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused build dependency `prost-build`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | prost-build = "0.9.0"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `prost-build`
[INFO] [stderr] warning: `sqlc-python-asyncpg` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded which v4.2.4
[INFO] [stderr]   Downloaded prost-types v0.9.0
[INFO] [stderr]   Downloaded prost-derive v0.9.0
[INFO] [stderr]   Downloaded prost v0.9.0
[INFO] [stderr]   Downloaded anyhow v1.0.53
[INFO] [stderr]   Downloaded indexmap v1.8.0
[INFO] [stderr]   Downloaded minijinja v2.10.2
[INFO] [stderr]   Downloaded petgraph v0.6.0
[INFO] [stderr]   Downloaded syn v1.0.68
[INFO] [stderr]   Downloaded libc v0.2.116
[INFO] [stderr]   Downloaded prost-build v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 912d15c91c129fcbfe079d7f4626cf93010221e91ca9c2b80b3f466c33843c0e
[INFO] running `Command { std: "docker" "start" "912d15c91c129fcbfe079d7f4626cf93010221e91ca9c2b80b3f466c33843c0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "912d15c91c129fcbfe079d7f4626cf93010221e91ca9c2b80b3f466c33843c0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "912d15c91c129fcbfe079d7f4626cf93010221e91ca9c2b80b3f466c33843c0e" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "912d15c91c129fcbfe079d7f4626cf93010221e91ca9c2b80b3f466c33843c0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "912d15c91c129fcbfe079d7f4626cf93010221e91ca9c2b80b3f466c33843c0e" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: unused build dependency `prost-build`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | prost-build = "0.9.0"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `prost-build`
[INFO] [stderr] warning: `sqlc-python-asyncpg` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling syn v1.0.68
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling anyhow v1.0.53
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling prost-derive v0.9.0
[INFO] [stderr]     Checking prost v0.9.0
[INFO] [stderr]     Checking minijinja v2.10.2
[INFO] [stderr]     Checking serde_json v1.0.64
[INFO] [stderr]     Checking sqlc-python-asyncpg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find type `ModelFile` in this scope
[INFO] [stdout]   --> src/model_file_generator.rs:50:22
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut public = ModelFile::default();
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `ModelFile`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut public = ModelFiles::default();
[INFO] [stdout]    |                               +
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::model_file::ModelFile;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mock`
[INFO] [stdout]  --> src/python_type.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::mock;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `grouped_argument_type` in initializer of `Method`
[INFO] [stdout]    --> src/method.rs:129:18
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let method = Method {
[INFO] [stdout]     |                  ^^^^^^ missing `grouped_argument_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/method_builder.rs:154:42
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let mut builder = MethodFactory::new(&mut files, &options);
[INFO] [stdout]     |                       ------------------ ^^^^^^^^^^ expected `&mut ModelFiles`, found `&mut BTreeMap<String, ModelFile>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut ModelFiles`
[INFO] [stdout]                found mutable reference `&mut BTreeMap<std::string::String, ModelFile>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/method_builder.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout]  17 |     pub fn new(model_files: &'a mut ModelFiles, options: &'a Options) -> Self {
[INFO] [stdout]     |            ^^^ -------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/method_builder.rs:167:38
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let builder = MethodFactory::new(&mut files, &options);
[INFO] [stdout]     |                   ------------------ ^^^^^^^^^^ expected `&mut ModelFiles`, found `&mut BTreeMap<String, ModelFile>`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut ModelFiles`
[INFO] [stdout]                found mutable reference `&mut BTreeMap<std::string::String, ModelFile>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/method_builder.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout]  17 |     pub fn new(model_files: &'a mut ModelFiles, options: &'a Options) -> Self {
[INFO] [stdout]     |            ^^^ -------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `is_schema_file` in initializer of `ModelFile`
[INFO] [stdout]    --> src/mock.rs:415:9
[INFO] [stdout]     |
[INFO] [stdout] 415 |         ModelFile {
[INFO] [stdout]     |         ^^^^^^^^^ missing `is_schema_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `insert` found for struct `ModelFiles` in the current scope
[INFO] [stdout]   --> src/model_file_generator.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |     generator.model_files.insert("public".into(), public);
[INFO] [stdout]    |                           ^^^^^^ method not found in `ModelFiles`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/model_files.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct ModelFiles {
[INFO] [stdout]    | --------------------- method `insert` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 52 |     generator.model_files.model_files.insert("public".into(), public);
[INFO] [stdout]    |                           ++++++++++++
[INFO] [stdout] 52 |     generator.model_files.options.package.insert("public".into(), public);
[INFO] [stdout]    |                           ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method_output`
[INFO] [stdout]    --> src/method.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let method_output = MethodOutput::from_model(&user_model());
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_output`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqlc-python-asyncpg` (bin "sqlc-python-asyncpg" test) due to 6 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "912d15c91c129fcbfe079d7f4626cf93010221e91ca9c2b80b3f466c33843c0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "912d15c91c129fcbfe079d7f4626cf93010221e91ca9c2b80b3f466c33843c0e", kill_on_drop: false }`
[INFO] [stdout] 912d15c91c129fcbfe079d7f4626cf93010221e91ca9c2b80b3f466c33843c0e
