[INFO] fetching crate ink_lang_codegen 3.0.0-rc6... [INFO] checking ink_lang_codegen-3.0.0-rc6 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate ink_lang_codegen 3.0.0-rc6 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate ink_lang_codegen 3.0.0-rc6 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ink_lang_codegen 3.0.0-rc6 [INFO] finished tweaking crates.io crate ink_lang_codegen 3.0.0-rc6 [INFO] tweaked toml for crates.io crate ink_lang_codegen 3.0.0-rc6 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f4109ce6e8326c9dadc7d5215850d401468c7e8c835980e9374c7e86c51e555 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9f4109ce6e8326c9dadc7d5215850d401468c7e8c835980e9374c7e86c51e555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f4109ce6e8326c9dadc7d5215850d401468c7e8c835980e9374c7e86c51e555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f4109ce6e8326c9dadc7d5215850d401468c7e8c835980e9374c7e86c51e555", kill_on_drop: false }` [INFO] [stdout] 9f4109ce6e8326c9dadc7d5215850d401468c7e8c835980e9374c7e86c51e555 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40e1ef723cd25330b539729dc103e302e7c26157a460c0329ab8af47515cda23 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "40e1ef723cd25330b539729dc103e302e7c26157a460c0329ab8af47515cda23", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking byte-slice-cast v1.2.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking impl-serde v0.3.2 [INFO] [stderr] Checking ink_lang_ir v3.0.0-rc7 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Checking ink_lang_codegen v3.0.0-rc6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `InkTrait` in `ir` [INFO] [stdout] --> src/generator/cross_calling.rs:456:24 [INFO] [stdout] | [INFO] [stdout] 456 | let hash = ir::InkTrait::compute_verify_hash( [INFO] [stdout] | ^^^^^^^^ could not find `InkTrait` in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `InkTrait` in `ir` [INFO] [stdout] --> src/generator/cross_calling.rs:751:24 [INFO] [stdout] | [INFO] [stdout] 751 | let hash = ir::InkTrait::compute_verify_hash( [INFO] [stdout] | ^^^^^^^^ could not find `InkTrait` in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `InkTrait` in `ir` [INFO] [stdout] --> src/generator/item_impls.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | let hash = ir::InkTrait::compute_verify_hash( [INFO] [stdout] | ^^^^^^^^ could not find `InkTrait` in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InkTrait` in crate `ir` [INFO] [stdout] --> src/generator/trait_def.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | trait_def: &'a ir::InkTrait, [INFO] [stdout] | ^^^^^^^^ not found in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InkTraitConstructor` in crate `ir` [INFO] [stdout] --> src/generator/trait_def.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | constructor: ir::InkTraitConstructor<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InkTrait` in crate `ir` [INFO] [stdout] --> src/lib.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> CodeGenerator for &'a ir::InkTrait { [INFO] [stdout] | ^^^^^^^^ not found in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `InkTrait` in `ir` [INFO] [stdout] --> src/generator/cross_calling.rs:456:24 [INFO] [stdout] | [INFO] [stdout] 456 | let hash = ir::InkTrait::compute_verify_hash( [INFO] [stdout] | ^^^^^^^^ could not find `InkTrait` in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `InkTrait` in `ir` [INFO] [stdout] --> src/generator/cross_calling.rs:751:24 [INFO] [stdout] | [INFO] [stdout] 751 | let hash = ir::InkTrait::compute_verify_hash( [INFO] [stdout] | ^^^^^^^^ could not find `InkTrait` in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `InkTrait` in `ir` [INFO] [stdout] --> src/generator/item_impls.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | let hash = ir::InkTrait::compute_verify_hash( [INFO] [stdout] | ^^^^^^^^ could not find `InkTrait` in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InkTrait` in crate `ir` [INFO] [stdout] --> src/generator/trait_def.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | trait_def: &'a ir::InkTrait, [INFO] [stdout] | ^^^^^^^^ not found in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InkTraitConstructor` in crate `ir` [INFO] [stdout] --> src/generator/trait_def.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | constructor: ir::InkTraitConstructor<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InkTrait` in crate `ir` [INFO] [stdout] --> src/lib.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> CodeGenerator for &'a ir::InkTrait { [INFO] [stdout] | ^^^^^^^^ not found in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/cross_calling.rs:208:61 [INFO] [stdout] | [INFO] [stdout] 208 | let composed_selector = message.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/cross_calling.rs:286:61 [INFO] [stdout] | [INFO] [stdout] 286 | let composed_selector = message.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/cross_calling.rs:372:65 [INFO] [stdout] | [INFO] [stdout] 372 | let composed_selector = constructor.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/cross_calling.rs:489:61 [INFO] [stdout] | [INFO] [stdout] 489 | let composed_selector = message.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/cross_calling.rs:692:65 [INFO] [stdout] | [INFO] [stdout] 692 | let composed_selector = constructor.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/cross_calling.rs:792:65 [INFO] [stdout] | [INFO] [stdout] 792 | let composed_selector = constructor.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/dispatch.rs:420:54 [INFO] [stdout] | [INFO] [stdout] 420 | let selector_bytes = cws.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/cross_calling.rs:208:61 [INFO] [stdout] | [INFO] [stdout] 208 | let composed_selector = message.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/cross_calling.rs:286:61 [INFO] [stdout] | [INFO] [stdout] 286 | let composed_selector = message.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `filter_map_constructor` found for enum `InkTraitItem` in the current scope [INFO] [stdout] --> src/generator/trait_def.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | .flat_map(ir::InkTraitItem::filter_map_constructor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `InkTraitItem<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ink_lang_codegen` due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/cross_calling.rs:372:65 [INFO] [stdout] | [INFO] [stdout] 372 | let composed_selector = constructor.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/cross_calling.rs:489:61 [INFO] [stdout] | [INFO] [stdout] 489 | let composed_selector = message.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/cross_calling.rs:692:65 [INFO] [stdout] | [INFO] [stdout] 692 | let composed_selector = constructor.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/cross_calling.rs:792:65 [INFO] [stdout] | [INFO] [stdout] 792 | let composed_selector = constructor.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Selector` in the current scope [INFO] [stdout] --> src/generator/dispatch.rs:420:54 [INFO] [stdout] | [INFO] [stdout] 420 | let selector_bytes = cws.composed_selector().as_bytes().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `filter_map_constructor` found for enum `InkTraitItem` in the current scope [INFO] [stdout] --> src/generator/trait_def.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | .flat_map(ir::InkTraitItem::filter_map_constructor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `InkTraitItem<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "40e1ef723cd25330b539729dc103e302e7c26157a460c0329ab8af47515cda23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e1ef723cd25330b539729dc103e302e7c26157a460c0329ab8af47515cda23", kill_on_drop: false }` [INFO] [stdout] 40e1ef723cd25330b539729dc103e302e7c26157a460c0329ab8af47515cda23