[INFO] fetching crate lazysql 0.4.0... [INFO] testing lazysql-0.4.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate lazysql 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate lazysql 0.4.0 [INFO] finished tweaking crates.io crate lazysql 0.4.0 [INFO] tweaked toml for crates.io crate lazysql 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lazysql 0.4.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lazysql 0.4.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57476bce155e7b85b5c00fb452a4d18286370ea9435f91ba3e32e50ae96609a9 [INFO] running `Command { std: "docker" "start" "-a" "57476bce155e7b85b5c00fb452a4d18286370ea9435f91ba3e32e50ae96609a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57476bce155e7b85b5c00fb452a4d18286370ea9435f91ba3e32e50ae96609a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57476bce155e7b85b5c00fb452a4d18286370ea9435f91ba3e32e50ae96609a9", kill_on_drop: false }` [INFO] [stdout] 57476bce155e7b85b5c00fb452a4d18286370ea9435f91ba3e32e50ae96609a9 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cfe9083ab22fb0996e4732b42dba75a9210c2e0028ee68fd0ab98dc9f9a2980 [INFO] running `Command { std: "docker" "start" "-a" "7cfe9083ab22fb0996e4732b42dba75a9210c2e0028ee68fd0ab98dc9f9a2980", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling sqlformat v0.5.0 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Compiling sqlparser_derive v0.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Compiling recursive v0.1.1 [INFO] [stderr] Compiling sqlparser v0.59.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling type_inference v0.4.0 [INFO] [stderr] Compiling lazysql-core v0.4.0 [INFO] [stderr] Compiling lazysql_macros v0.4.0 [INFO] [stderr] Compiling lazysql v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.19s [INFO] running `Command { std: "docker" "inspect" "7cfe9083ab22fb0996e4732b42dba75a9210c2e0028ee68fd0ab98dc9f9a2980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cfe9083ab22fb0996e4732b42dba75a9210c2e0028ee68fd0ab98dc9f9a2980", kill_on_drop: false }` [INFO] [stdout] 7cfe9083ab22fb0996e4732b42dba75a9210c2e0028ee68fd0ab98dc9f9a2980 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63046614dd12f67dfb998a06bf5e488b39fda92ee0f9ecace7e35f8f9c8d67d8 [INFO] running `Command { std: "docker" "start" "-a" "63046614dd12f67dfb998a06bf5e488b39fda92ee0f9ecace7e35f8f9c8d67d8", kill_on_drop: false }` [INFO] [stderr] Compiling lazysql v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "63046614dd12f67dfb998a06bf5e488b39fda92ee0f9ecace7e35f8f9c8d67d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63046614dd12f67dfb998a06bf5e488b39fda92ee0f9ecace7e35f8f9c8d67d8", kill_on_drop: false }` [INFO] [stdout] 63046614dd12f67dfb998a06bf5e488b39fda92ee0f9ecace7e35f8f9c8d67d8 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f173eadc9b89ae4ae3eedf8b930c84fbdb20b3b465a3b36a9692a7be91056b0e [INFO] running `Command { std: "docker" "start" "-a" "f173eadc9b89ae4ae3eedf8b930c84fbdb20b3b465a3b36a9692a7be91056b0e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lazysql-19db4df03b102a11) [INFO] [stdout] [INFO] [stderr] Doc-tests lazysql [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] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/../README.md - (line 158) ... FAILED [INFO] [stdout] test src/../README.md - (line 239) ... FAILED [INFO] [stdout] test src/../README.md - (line 257) ... FAILED [INFO] [stdout] test src/../README.md - (line 139) ... FAILED [INFO] [stdout] test src/../README.md - (line 250) ... FAILED [INFO] [stdout] test src/../README.md - (line 148) ... FAILED [INFO] [stdout] test src/../README.md - (line 227) ... FAILED [INFO] [stdout] test src/../README.md - (line 190) ... FAILED [INFO] [stdout] test src/../README.md - (line 336) ... ok [INFO] [stdout] test src/../README.md - (line 265) ... FAILED [INFO] [stdout] test src/../README.md - (line 385) ... ok [INFO] [stdout] test src/../README.md - (line 59) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 158) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/../README.md:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | struct App { ... } [INFO] [stdout] | --- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `lazy_sql` in this scope [INFO] [stdout] --> src/../README.md:159:3 [INFO] [stdout] | [INFO] [stdout] 159 | #[lazy_sql("production_snapshot.db")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 158 + use lazysql::lazy_sql; [INFO] [stdout] | [INFO] [stdout] 158 + use lazysql_macros::lazy_sql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 239) stdout ---- [INFO] [stdout] error: cannot find macro `sql` in this scope [INFO] [stdout] --> src/../README.md:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | sql!("SELECT price::text FROM items") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 257) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/../README.md:258:15 [INFO] [stdout] | [INFO] [stdout] 258 | let results = db.get_active_users(false)?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 139) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/../README.md:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | struct App { ... } [INFO] [stdout] | --- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `lazy_sql` in this scope [INFO] [stdout] --> src/../README.md:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | #[lazy_sql] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 139 + use lazysql::lazy_sql; [INFO] [stdout] | [INFO] [stdout] 139 + use lazysql_macros::lazy_sql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 250) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/../README.md:251:15 [INFO] [stdout] | [INFO] [stdout] 251 | let results = db.get_active_users(false)?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 148) stdout ---- [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/../README.md:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | struct App { ... } [INFO] [stdout] | --- ^^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `lazy_sql` in this scope [INFO] [stdout] --> src/../README.md:149:3 [INFO] [stdout] | [INFO] [stdout] 149 | #[lazy_sql("schema.sql")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 148 + use lazysql::lazy_sql; [INFO] [stdout] | [INFO] [stdout] 148 + use lazysql_macros::lazy_sql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 227) stdout ---- [INFO] [stdout] error: cannot find attribute `lazy_sql` in this scope [INFO] [stdout] --> src/../README.md:228:3 [INFO] [stdout] | [INFO] [stdout] 228 | #[lazy_sql] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 227 + use lazysql::lazy_sql; [INFO] [stdout] | [INFO] [stdout] 227 + use lazysql_macros::lazy_sql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `sql_runtime` in this scope [INFO] [stdout] --> src/../README.md:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | log: sql_runtime!("INSERT INTO logs (msg, level) VALUES (?, ?)", String, i64) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 190) stdout ---- [INFO] [stdout] error: missing parameters for function definition [INFO] [stdout] --> src/../README.md:213:7 [INFO] [stdout] | [INFO] [stdout] 213 | fn foo{ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: add a parameter list [INFO] [stdout] | [INFO] [stdout] 213 | fn foo(){ [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserStats_` in this scope [INFO] [stdout] --> src/../README.md:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | UserStats, // pass in the struct so you can access the fields later [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UserStats_` in this scope [INFO] [stdout] --> src/../README.md:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | UserStats, // pass in the struct so you can access the fields later [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/../README.md:214:45 [INFO] [stdout] | [INFO] [stdout] 213 | fn foo{ [INFO] [stdout] | ------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 214 | let conn = LazyConnection::open_memory()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 213 | fn foo -> Result<(), Box>{ [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 265) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stdout: [INFO] [stdout] 2 [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: WriteBinding(Step(SqliteFailure { code: 19, error_msg: "UNIQUE constraint failed: users.name" })) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 139) [INFO] [stdout] src/../README.md - (line 148) [INFO] [stdout] src/../README.md - (line 158) [INFO] [stdout] src/../README.md - (line 190) [INFO] [stdout] src/../README.md - (line 227) [INFO] [stdout] src/../README.md - (line 239) [INFO] [stdout] src/../README.md - (line 250) [INFO] [stdout] src/../README.md - (line 257) [INFO] [stdout] src/../README.md - (line 265) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.96s [INFO] [stdout] [INFO] [stdout] all doctests ran in 2.25s; merged doctests compilation took 0.29s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f173eadc9b89ae4ae3eedf8b930c84fbdb20b3b465a3b36a9692a7be91056b0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f173eadc9b89ae4ae3eedf8b930c84fbdb20b3b465a3b36a9692a7be91056b0e", kill_on_drop: false }` [INFO] [stdout] f173eadc9b89ae4ae3eedf8b930c84fbdb20b3b465a3b36a9692a7be91056b0e