[INFO] fetching crate ferment-sys 0.2.10... [INFO] testing ferment-sys-0.2.10 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ferment-sys 0.2.10 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate ferment-sys 0.2.10 [INFO] finished tweaking crates.io crate ferment-sys 0.2.10 [INFO] tweaked toml for crates.io crate ferment-sys 0.2.10 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ferment-sys 0.2.10 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 crates.io crate ferment-sys 0.2.10 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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ferment-macro v0.2.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b9889e739590a4e40239d01430e63de960a688945b1e4ba54ab57982e6228302 [INFO] running `Command { std: "docker" "start" "-a" "b9889e739590a4e40239d01430e63de960a688945b1e4ba54ab57982e6228302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9889e739590a4e40239d01430e63de960a688945b1e4ba54ab57982e6228302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9889e739590a4e40239d01430e63de960a688945b1e4ba54ab57982e6228302", kill_on_drop: false }` [INFO] [stdout] b9889e739590a4e40239d01430e63de960a688945b1e4ba54ab57982e6228302 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e8555074c61d2b1d2e4b76c9c6cba75dc54c078f738bc6149a0b6101d20f0928 [INFO] running `Command { std: "docker" "start" "-a" "e8555074c61d2b1d2e4b76c9c6cba75dc54c078f738bc6149a0b6101d20f0928", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling clap_builder v4.5.35 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cbindgen v0.28.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling jiff v0.2.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling clap v4.5.35 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling ferment-macro v0.2.10 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling ferment-sys v0.2.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `DefaultScopePolicy` is never constructed [INFO] [stdout] --> src/context/type_chain.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DefaultScopePolicy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefaultScopePolicy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExternalModulePolicy` is never constructed [INFO] [stdout] --> src/context/type_chain.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ExternalModulePolicy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExternalModulePolicy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ty` is never used [INFO] [stdout] --> src/conversion/local_type_conversion.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl LocalTypeConversion { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 23 | pub fn ty(&self) -> &Type { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `replaced_last_with`, `replace_first_and_last_with`, and `replaced_first_and_last_with` are never used [INFO] [stdout] --> src/ext/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait CrateExtension { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn replaced_last_with(&self, chunk: &Self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | [INFO] [stdout] 36 | fn replace_first_and_last_with(&mut self, leading_chunk: &Self, trailing_chunk: &Self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | fn replaced_first_and_last_with(&self, leading_chunk: &Self, trailing_chunk: &Self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ScopeCollection` is never used [INFO] [stdout] --> src/ext/collection.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ScopeCollection where K: Eq + Hash, V: ValueReplaceScenario { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ContainsBound` is never used [INFO] [stdout] --> src/ext/visitor/contains_bound.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ContainsBound { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DefaultMergePolicy` is never constructed [INFO] [stdout] --> src/ext/abstract/merge.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DefaultMergePolicy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefaultMergePolicy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_opaque_opt_group_tokens` and `ffi_to_opaque_opt_group_tokens` are never used [INFO] [stdout] --> src/presentable/expression.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 96 | / impl Expression [INFO] [stdout] 97 | | where LANG: LangFermentable, [INFO] [stdout] 98 | | SPEC: Specification, [INFO] [stdout] 99 | | SPEC::Expr: ScopeContextPresentable { [INFO] [stdout] | |_____________________________________________- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | pub(crate) fn from_opaque_opt_group_tokens(expr: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub(crate) fn ffi_to_opaque_opt_group_tokens(expr: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FFICallbackMethod` is never used [INFO] [stdout] --> src/presentation/naming/ffi_callback_method.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FFICallbackMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FFICallbackMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FFIMapConversionMethod` is never used [INFO] [stdout] --> src/presentation/naming/ffi_map_conversion.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FFIMapConversionMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FFIMapConversionMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FFIVecConversionMethod` is never used [INFO] [stdout] --> src/presentation/naming/ffi_vec_conversion_method.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FFIVecConversionMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FFIVecConversionMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CrateTreeConsumer` is never used [INFO] [stdout] --> src/lang/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait CrateTreeConsumer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/path_holder.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn iter(&self) -> syn::punctuated::Iter { [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] 172 | pub fn iter(&self) -> syn::punctuated::Iter<'_, PathSegment> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/composable/type_composition.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | fn nested_arguments_iter_mut(&mut self) -> IterMut { [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] 21 | fn nested_arguments_iter_mut(&mut self) -> IterMut<'_, NestedArgument> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/composer/abstract/composable.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | fn source_ref(&self) -> Ref { self.context().borrow() } [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] 22 | fn source_ref(&self) -> Ref<'_, ScopeContext> { self.context().borrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.56s [INFO] running `Command { std: "docker" "inspect" "e8555074c61d2b1d2e4b76c9c6cba75dc54c078f738bc6149a0b6101d20f0928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8555074c61d2b1d2e4b76c9c6cba75dc54c078f738bc6149a0b6101d20f0928", kill_on_drop: false }` [INFO] [stdout] e8555074c61d2b1d2e4b76c9c6cba75dc54c078f738bc6149a0b6101d20f0928 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e673fc4698f2723f62db55ecde935512add52e10f9fcc6cd1e404d0813cc1628 [INFO] running `Command { std: "docker" "start" "-a" "e673fc4698f2723f62db55ecde935512add52e10f9fcc6cd1e404d0813cc1628", kill_on_drop: false }` [INFO] [stderr] Compiling ferment-sys v0.2.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `DefaultScopePolicy` is never constructed [INFO] [stdout] --> src/context/type_chain.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DefaultScopePolicy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefaultScopePolicy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExternalModulePolicy` is never constructed [INFO] [stdout] --> src/context/type_chain.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ExternalModulePolicy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExternalModulePolicy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ty` is never used [INFO] [stdout] --> src/conversion/local_type_conversion.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl LocalTypeConversion { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 23 | pub fn ty(&self) -> &Type { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `replaced_last_with`, `replace_first_and_last_with`, and `replaced_first_and_last_with` are never used [INFO] [stdout] --> src/ext/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait CrateExtension { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn replaced_last_with(&self, chunk: &Self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | [INFO] [stdout] 36 | fn replace_first_and_last_with(&mut self, leading_chunk: &Self, trailing_chunk: &Self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | fn replaced_first_and_last_with(&self, leading_chunk: &Self, trailing_chunk: &Self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ScopeCollection` is never used [INFO] [stdout] --> src/ext/collection.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ScopeCollection where K: Eq + Hash, V: ValueReplaceScenario { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ContainsBound` is never used [INFO] [stdout] --> src/ext/visitor/contains_bound.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ContainsBound { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DefaultMergePolicy` is never constructed [INFO] [stdout] --> src/ext/abstract/merge.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DefaultMergePolicy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefaultMergePolicy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_opaque_opt_group_tokens` and `ffi_to_opaque_opt_group_tokens` are never used [INFO] [stdout] --> src/presentable/expression.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 96 | / impl Expression [INFO] [stdout] 97 | | where LANG: LangFermentable, [INFO] [stdout] 98 | | SPEC: Specification, [INFO] [stdout] 99 | | SPEC::Expr: ScopeContextPresentable { [INFO] [stdout] | |_____________________________________________- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 257 | pub(crate) fn from_opaque_opt_group_tokens(expr: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub(crate) fn ffi_to_opaque_opt_group_tokens(expr: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FFICallbackMethod` is never used [INFO] [stdout] --> src/presentation/naming/ffi_callback_method.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FFICallbackMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FFICallbackMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FFIMapConversionMethod` is never used [INFO] [stdout] --> src/presentation/naming/ffi_map_conversion.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FFIMapConversionMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FFIMapConversionMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FFIVecConversionMethod` is never used [INFO] [stdout] --> src/presentation/naming/ffi_vec_conversion_method.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FFIVecConversionMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FFIVecConversionMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CrateTreeConsumer` is never used [INFO] [stdout] --> src/lang/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait CrateTreeConsumer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/path_holder.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn iter(&self) -> syn::punctuated::Iter { [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] 172 | pub fn iter(&self) -> syn::punctuated::Iter<'_, PathSegment> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/composable/type_composition.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | fn nested_arguments_iter_mut(&mut self) -> IterMut { [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] 21 | fn nested_arguments_iter_mut(&mut self) -> IterMut<'_, NestedArgument> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/composer/abstract/composable.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | fn source_ref(&self) -> Ref { self.context().borrow() } [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] 22 | fn source_ref(&self) -> Ref<'_, ScopeContext> { self.context().borrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `dict` is private [INFO] [stdout] --> src/test/composing.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::conversion::dict::DictTypeModelKind; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `dict` is defined here [INFO] [stdout] --> src/conversion/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod dict; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this enum through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 14 - use crate::conversion::dict::DictTypeModelKind; [INFO] [stdout] 14 + use crate::conversion::DictTypeModelKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericTypeKind` [INFO] [stdout] --> src/test/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::conversion::{GenericTypeKind, TypeKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/test/composing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/test/composing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_token_stream` found for struct `scope_tree::ScopeTree` in the current scope [INFO] [stdout] --> src/test/composing.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | println!("{}", root_scope_tree().to_token_stream()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `scope_tree::ScopeTree` [INFO] [stdout] | [INFO] [stdout] ::: src/tree/scope_tree.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ScopeTree { [INFO] [stdout] | -------------------- method `to_token_stream` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_token_stream`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToTokens` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 20 | println!("{}", root_scope_tree().scope.to_token_stream()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/test/composing.rs:37:57 [INFO] [stdout] | [INFO] [stdout] 37 | let mut global_context = GlobalContext::with_config(Config::new("crate", Crate::new("crate", PathBuf::new()))); [INFO] [stdout] | ^^^^^^^^^^^---------------------------------------------- argument #3 of type `cbindgen::Config` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/config.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(mod_name: &'static str, current_crate: Crate, cbindgen_config: cbindgen::Config) -> Self { [INFO] [stdout] | ^^^ --------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 37 | let mut global_context = GlobalContext::with_config(Config::new("crate", Crate::new("crate", PathBuf::new()), /* cbindgen::Config */)); [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/test/mangling.rs:130:53 [INFO] [stdout] | [INFO] [stdout] 130 | let global_context = GlobalContext::with_config(Config::new("crate", Crate::new("crate", PathBuf::new()))); [INFO] [stdout] | ^^^^^^^^^^^---------------------------------------------- argument #3 of type `cbindgen::Config` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/config.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(mod_name: &'static str, current_crate: Crate, cbindgen_config: cbindgen::Config) -> Self { [INFO] [stdout] | ^^^ --------------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 130 | let global_context = GlobalContext::with_config(Config::new("crate", Crate::new("crate", PathBuf::new()), /* cbindgen::Config */)); [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for enum `presentation::ffi_full_path::FFIFullPath` [INFO] [stdout] --> src/test/mod.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | Resolve::::resolve(ty, source).to_token_stream(), [INFO] [stdout] | ^^^^^^^^^^^ expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `LANG`, `SPEC` [INFO] [stdout] --> src/presentation/ffi_full_path.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FFIFullPath [INFO] [stdout] | ^^^^^^^^^^^ ---- ---- [INFO] [stdout] help: add missing generic arguments [INFO] [stdout] | [INFO] [stdout] 42 | Resolve::>::resolve(ty, source).to_token_stream(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for enum `presentation::ffi_full_path::FFIFullPath` [INFO] [stdout] --> src/test/mod.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | Resolve::::resolve(conversion, source).to_token_stream(), [INFO] [stdout] | ^^^^^^^^^^^ expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] note: enum defined here, with 2 generic parameters: `LANG`, `SPEC` [INFO] [stdout] --> src/presentation/ffi_full_path.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FFIFullPath [INFO] [stdout] | ^^^^^^^^^^^ ---- ---- [INFO] [stdout] help: add missing generic arguments [INFO] [stdout] | [INFO] [stdout] 44 | Resolve::>::resolve(conversion, source).to_token_stream(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferment-sys` (lib test) due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e673fc4698f2723f62db55ecde935512add52e10f9fcc6cd1e404d0813cc1628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e673fc4698f2723f62db55ecde935512add52e10f9fcc6cd1e404d0813cc1628", kill_on_drop: false }` [INFO] [stdout] e673fc4698f2723f62db55ecde935512add52e10f9fcc6cd1e404d0813cc1628