[INFO] fetching crate concordium-smart-contract-engine 6.1.0... [INFO] checking concordium-smart-contract-engine-6.1.0 against try#213ba58857e42241934d114390dfcd0779fc4662 for pr-148943 [INFO] extracting crate concordium-smart-contract-engine 6.1.0 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate concordium-smart-contract-engine 6.1.0 on toolchain 213ba58857e42241934d114390dfcd0779fc4662 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+213ba58857e42241934d114390dfcd0779fc4662" "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" "+213ba58857e42241934d114390dfcd0779fc4662" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+213ba58857e42241934d114390dfcd0779fc4662" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+213ba58857e42241934d114390dfcd0779fc4662" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a1ea50fb0c09531c399acdcb8ad98f8e655d63b9e874a35f07bd6254c0e21d9 [INFO] running `Command { std: "docker" "start" "-a" "1a1ea50fb0c09531c399acdcb8ad98f8e655d63b9e874a35f07bd6254c0e21d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a1ea50fb0c09531c399acdcb8ad98f8e655d63b9e874a35f07bd6254c0e21d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a1ea50fb0c09531c399acdcb8ad98f8e655d63b9e874a35f07bd6254c0e21d9", kill_on_drop: false }` [INFO] [stdout] 1a1ea50fb0c09531c399acdcb8ad98f8e655d63b9e874a35f07bd6254c0e21d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+213ba58857e42241934d114390dfcd0779fc4662" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7964c85649a98d4c3ee967d7096908bdb4452a3b84f8d754fa24e8a91da7aee [INFO] running `Command { std: "docker" "start" "-a" "f7964c85649a98d4c3ee967d7096908bdb4452a3b84f8d754fa24e8a91da7aee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling cc v1.2.46 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking clap_builder v4.5.52 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking clap v4.5.52 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking criterion-plot v0.6.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [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 zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling concordium-contracts-common-derive v4.1.0 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.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 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 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 quickcheck v1.0.3 [INFO] [stderr] Checking criterion v0.7.0 [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: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] 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 2 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 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f7964c85649a98d4c3ee967d7096908bdb4452a3b84f8d754fa24e8a91da7aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7964c85649a98d4c3ee967d7096908bdb4452a3b84f8d754fa24e8a91da7aee", kill_on_drop: false }` [INFO] [stdout] f7964c85649a98d4c3ee967d7096908bdb4452a3b84f8d754fa24e8a91da7aee