[INFO] fetching crate sus_compiler 0.2.1... [INFO] checking sus_compiler-0.2.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate sus_compiler 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate sus_compiler 0.2.1 [INFO] finished tweaking crates.io crate sus_compiler 0.2.1 [INFO] tweaked toml for crates.io crate sus_compiler 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sus_compiler 0.2.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sus_compiler 0.2.1 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lsp-server v0.7.7 [INFO] [stderr] Downloaded bitvector v0.1.5 [INFO] [stderr] Downloaded sus-proc-macro v0.2.0 [INFO] [stderr] Downloaded tree-sitter-sus v0.2.0 [INFO] [stderr] Downloaded tree-sitter v0.24.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18665dabf1222778e941055cd643fc3550ad769dd1b772ed0ef72e791c2a557a [INFO] running `Command { std: "docker" "start" "-a" "18665dabf1222778e941055cd643fc3550ad769dd1b772ed0ef72e791c2a557a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18665dabf1222778e941055cd643fc3550ad769dd1b772ed0ef72e791c2a557a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18665dabf1222778e941055cd643fc3550ad769dd1b772ed0ef72e791c2a557a", kill_on_drop: false }` [INFO] [stdout] 18665dabf1222778e941055cd643fc3550ad769dd1b772ed0ef72e791c2a557a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82436b5d31bd0c5191c7b1625bb2d66a98f85012848d09c922e812518869b829 [INFO] running `Command { std: "docker" "start" "-a" "82436b5d31bd0c5191c7b1625bb2d66a98f85012848d09c922e812518869b829", kill_on_drop: false }` [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling cc v1.2.3 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling tree-sitter v0.24.7 [INFO] [stderr] Compiling tree-sitter-sus v0.2.0 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling sus_compiler v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bitvector v0.1.5 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ariadne v0.5.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling sus-proc-macro v0.2.0 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking lsp-server v0.7.7 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block_vector.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | (*vec)[block].deref()[idx_in_block].assume_init_ref() [INFO] [stdout] | ^^---^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec; BLOCK_SIZE]>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec; BLOCK_SIZE]>>` [INFO] [stdout] --> src/block_vector.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | (*vec)[block].deref()[idx_in_block].assume_init_ref() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 128 | (&(*vec))[block].deref()[idx_in_block].assume_init_ref() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/typing/type_inference.rs:549:20 [INFO] [stdout] | [INFO] [stdout] 549 | fn get_hm_info(&self) -> HindleyMilnerInfo { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 549 | fn get_hm_info(&self) -> HindleyMilnerInfo, ConcreteTypeVariableIDMarker> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/shared.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | wire: &RealWire, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 11 | ) -> Cow { [INFO] [stdout] | -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 11 | ) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/shared.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn wire_name_self_latency(wire: &RealWire, use_latency: bool) -> Cow { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | pub fn wire_name_self_latency(wire: &RealWire, use_latency: bool) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/system_verilog.rs:574:34 [INFO] [stdout] | [INFO] [stdout] 574 | fn inline_constant_to_string(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 574 | fn inline_constant_to_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sus_compiler` (bin "sus_compiler") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/block_vector.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | (*vec)[block].deref()[idx_in_block].assume_init_ref() [INFO] [stdout] | ^^---^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec; BLOCK_SIZE]>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec; BLOCK_SIZE]>>` [INFO] [stdout] --> src/block_vector.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | (*vec)[block].deref()[idx_in_block].assume_init_ref() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 128 | (&(*vec))[block].deref()[idx_in_block].assume_init_ref() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/typing/type_inference.rs:549:20 [INFO] [stdout] | [INFO] [stdout] 549 | fn get_hm_info(&self) -> HindleyMilnerInfo { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 549 | fn get_hm_info(&self) -> HindleyMilnerInfo, ConcreteTypeVariableIDMarker> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/shared.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | wire: &RealWire, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 11 | ) -> Cow { [INFO] [stdout] | -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 11 | ) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/shared.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn wire_name_self_latency(wire: &RealWire, use_latency: bool) -> Cow { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | pub fn wire_name_self_latency(wire: &RealWire, use_latency: bool) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/system_verilog.rs:574:34 [INFO] [stdout] | [INFO] [stdout] 574 | fn inline_constant_to_string(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 574 | fn inline_constant_to_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sus_compiler` (bin "sus_compiler" test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "82436b5d31bd0c5191c7b1625bb2d66a98f85012848d09c922e812518869b829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82436b5d31bd0c5191c7b1625bb2d66a98f85012848d09c922e812518869b829", kill_on_drop: false }` [INFO] [stdout] 82436b5d31bd0c5191c7b1625bb2d66a98f85012848d09c922e812518869b829