[INFO] cloning repository https://github.com/crywolf/codecrafters-sqlite-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crywolf/codecrafters-sqlite-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrywolf%2Fcodecrafters-sqlite-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrywolf%2Fcodecrafters-sqlite-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d14f6c384b34be4201b1d332a50cdee8a156697 [INFO] checking crywolf/codecrafters-sqlite-rust against try#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrywolf%2Fcodecrafters-sqlite-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/crywolf/codecrafters-sqlite-rust [INFO] finished tweaking git repo https://github.com/crywolf/codecrafters-sqlite-rust [INFO] tweaked toml for git repo https://github.com/crywolf/codecrafters-sqlite-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crywolf/codecrafters-sqlite-rust on toolchain 446cb600aa4837dd6c513f14fa0d25a909b177d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/crywolf/codecrafters-sqlite-rust 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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37c30f292f03517b959ac383afbe3a627aa4fe08d2fd95e369c35c4ae64f4480 [INFO] running `Command { std: "docker" "start" "-a" "37c30f292f03517b959ac383afbe3a627aa4fe08d2fd95e369c35c4ae64f4480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37c30f292f03517b959ac383afbe3a627aa4fe08d2fd95e369c35c4ae64f4480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37c30f292f03517b959ac383afbe3a627aa4fe08d2fd95e369c35c4ae64f4480", kill_on_drop: false }` [INFO] [stdout] 37c30f292f03517b959ac383afbe3a627aa4fe08d2fd95e369c35c4ae64f4480 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d2ded51f8e2134be545d46cb7e79d0e73d8bd87d25da99ba49f82d9d73c6a30 [INFO] running `Command { std: "docker" "start" "-a" "8d2ded51f8e2134be545d46cb7e79d0e73d8bd87d25da99ba49f82d9d73c6a30", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.88 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking codecrafters-sqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0659]: `Condition` is ambiguous [INFO] [stdout] --> src/db/sql.rs:256:34 [INFO] [stdout] | [INFO] [stdout] 256 | where_cond: Some(Condition { [INFO] [stdout] | ^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Condition` could refer to the struct imported here [INFO] [stdout] --> src/db/sql.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Condition` to disambiguate [INFO] [stdout] note: `Condition` could also refer to the struct imported here [INFO] [stdout] --> src/db/sql.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Condition` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Condition` is ambiguous [INFO] [stdout] --> src/db/sql.rs:334:34 [INFO] [stdout] | [INFO] [stdout] 334 | where_cond: Some(Condition { [INFO] [stdout] | ^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Condition` could refer to the struct imported here [INFO] [stdout] --> src/db/sql.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Condition` to disambiguate [INFO] [stdout] note: `Condition` could also refer to the struct imported here [INFO] [stdout] --> src/db/sql.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Condition` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/db/sql.rs:256:34 [INFO] [stdout] | [INFO] [stdout] 256 | where_cond: Some(Condition { [INFO] [stdout] | _____________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 257 | | column: "color".to_string(), [INFO] [stdout] 258 | | value: "Yellow".to_string(), [INFO] [stdout] 259 | | }), [INFO] [stdout] | |_________________^ expected `sql::Condition`, found `parser::Condition` [INFO] [stdout] | [INFO] [stdout] = note: `parser::Condition` and `sql::Condition` have similar names, but are actually distinct types [INFO] [stdout] note: `parser::Condition` is defined in module `crate::db::sql::parser` of the current crate [INFO] [stdout] --> src/db/sql/parser.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub(super) struct Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `sql::Condition` is defined in module `crate::db::sql` of the current crate [INFO] [stdout] --> src/db/sql.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the type constructed contains `parser::Condition` due to the type of the argument passed [INFO] [stdout] --> src/db/sql.rs:256:29 [INFO] [stdout] | [INFO] [stdout] 256 | where_cond: Some(Condition { [INFO] [stdout] | _____________________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 257 | || column: "color".to_string(), [INFO] [stdout] 258 | || value: "Yellow".to_string(), [INFO] [stdout] 259 | || }), [INFO] [stdout] | ||_________________-^ [INFO] [stdout] | |__________________| [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/446cb600aa4837dd6c513f14fa0d25a909b177d7/library/core/src/option.rs:608:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/db/sql.rs:334:34 [INFO] [stdout] | [INFO] [stdout] 334 | where_cond: Some(Condition { [INFO] [stdout] | _____________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 335 | | column: "color".to_string(), [INFO] [stdout] 336 | | value: "Yellow".to_string(), [INFO] [stdout] 337 | | }), [INFO] [stdout] | |_________________^ expected `sql::Condition`, found `parser::Condition` [INFO] [stdout] | [INFO] [stdout] = note: `parser::Condition` and `sql::Condition` have similar names, but are actually distinct types [INFO] [stdout] note: `parser::Condition` is defined in module `crate::db::sql::parser` of the current crate [INFO] [stdout] --> src/db/sql/parser.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub(super) struct Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `sql::Condition` is defined in module `crate::db::sql` of the current crate [INFO] [stdout] --> src/db/sql.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the type constructed contains `parser::Condition` due to the type of the argument passed [INFO] [stdout] --> src/db/sql.rs:334:29 [INFO] [stdout] | [INFO] [stdout] 334 | where_cond: Some(Condition { [INFO] [stdout] | _____________________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 335 | || column: "color".to_string(), [INFO] [stdout] 336 | || value: "Yellow".to_string(), [INFO] [stdout] 337 | || }), [INFO] [stdout] | ||_________________-^ [INFO] [stdout] | |__________________| [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/446cb600aa4837dd6c513f14fa0d25a909b177d7/library/core/src/option.rs:608:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `codecrafters-sqlite` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8d2ded51f8e2134be545d46cb7e79d0e73d8bd87d25da99ba49f82d9d73c6a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d2ded51f8e2134be545d46cb7e79d0e73d8bd87d25da99ba49f82d9d73c6a30", kill_on_drop: false }` [INFO] [stdout] 8d2ded51f8e2134be545d46cb7e79d0e73d8bd87d25da99ba49f82d9d73c6a30