[INFO] fetching crate kproc_macros 6.0.0... [INFO] checking kproc_macros-6.0.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate kproc_macros 6.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate kproc_macros 6.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate kproc_macros 6.0.0 [INFO] tweaked toml for crates.io crate kproc_macros 6.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kproc_macros 6.0.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 264fc95ccb2edcd78877ac876c39799cbaa81dfd9594389730b50f26996e13e6 [INFO] running `Command { std: "docker" "start" "-a" "264fc95ccb2edcd78877ac876c39799cbaa81dfd9594389730b50f26996e13e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "264fc95ccb2edcd78877ac876c39799cbaa81dfd9594389730b50f26996e13e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "264fc95ccb2edcd78877ac876c39799cbaa81dfd9594389730b50f26996e13e6", kill_on_drop: false }` [INFO] [stdout] 264fc95ccb2edcd78877ac876c39799cbaa81dfd9594389730b50f26996e13e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56919e85e2c9e914ac47ae93b062d01ba8ae06012a81f71864135ca5abc01823 [INFO] running `Command { std: "docker" "start" "-a" "56919e85e2c9e914ac47ae93b062d01ba8ae06012a81f71864135ca5abc01823", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking dissimilar v1.0.10 [INFO] [stderr] Checking kmacros_shim v6.0.0 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking kproc_macros v6.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Doc` is never constructed [INFO] [stdout] --> src/clearable.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Doc(pub String); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Doc` is never constructed [INFO] [stdout] --> src/field_iter.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Doc(pub String); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trybuild v1.0.110 [INFO] [stdout] warning: struct `Doc` is never constructed [INFO] [stdout] --> src/clearable.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Doc(pub String); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Doc` is never constructed [INFO] [stdout] --> src/field_iter.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Doc(pub String); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Doc` is never constructed [INFO] [stdout] --> src/clearable.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Doc(pub String); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Doc` is never constructed [INFO] [stdout] --> src/field_iter.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Doc(pub String); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kmacros` [INFO] [stdout] --> tests/03-clearable.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use kmacros::Clearable; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `kmacros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kmacros`, use `cargo add kmacros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kmacros` [INFO] [stdout] --> tests/03-clearable.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(kmacros::Clearable)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `kmacros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clearable` in this scope [INFO] [stdout] --> tests/03-clearable.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[clearable(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clearable` is an attribute that can be used by the derive macro `Clearable`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clearable` in this scope [INFO] [stdout] --> tests/03-clearable.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[clearable(default)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clearable` is an attribute that can be used by the derive macro `Clearable`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clearable` in this scope [INFO] [stdout] --> tests/03-clearable.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[clearable(expr = "{} = 3")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clearable` is an attribute that can be used by the derive macro `Clearable`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clearable` in this scope [INFO] [stdout] --> tests/03-clearable.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[clearable(expr = "{} += 1")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clearable` is an attribute that can be used by the derive macro `Clearable`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clearable` in this scope [INFO] [stdout] --> tests/03-clearable.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[clearable(expr = "{}.push(123)")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clearable` is an attribute that can be used by the derive macro `Clearable`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clearable` in this scope [INFO] [stdout] --> tests/03-clearable.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[clearable(raw_expr = "self.i = format!(\"{}\", 123)")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `clearable` is an attribute that can be used by the derive macro `Clearable`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/03-clearable.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Foo { [INFO] [stdout] | -------------- method `clear` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | foo.clear(); [INFO] [stdout] | ^^^^^ method not found in `Foo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clear`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `toml_parser::decoder::StringBuilder` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 29 | foo.a.clear(); [INFO] [stdout] | ++ [INFO] [stdout] 29 | foo.h.clear(); [INFO] [stdout] | ++ [INFO] [stdout] 29 | foo.i.clear(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kproc_macros` (test "03-clearable") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `clear` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/03-clearable.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Foo { [INFO] [stdout] | -------------- method `clear` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | foo.clear(); [INFO] [stdout] | ^^^^^ method not found in `Foo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clear`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `toml_parser::decoder::StringBuilder` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 36 | foo.a.clear(); [INFO] [stdout] | ++ [INFO] [stdout] 36 | foo.h.clear(); [INFO] [stdout] | ++ [INFO] [stdout] 36 | foo.i.clear(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "56919e85e2c9e914ac47ae93b062d01ba8ae06012a81f71864135ca5abc01823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56919e85e2c9e914ac47ae93b062d01ba8ae06012a81f71864135ca5abc01823", kill_on_drop: false }` [INFO] [stdout] 56919e85e2c9e914ac47ae93b062d01ba8ae06012a81f71864135ca5abc01823