[INFO] fetching crate db_meta_derive 0.1.0... [INFO] testing db_meta_derive-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate db_meta_derive 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate db_meta_derive 0.1.0 [INFO] finished tweaking crates.io crate db_meta_derive 0.1.0 [INFO] tweaked toml for crates.io crate db_meta_derive 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate db_meta_derive 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate db_meta_derive 0.1.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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61574b4078d29bcfeb9fc9261f6bb483e3fb23d078a62cf93c1f4eb58e11cdba [INFO] running `Command { std: "docker" "start" "-a" "61574b4078d29bcfeb9fc9261f6bb483e3fb23d078a62cf93c1f4eb58e11cdba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61574b4078d29bcfeb9fc9261f6bb483e3fb23d078a62cf93c1f4eb58e11cdba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61574b4078d29bcfeb9fc9261f6bb483e3fb23d078a62cf93c1f4eb58e11cdba", kill_on_drop: false }` [INFO] [stdout] 61574b4078d29bcfeb9fc9261f6bb483e3fb23d078a62cf93c1f4eb58e11cdba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58cd03f4a4d4c3438d934168afa6bb27572285a51cf057d9a8be9128343f06b1 [INFO] running `Command { std: "docker" "start" "-a" "58cd03f4a4d4c3438d934168afa6bb27572285a51cf057d9a8be9128343f06b1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling db_meta_derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.73s [INFO] running `Command { std: "docker" "inspect" "58cd03f4a4d4c3438d934168afa6bb27572285a51cf057d9a8be9128343f06b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58cd03f4a4d4c3438d934168afa6bb27572285a51cf057d9a8be9128343f06b1", kill_on_drop: false }` [INFO] [stdout] 58cd03f4a4d4c3438d934168afa6bb27572285a51cf057d9a8be9128343f06b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b1654a14d1f6e404ae04c2b95f9cda657b9f46988fddf2a0b49d6580d431555 [INFO] running `Command { std: "docker" "start" "-a" "5b1654a14d1f6e404ae04c2b95f9cda657b9f46988fddf2a0b49d6580d431555", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling db_meta_derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `db_derive` [INFO] [stdout] --> examples/manual-command.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use db_derive::{PostgresMeta}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `db_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `db_derive`, use `cargo add db_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pg_mapper` in this scope [INFO] [stdout] --> examples/manual-command.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[pg_mapper(table = "oms_order")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `pg_mapper` is an attribute that can be used by the derive macro `PostgresMeta`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 10+ #[derive(PostgresMeta)] [INFO] [stdout] 11| pub struct Command{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `id` in this scope [INFO] [stdout] --> examples/manual-command.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[id] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `id` is an attribute that can be used by the derive macro `PostgresMeta`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> examples/manual-command.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[field(type="varchar", length=50)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `field` is an attribute that can be used by the derive macro `PostgresMeta`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> examples/manual-command.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[field(type="varchar", length=200)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `field` is an attribute that can be used by the derive macro `PostgresMeta`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `order`, `limit`, and `offset` are never read [INFO] [stdout] --> examples/test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct BuilderSql<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 21 | table_name: &'a str, [INFO] [stdout] 22 | id: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 25 | order: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | offset: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuilderSql` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `meta` found for struct `Command` in the current scope [INFO] [stdout] --> examples/manual-command.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Command{ [INFO] [stdout] | ------------------ function or associated item `meta` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 60 | let c = Command::meta(); [INFO] [stdout] | ^^^^ function or associated item not found in `Command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `meta` found for struct `Command` in the current scope [INFO] [stdout] --> examples/manual-command.rs:61:93 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Command{ [INFO] [stdout] | ------------------ function or associated item `meta` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 61 | let (table_name, fields): (String, Vec<(String, String, u16, String, bool)>) = Command::meta(); [INFO] [stdout] | ^^^^ function or associated item not found in `Command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `db_meta_derive` (example "manual-command") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5b1654a14d1f6e404ae04c2b95f9cda657b9f46988fddf2a0b49d6580d431555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b1654a14d1f6e404ae04c2b95f9cda657b9f46988fddf2a0b49d6580d431555", kill_on_drop: false }` [INFO] [stdout] 5b1654a14d1f6e404ae04c2b95f9cda657b9f46988fddf2a0b49d6580d431555