[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] testing tvallotton/sqlc-python-asyncpg against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftvallotton%2Fsqlc-python-asyncpg" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tvallotton/sqlc-python-asyncpg on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3e1cd11cd2b5f5d1eddb01f817f37d20e4de01155560dd9b4640b2620e7417d [INFO] running `Command { std: "docker" "start" "-a" "f3e1cd11cd2b5f5d1eddb01f817f37d20e4de01155560dd9b4640b2620e7417d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3e1cd11cd2b5f5d1eddb01f817f37d20e4de01155560dd9b4640b2620e7417d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e1cd11cd2b5f5d1eddb01f817f37d20e4de01155560dd9b4640b2620e7417d", kill_on_drop: false }` [INFO] [stdout] f3e1cd11cd2b5f5d1eddb01f817f37d20e4de01155560dd9b4640b2620e7417d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1fa979d69d865ba2db7f31856fd0adfee02eefecd6f582295649d90e40e725de [INFO] running `Command { std: "docker" "start" "-a" "1fa979d69d865ba2db7f31856fd0adfee02eefecd6f582295649d90e40e725de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling minijinja v2.10.2 [INFO] [stderr] Compiling sqlc-python-asyncpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.10s [INFO] running `Command { std: "docker" "inspect" "1fa979d69d865ba2db7f31856fd0adfee02eefecd6f582295649d90e40e725de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fa979d69d865ba2db7f31856fd0adfee02eefecd6f582295649d90e40e725de", kill_on_drop: false }` [INFO] [stdout] 1fa979d69d865ba2db7f31856fd0adfee02eefecd6f582295649d90e40e725de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 40d452749c70ab9e7951493911db1292e8ce60cd8885de0fd199758f2c1219f2 [INFO] running `Command { std: "docker" "start" "-a" "40d452749c70ab9e7951493911db1292e8ce60cd8885de0fd199758f2c1219f2", kill_on_drop: false }` [INFO] [stderr] Compiling sqlc-python-asyncpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ModelFile` [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)]` 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` [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` [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` [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` [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)]` 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] running `Command { std: "docker" "inspect" "40d452749c70ab9e7951493911db1292e8ce60cd8885de0fd199758f2c1219f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d452749c70ab9e7951493911db1292e8ce60cd8885de0fd199758f2c1219f2", kill_on_drop: false }` [INFO] [stdout] 40d452749c70ab9e7951493911db1292e8ce60cd8885de0fd199758f2c1219f2