[INFO] cloning repository https://github.com/lolgeny/copper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lolgeny/copper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolgeny%2Fcopper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolgeny%2Fcopper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d808ed9070dee5cd4ce477b35e09fa4b9713ae2 [INFO] testing lolgeny/copper against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolgeny%2Fcopper" "/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/lolgeny/copper [INFO] finished tweaking git repo https://github.com/lolgeny/copper [INFO] tweaked toml for git repo https://github.com/lolgeny/copper written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lolgeny/copper 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/lolgeny/copper 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] [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] addb13b9c21dd6b1cf774c450db5a3bcce74c987e2f6ddacf5ce20d44d06d379 [INFO] running `Command { std: "docker" "start" "-a" "addb13b9c21dd6b1cf774c450db5a3bcce74c987e2f6ddacf5ce20d44d06d379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "addb13b9c21dd6b1cf774c450db5a3bcce74c987e2f6ddacf5ce20d44d06d379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "addb13b9c21dd6b1cf774c450db5a3bcce74c987e2f6ddacf5ce20d44d06d379", kill_on_drop: false }` [INFO] [stdout] addb13b9c21dd6b1cf774c450db5a3bcce74c987e2f6ddacf5ce20d44d06d379 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fc2db15066b8be30ed20613678736cacb6e15aa9ea546bb352f5af18c41b3a81 [INFO] running `Command { std: "docker" "start" "-a" "fc2db15066b8be30ed20613678736cacb6e15aa9ea546bb352f5af18c41b3a81", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling copper v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `minecraft` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/blocks.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 5 | AcaciaButton [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 6 | minecraft:acaciaDoor [INFO] [stdout] | ^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `:` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/blocks.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Block { [INFO] [stdout] | ----- while parsing this enum [INFO] [stdout] 5 | AcaciaButton [INFO] [stdout] 6 | minecraft:acaciaDoor [INFO] [stdout] | ^ expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] help: perhaps you meant to use `struct` here [INFO] [stdout] | [INFO] [stdout] 4 - pub enum Block { [INFO] [stdout] 4 + pub struct Block { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `minecraft` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/items.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 5 | AcaciaBoat [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 6 | minecraft:acaciaButton [INFO] [stdout] | ^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `:` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/items.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Item { [INFO] [stdout] | ---- while parsing this enum [INFO] [stdout] 5 | AcaciaBoat [INFO] [stdout] 6 | minecraft:acaciaButton [INFO] [stdout] | ^ expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] help: perhaps you meant to use `struct` here [INFO] [stdout] | [INFO] [stdout] 4 - pub enum Item { [INFO] [stdout] 4 + pub struct Item { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `minecraft` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/entity.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 5 | AreaEffectCloud [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 6 | minecraft:armorStand [INFO] [stdout] | ^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `:` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/entity.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Entity { [INFO] [stdout] | ------ while parsing this enum [INFO] [stdout] 5 | AreaEffectCloud [INFO] [stdout] 6 | minecraft:armorStand [INFO] [stdout] | ^ expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] help: perhaps you meant to use `struct` here [INFO] [stdout] | [INFO] [stdout] 4 - pub enum Entity { [INFO] [stdout] 4 + pub struct Entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `minecraft` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/effect.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 5 | Absorption [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 6 | minecraft:badOmen [INFO] [stdout] | ^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `:` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/effect.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Effect { [INFO] [stdout] | ------ while parsing this enum [INFO] [stdout] 5 | Absorption [INFO] [stdout] 6 | minecraft:badOmen [INFO] [stdout] | ^ expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] help: perhaps you meant to use `struct` here [INFO] [stdout] | [INFO] [stdout] 4 - pub enum Effect { [INFO] [stdout] 4 + pub struct Effect { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `minecraft` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/enchant.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 5 | AquaAffinity [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 6 | minecraft:baneOfArthropods [INFO] [stdout] | ^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `:` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/enchant.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Enchant { [INFO] [stdout] | ------- while parsing this enum [INFO] [stdout] 5 | AquaAffinity [INFO] [stdout] 6 | minecraft:baneOfArthropods [INFO] [stdout] | ^ expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] help: perhaps you meant to use `struct` here [INFO] [stdout] | [INFO] [stdout] 4 - pub enum Enchant { [INFO] [stdout] 4 + pub struct Enchant { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `minecraft` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/structures.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 5 | BastionRemnant [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 6 | minecraft:buriedTreasure [INFO] [stdout] | ^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `:` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/structures.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Structure { [INFO] [stdout] | --------- while parsing this enum [INFO] [stdout] 5 | BastionRemnant [INFO] [stdout] 6 | minecraft:buriedTreasure [INFO] [stdout] | ^ expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] help: perhaps you meant to use `struct` here [INFO] [stdout] | [INFO] [stdout] 4 - pub enum Structure { [INFO] [stdout] 4 + pub struct Structure { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `minecraft` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/potions.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 5 | Awkward [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 6 | minecraft:empty [INFO] [stdout] | ^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `(`, `,`, `=`, `{`, or `}`, found `:` [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/copper-1fcf411730d697a5/out/potions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Potion { [INFO] [stdout] | ------ while parsing this enum [INFO] [stdout] 5 | Awkward [INFO] [stdout] 6 | minecraft:empty [INFO] [stdout] | ^ expected one of `(`, `,`, `=`, `{`, or `}` [INFO] [stdout] | [INFO] [stdout] = help: enum variants can be `Variant`, `Variant = `, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` [INFO] [stdout] help: perhaps you meant to use `struct` here [INFO] [stdout] | [INFO] [stdout] 4 - pub enum Potion { [INFO] [stdout] 4 + pub struct Potion { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::minecraft::Block`, `crate::minecraft::Item`, `crate::minecraft::Entity` [INFO] [stdout] --> src/prelude.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::minecraft::{Block, Item, Entity}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^ no `Entity` in `minecraft` [INFO] [stdout] | | | [INFO] [stdout] | | no `Item` in `minecraft` [INFO] [stdout] | no `Block` in `minecraft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::minecraft::Entity` [INFO] [stdout] --> src/core/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::minecraft::Entity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `Entity` in `minecraft` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 2 - use crate::minecraft::Entity; [INFO] [stdout] 2 + use crate::prelude::Entity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/datapack/function.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | pub item: Item, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/datapack/function.rs:89:49 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn Give<'a>(target: Selector<'a>, item: Item) -> Give<'a> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/datapack/function.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | pub item: Option<(Item, Option)> [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Clear<'a, Item> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/datapack/function.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | pub block: Block [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/datapack/function.rs:135:51 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn Setblock(location: Coordinates, block: Block) -> Setblock { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Effect` in this scope [INFO] [stdout] --> src/datapack/function.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | pub effect: Effect, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Effect` in this scope [INFO] [stdout] --> src/datapack/function.rs:170:57 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn EffectGive<'a>(target: Selector<'a>, effect: Effect) -> EffectGive<'a> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Effect` in this scope [INFO] [stdout] --> src/datapack/function.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | pub effect: Option [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 188 | pub struct EffectClear<'a, Effect> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Enchant` in this scope [INFO] [stdout] --> src/datapack/item_modifier.rs:174:55 [INFO] [stdout] | [INFO] [stdout] 174 | fn serialize_apply_bonus(enchantment: &Enchant, formula: &ApplyBonusFormula, serializer: S) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Enchant` in this scope [INFO] [stdout] --> src/datapack/item_modifier.rs:288:20 [INFO] [stdout] | [INFO] [stdout] 288 | (enchantments: &&[(Enchant, NumberProvider<'a, i64>)], add: &bool, serializer: S) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Enchant` in this scope [INFO] [stdout] --> src/datapack/item_modifier.rs:289:43 [INFO] [stdout] | [INFO] [stdout] 289 | struct KeyEnchantments<'a, 'b> (&'a [(Enchant, NumberProvider<'b, i64>)]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Effect` in this scope [INFO] [stdout] --> src/datapack/item_modifier.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | pub ty: Effect, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Enchant` in this scope [INFO] [stdout] --> src/datapack/item_modifier.rs:322:22 [INFO] [stdout] | [INFO] [stdout] 322 | enchantment: Enchant, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/datapack/item_modifier.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | block: Block, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Enchant` in this scope [INFO] [stdout] --> src/datapack/item_modifier.rs:347:35 [INFO] [stdout] | [INFO] [stdout] 347 | enchantments: Option<&'a [Enchant]> [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 317 | pub enum ItemModifier<'a, 'b, Enchant> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Structure` in this scope [INFO] [stdout] --> src/datapack/item_modifier.rs:359:22 [INFO] [stdout] | [INFO] [stdout] 359 | destination: Structure, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Enchant` in this scope [INFO] [stdout] --> src/datapack/item_modifier.rs:442:29 [INFO] [stdout] | [INFO] [stdout] 442 | enchantments: &'a [(Enchant, NumberProvider<'b, i64>)], [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Effect` in this scope [INFO] [stdout] --> src/datapack/predicate.rs:124:48 [INFO] [stdout] | [INFO] [stdout] 124 | {"serialize_tuple_map"} effects: &'a [(Effect, EffectPredicate)] where "A list of status effects", [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 122 | struct EntityPredicate<'a, 'b, Effect> where "A predicate for checking entities" { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Entity` in this scope [INFO] [stdout] --> src/datapack/predicate.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | ["type"] ty: Entity where "The entity's type", [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 122 | struct EntityPredicate<'a, 'b, Entity> where "A predicate for checking entities" { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Effect` in this scope [INFO] [stdout] --> src/datapack/predicate.rs:124:48 [INFO] [stdout] | [INFO] [stdout] 124 | {"serialize_tuple_map"} effects: &'a [(Effect, EffectPredicate)] where "A list of status effects", [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/datapack/predicate.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | item: Item where "An item id", [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 135 | struct ItemPredicate<'a, 'b, Item> where "A predicate for checking items" { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Potion` in this scope [INFO] [stdout] --> src/datapack/predicate.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | potion: Potion where "A potion id", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:591:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Option` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 142 - potion: Potion where "A potion id", [INFO] [stdout] 142 + potion: Option where "A potion id", [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 135 | struct ItemPredicate<'a, 'b, Potion> where "A predicate for checking items" { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/datapack/predicate.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | block: Block where "The block to check", [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 145 | struct BlockPredicate<'a, 'b, Block> where "Checks a block" { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Structure` in this scope [INFO] [stdout] --> src/datapack/predicate.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | feature: Structure where "Tests for a structure", [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 161 | struct LocationPredicate<'a, 'b, Structure> where "Checks a location" { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Enchant` in this scope [INFO] [stdout] --> src/datapack/predicate.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | pub enchantment: Enchant, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/datapack/predicate.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | block: Block, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `rustdoc` has been removed: use `rustdoc::all` instead [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![warn(rustdoc)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/minecraft/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/minecraft/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::minecraft::*` [INFO] [stdout] --> src/datapack/function.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::minecraft::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `minecraft::*` [INFO] [stdout] --> src/datapack/item_modifier.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{core::{Color, Identifier}, minecraft::*}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `minecraft::*` [INFO] [stdout] --> src/datapack/predicate.rs:31:63 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::{core::{GameMode, Identifier, TupleMapSerializer}, minecraft::*}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/datapack/function.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 79 | mod command { [INFO] [stdout] | ----------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[deny(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unknown `doc` attribute `hide` [INFO] [stdout] --> src/datapack/function.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[doc(hide)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/score/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/score/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/score/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/score/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/score/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/score/mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `copper` (lib) due to 44 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fc2db15066b8be30ed20613678736cacb6e15aa9ea546bb352f5af18c41b3a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc2db15066b8be30ed20613678736cacb6e15aa9ea546bb352f5af18c41b3a81", kill_on_drop: false }` [INFO] [stdout] fc2db15066b8be30ed20613678736cacb6e15aa9ea546bb352f5af18c41b3a81