[INFO] fetching crate concordium-smart-contract-engine 6.1.0... [INFO] checking concordium-smart-contract-engine-6.1.0 against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] extracting crate concordium-smart-contract-engine 6.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate concordium-smart-contract-engine 6.1.0 [INFO] finished tweaking crates.io crate concordium-smart-contract-engine 6.1.0 [INFO] tweaked toml for crates.io crate concordium-smart-contract-engine 6.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate concordium-smart-contract-engine 6.1.0 on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "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" "+95813608313bff49cfc1afc393a946a3c085b772" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 217 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding num_enum v0.6.1 (available: v0.7.5) [INFO] [stderr] Adding ptree v0.4.0 (available: v0.5.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding secp256k1 v0.22.2 (available: v0.31.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc31cfa20da6326234517b0fdb40d82a673364da4d7068246e8373c3d8b2f4e8 [INFO] running `Command { std: "docker" "start" "-a" "fc31cfa20da6326234517b0fdb40d82a673364da4d7068246e8373c3d8b2f4e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc31cfa20da6326234517b0fdb40d82a673364da4d7068246e8373c3d8b2f4e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc31cfa20da6326234517b0fdb40d82a673364da4d7068246e8373c3d8b2f4e8", kill_on_drop: false }` [INFO] [stdout] fc31cfa20da6326234517b0fdb40d82a673364da4d7068246e8373c3d8b2f4e8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19c51eabbfbc65c417fc7cbdbe67b6826cc93da055745b3327afca0ae056e85b [INFO] running `Command { std: "docker" "start" "-a" "19c51eabbfbc65c417fc7cbdbe67b6826cc93da055745b3327afca0ae056e85b", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking criterion-plot v0.6.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking clap v4.5.51 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking secp256k1 v0.22.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rust_decimal v1.39.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking ed25519-zebra v4.1.0 [INFO] [stderr] Checking concordium-contracts-common v9.2.0 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking concordium-wasm v5.1.0 [INFO] [stderr] Checking concordium-smart-contract-engine v6.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:205:63 [INFO] [stdout] | [INFO] [stdout] 205 | let written = (&mut self.state[offset..end as usize]).write(bytes)?; [INFO] [stdout] | ^^^^^ multiple `write` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 205 - let written = (&mut self.state[offset..end as usize]).write(bytes)?; [INFO] [stdout] 205 + let written = concordium_contracts_common::Write::write(&mut (&mut self.state[offset..end as usize]), bytes)?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 205 - let written = (&mut self.state[offset..end as usize]).write(bytes)?; [INFO] [stdout] 205 + let written = std::io::Write::write(&mut (&mut self.state[offset..end as usize]), bytes)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:214:25 [INFO] [stdout] | [INFO] [stdout] 214 | let amt = bytes.write(&self.state[offset..])?; [INFO] [stdout] | ^^^^^ multiple `write` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 214 - let amt = bytes.write(&self.state[offset..])?; [INFO] [stdout] 214 + let amt = concordium_contracts_common::Write::write(&mut bytes, &self.state[offset..])?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 214 - let amt = bytes.write(&self.state[offset..])?; [INFO] [stdout] 214 + let amt = std::io::Write::write(&mut bytes, &self.state[offset..])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:474:51 [INFO] [stdout] | [INFO] [stdout] 474 | let amt = (&mut memory[start..write_end]).write(¶m[offset..end])?; [INFO] [stdout] | ^^^^^ multiple `write` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 474 - let amt = (&mut memory[start..write_end]).write(¶m[offset..end])?; [INFO] [stdout] 474 + let amt = concordium_contracts_common::Write::write(&mut (&mut memory[start..write_end]), ¶m[offset..end])?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 474 - let amt = (&mut memory[start..write_end]).write(¶m[offset..end])?; [INFO] [stdout] 474 + let amt = std::io::Write::write(&mut (&mut memory[start..write_end]), ¶m[offset..end])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:496:51 [INFO] [stdout] | [INFO] [stdout] 496 | let amt = (&mut memory[start..write_end]).write(&policies_bytes[offset..end])?; [INFO] [stdout] | ^^^^^ multiple `write` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 496 - let amt = (&mut memory[start..write_end]).write(&policies_bytes[offset..end])?; [INFO] [stdout] 496 + let amt = concordium_contracts_common::Write::write(&mut (&mut memory[start..write_end]), &policies_bytes[offset..end])?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 496 - let amt = (&mut memory[start..write_end]).write(&policies_bytes[offset..end])?; [INFO] [stdout] 496 + let amt = std::io::Write::write(&mut (&mut memory[start..write_end]), &policies_bytes[offset..end])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:612:42 [INFO] [stdout] | [INFO] [stdout] 612 | (&mut memory[start..start + 32]).write_all(init_origin?.as_ref())?; [INFO] [stdout] | ^^^^^^^^^ multiple `write_all` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 612 - (&mut memory[start..start + 32]).write_all(init_origin?.as_ref())?; [INFO] [stdout] 612 + concordium_contracts_common::Write::write_all(&mut (&mut memory[start..start + 32]), init_origin?.as_ref())?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 612 - (&mut memory[start..start + 32]).write_all(init_origin?.as_ref())?; [INFO] [stdout] 612 + std::io::Write::write_all(&mut (&mut memory[start..start + 32]), init_origin?.as_ref())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:714:42 [INFO] [stdout] | [INFO] [stdout] 714 | (&mut memory[start..start + 32]).write_all(invoker?.as_ref())?; [INFO] [stdout] | ^^^^^^^^^ multiple `write_all` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 714 - (&mut memory[start..start + 32]).write_all(invoker?.as_ref())?; [INFO] [stdout] 714 + concordium_contracts_common::Write::write_all(&mut (&mut memory[start..start + 32]), invoker?.as_ref())?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 714 - (&mut memory[start..start + 32]).write_all(invoker?.as_ref())?; [INFO] [stdout] 714 + std::io::Write::write_all(&mut (&mut memory[start..start + 32]), invoker?.as_ref())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:727:41 [INFO] [stdout] | [INFO] [stdout] 727 | (&mut memory[start..start + 8]).write_all(&self_address.index.to_le_bytes())?; [INFO] [stdout] | ^^^^^^^^^ multiple `write_all` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 727 - (&mut memory[start..start + 8]).write_all(&self_address.index.to_le_bytes())?; [INFO] [stdout] 727 + concordium_contracts_common::Write::write_all(&mut (&mut memory[start..start + 8]), &self_address.index.to_le_bytes())?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 727 - (&mut memory[start..start + 8]).write_all(&self_address.index.to_le_bytes())?; [INFO] [stdout] 727 + std::io::Write::write_all(&mut (&mut memory[start..start + 8]), &self_address.index.to_le_bytes())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:728:46 [INFO] [stdout] | [INFO] [stdout] 728 | (&mut memory[start + 8..start + 16]).write_all(&self_address.subindex.to_le_bytes())?; [INFO] [stdout] | ^^^^^^^^^ multiple `write_all` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 728 - (&mut memory[start + 8..start + 16]).write_all(&self_address.subindex.to_le_bytes())?; [INFO] [stdout] 728 + concordium_contracts_common::Write::write_all(&mut (&mut memory[start + 8..start + 16]), &self_address.subindex.to_le_bytes())?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 728 - (&mut memory[start + 8..start + 16]).write_all(&self_address.subindex.to_le_bytes())?; [INFO] [stdout] 728 + std::io::Write::write_all(&mut (&mut memory[start + 8..start + 16]), &self_address.subindex.to_le_bytes())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:763:42 [INFO] [stdout] | [INFO] [stdout] 763 | (&mut memory[start..start + 32]).write_all(owner?.as_ref())?; [INFO] [stdout] | ^^^^^^^^^ multiple `write_all` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 763 - (&mut memory[start..start + 32]).write_all(owner?.as_ref())?; [INFO] [stdout] 763 + concordium_contracts_common::Write::write_all(&mut (&mut memory[start..start + 32]), owner?.as_ref())?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 763 - (&mut memory[start..start + 32]).write_all(owner?.as_ref())?; [INFO] [stdout] 763 + std::io::Write::write_all(&mut (&mut memory[start..start + 32]), owner?.as_ref())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:205:63 [INFO] [stdout] | [INFO] [stdout] 205 | let written = (&mut self.state[offset..end as usize]).write(bytes)?; [INFO] [stdout] | ^^^^^ multiple `write` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 205 - let written = (&mut self.state[offset..end as usize]).write(bytes)?; [INFO] [stdout] 205 + let written = concordium_contracts_common::Write::write(&mut (&mut self.state[offset..end as usize]), bytes)?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 205 - let written = (&mut self.state[offset..end as usize]).write(bytes)?; [INFO] [stdout] 205 + let written = std::io::Write::write(&mut (&mut self.state[offset..end as usize]), bytes)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:214:25 [INFO] [stdout] | [INFO] [stdout] 214 | let amt = bytes.write(&self.state[offset..])?; [INFO] [stdout] | ^^^^^ multiple `write` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 214 - let amt = bytes.write(&self.state[offset..])?; [INFO] [stdout] 214 + let amt = concordium_contracts_common::Write::write(&mut bytes, &self.state[offset..])?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 214 - let amt = bytes.write(&self.state[offset..])?; [INFO] [stdout] 214 + let amt = std::io::Write::write(&mut bytes, &self.state[offset..])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:474:51 [INFO] [stdout] | [INFO] [stdout] 474 | let amt = (&mut memory[start..write_end]).write(¶m[offset..end])?; [INFO] [stdout] | ^^^^^ multiple `write` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 474 - let amt = (&mut memory[start..write_end]).write(¶m[offset..end])?; [INFO] [stdout] 474 + let amt = concordium_contracts_common::Write::write(&mut (&mut memory[start..write_end]), ¶m[offset..end])?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 474 - let amt = (&mut memory[start..write_end]).write(¶m[offset..end])?; [INFO] [stdout] 474 + let amt = std::io::Write::write(&mut (&mut memory[start..write_end]), ¶m[offset..end])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:496:51 [INFO] [stdout] | [INFO] [stdout] 496 | let amt = (&mut memory[start..write_end]).write(&policies_bytes[offset..end])?; [INFO] [stdout] | ^^^^^ multiple `write` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 496 - let amt = (&mut memory[start..write_end]).write(&policies_bytes[offset..end])?; [INFO] [stdout] 496 + let amt = concordium_contracts_common::Write::write(&mut (&mut memory[start..write_end]), &policies_bytes[offset..end])?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 496 - let amt = (&mut memory[start..write_end]).write(&policies_bytes[offset..end])?; [INFO] [stdout] 496 + let amt = std::io::Write::write(&mut (&mut memory[start..write_end]), &policies_bytes[offset..end])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:612:42 [INFO] [stdout] | [INFO] [stdout] 612 | (&mut memory[start..start + 32]).write_all(init_origin?.as_ref())?; [INFO] [stdout] | ^^^^^^^^^ multiple `write_all` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 612 - (&mut memory[start..start + 32]).write_all(init_origin?.as_ref())?; [INFO] [stdout] 612 + concordium_contracts_common::Write::write_all(&mut (&mut memory[start..start + 32]), init_origin?.as_ref())?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 612 - (&mut memory[start..start + 32]).write_all(init_origin?.as_ref())?; [INFO] [stdout] 612 + std::io::Write::write_all(&mut (&mut memory[start..start + 32]), init_origin?.as_ref())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:714:42 [INFO] [stdout] | [INFO] [stdout] 714 | (&mut memory[start..start + 32]).write_all(invoker?.as_ref())?; [INFO] [stdout] | ^^^^^^^^^ multiple `write_all` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 714 - (&mut memory[start..start + 32]).write_all(invoker?.as_ref())?; [INFO] [stdout] 714 + concordium_contracts_common::Write::write_all(&mut (&mut memory[start..start + 32]), invoker?.as_ref())?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 714 - (&mut memory[start..start + 32]).write_all(invoker?.as_ref())?; [INFO] [stdout] 714 + std::io::Write::write_all(&mut (&mut memory[start..start + 32]), invoker?.as_ref())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:727:41 [INFO] [stdout] | [INFO] [stdout] 727 | (&mut memory[start..start + 8]).write_all(&self_address.index.to_le_bytes())?; [INFO] [stdout] | ^^^^^^^^^ multiple `write_all` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 727 - (&mut memory[start..start + 8]).write_all(&self_address.index.to_le_bytes())?; [INFO] [stdout] 727 + concordium_contracts_common::Write::write_all(&mut (&mut memory[start..start + 8]), &self_address.index.to_le_bytes())?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 727 - (&mut memory[start..start + 8]).write_all(&self_address.index.to_le_bytes())?; [INFO] [stdout] 727 + std::io::Write::write_all(&mut (&mut memory[start..start + 8]), &self_address.index.to_le_bytes())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:728:46 [INFO] [stdout] | [INFO] [stdout] 728 | (&mut memory[start + 8..start + 16]).write_all(&self_address.subindex.to_le_bytes())?; [INFO] [stdout] | ^^^^^^^^^ multiple `write_all` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 728 - (&mut memory[start + 8..start + 16]).write_all(&self_address.subindex.to_le_bytes())?; [INFO] [stdout] 728 + concordium_contracts_common::Write::write_all(&mut (&mut memory[start + 8..start + 16]), &self_address.subindex.to_le_bytes())?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 728 - (&mut memory[start + 8..start + 16]).write_all(&self_address.subindex.to_le_bytes())?; [INFO] [stdout] 728 + std::io::Write::write_all(&mut (&mut memory[start + 8..start + 16]), &self_address.subindex.to_le_bytes())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/v0/mod.rs:763:42 [INFO] [stdout] | [INFO] [stdout] 763 | (&mut memory[start..start + 32]).write_all(owner?.as_ref())?; [INFO] [stdout] | ^^^^^^^^^ multiple `write_all` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `concordium_contracts_common::Write` for the type `&mut [u8]` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `std::io::Write` for the type `&mut [u8]` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 763 - (&mut memory[start..start + 32]).write_all(owner?.as_ref())?; [INFO] [stdout] 763 + concordium_contracts_common::Write::write_all(&mut (&mut memory[start..start + 32]), owner?.as_ref())?; [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 763 - (&mut memory[start..start + 32]).write_all(owner?.as_ref())?; [INFO] [stdout] 763 + std::io::Write::write_all(&mut (&mut memory[start..start + 32]), owner?.as_ref())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `concordium-smart-contract-engine` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `concordium-smart-contract-engine` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "19c51eabbfbc65c417fc7cbdbe67b6826cc93da055745b3327afca0ae056e85b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19c51eabbfbc65c417fc7cbdbe67b6826cc93da055745b3327afca0ae056e85b", kill_on_drop: false }` [INFO] [stdout] 19c51eabbfbc65c417fc7cbdbe67b6826cc93da055745b3327afca0ae056e85b