[INFO] fetching crate cstree 0.12.2... [INFO] testing cstree-0.12.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cstree 0.12.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate cstree 0.12.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cstree 0.12.2 [INFO] tweaked toml for crates.io crate cstree 0.12.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cstree 0.12.2 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 cstree 0.12.2 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 clap v4.5.16 [INFO] [stderr] Downloaded m_lexer v0.0.4 [INFO] [stderr] Downloaded clap_builder v4.5.15 [INFO] [stderr] Downloaded cstree_derive v0.12.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9779308e8b96adcfac0fb7e4c45cc8ead24382ea6453cdcda9f27783201758ba [INFO] running `Command { std: "docker" "start" "-a" "9779308e8b96adcfac0fb7e4c45cc8ead24382ea6453cdcda9f27783201758ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9779308e8b96adcfac0fb7e4c45cc8ead24382ea6453cdcda9f27783201758ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9779308e8b96adcfac0fb7e4c45cc8ead24382ea6453cdcda9f27783201758ba", kill_on_drop: false }` [INFO] [stdout] 9779308e8b96adcfac0fb7e4c45cc8ead24382ea6453cdcda9f27783201758ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d43acded9a9560b06eee108e4a85919c25b0e74376e796f0239dfd0270695f3c [INFO] running `Command { std: "docker" "start" "-a" "d43acded9a9560b06eee108e4a85919c25b0e74376e796f0239dfd0270695f3c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling triomphe v0.1.13 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cstree v0.12.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sptr::Strict` [INFO] [stdout] --> src/green/token.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sptr::Strict; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sptr::Strict` [INFO] [stdout] --> src/green/element.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sptr::Strict; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syntax/node.rs:940:9 [INFO] [stdout] | [INFO] [stdout] 940 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 943 | ) -> impl Iterator { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [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] 943 | ) -> impl Iterator, (usize, TextSize))> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syntax/node.rs:956:9 [INFO] [stdout] | [INFO] [stdout] 956 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 959 | ) -> impl Iterator { [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] 959 | ) -> impl Iterator, (usize, TextSize))> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.67s [INFO] running `Command { std: "docker" "inspect" "d43acded9a9560b06eee108e4a85919c25b0e74376e796f0239dfd0270695f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d43acded9a9560b06eee108e4a85919c25b0e74376e796f0239dfd0270695f3c", kill_on_drop: false }` [INFO] [stdout] d43acded9a9560b06eee108e4a85919c25b0e74376e796f0239dfd0270695f3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4462cc336e86d817cc453a729ea1532927db02e90b092a4d583210c358bbe9aa [INFO] running `Command { std: "docker" "start" "-a" "4462cc336e86d817cc453a729ea1532927db02e90b092a4d583210c358bbe9aa", kill_on_drop: false }` [INFO] [stderr] warning: invalid feature `salsa_2022_compat` in required-features of target `salsa`: `salsa_2022_compat` is not present in [features] section [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling plotters-backend v0.3.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stdout] warning: unused import: `sptr::Strict` [INFO] [stdout] --> src/green/token.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sptr::Strict; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sptr::Strict` [INFO] [stdout] --> src/green/element.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sptr::Strict; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syntax/node.rs:940:9 [INFO] [stdout] | [INFO] [stdout] 940 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 943 | ) -> impl Iterator { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [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] 943 | ) -> impl Iterator, (usize, TextSize))> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syntax/node.rs:956:9 [INFO] [stdout] | [INFO] [stdout] 956 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 959 | ) -> impl Iterator { [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] 959 | ) -> impl Iterator, (usize, TextSize))> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling m_lexer v0.0.4 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling cstree v0.12.2 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Syntax` in this scope [INFO] [stdout] --> tests/it/regressions.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Syntax)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Syntax` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/it/regressions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cstree::Syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `regressions::empty_tree_arc::SyntaxKind: Syntax` is not satisfied [INFO] [stdout] --> tests/it/regressions.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut builder: GreenNodeBuilder = GreenNodeBuilder::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Syntax` is not implemented for `regressions::empty_tree_arc::SyntaxKind` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Syntax`: [INFO] [stdout] SyntaxKind [INFO] [stdout] TestSyntaxKind [INFO] [stdout] note: required by a bound in `cstree::build::GreenNodeBuilder` [INFO] [stdout] --> /opt/rustwide/workdir/src/green/builder.rs:275:51 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct GreenNodeBuilder<'cache, 'interner, S: Syntax, I = TokenInterner> { [INFO] [stdout] | ^^^^^^ required by this bound in `GreenNodeBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sptr::Strict` [INFO] [stdout] --> src/green/element.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sptr::Strict; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sptr::Strict` [INFO] [stdout] --> src/green/token.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sptr::Strict; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start_node` exists for struct `cstree::build::GreenNodeBuilder<'_, '_, regressions::empty_tree_arc::SyntaxKind>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/it/regressions.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 11 | enum SyntaxKind { [INFO] [stdout] | --------------- doesn't satisfy `regressions::empty_tree_arc::SyntaxKind: Syntax` [INFO] [stdout] ... [INFO] [stdout] 16 | builder.start_node(SyntaxKind::Root); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `regressions::empty_tree_arc::SyntaxKind: Syntax` [INFO] [stdout] note: the trait `Syntax` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait Syntax: Sized + Copy + fmt::Debug + Eq { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `regressions::empty_tree_arc::SyntaxKind: Syntax` is not satisfied [INFO] [stdout] --> tests/it/regressions.rs:15:53 [INFO] [stdout] | [INFO] [stdout] 15 | let mut builder: GreenNodeBuilder = GreenNodeBuilder::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Syntax` is not implemented for `regressions::empty_tree_arc::SyntaxKind` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Syntax`: [INFO] [stdout] SyntaxKind [INFO] [stdout] TestSyntaxKind [INFO] [stdout] note: required by a bound in `cstree::build::GreenNodeBuilder` [INFO] [stdout] --> /opt/rustwide/workdir/src/green/builder.rs:275:51 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct GreenNodeBuilder<'cache, 'interner, S: Syntax, I = TokenInterner> { [INFO] [stdout] | ^^^^^^ required by this bound in `GreenNodeBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `regressions::empty_tree_arc::SyntaxKind: Syntax` is not satisfied [INFO] [stdout] --> tests/it/regressions.rs:15:53 [INFO] [stdout] | [INFO] [stdout] 15 | let mut builder: GreenNodeBuilder = GreenNodeBuilder::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Syntax` is not implemented for `regressions::empty_tree_arc::SyntaxKind` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Syntax`: [INFO] [stdout] SyntaxKind [INFO] [stdout] TestSyntaxKind [INFO] [stdout] note: required by a bound in `cstree::build::GreenNodeBuilder::<'static, 'static, S>::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/green/builder.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | impl GreenNodeBuilder<'static, 'static, S> { [INFO] [stdout] | ^^^^^^ required by this bound in `GreenNodeBuilder::<'static, 'static, S>::new` [INFO] [stdout] 282 | /// Creates new builder with an empty [`NodeCache`]. [INFO] [stdout] 283 | pub fn new() -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `finish_node` exists for struct `cstree::build::GreenNodeBuilder<'_, '_, regressions::empty_tree_arc::SyntaxKind>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/it/regressions.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 11 | enum SyntaxKind { [INFO] [stdout] | --------------- doesn't satisfy `regressions::empty_tree_arc::SyntaxKind: Syntax` [INFO] [stdout] ... [INFO] [stdout] 17 | builder.finish_node(); [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `regressions::empty_tree_arc::SyntaxKind: Syntax` [INFO] [stdout] note: the trait `Syntax` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait Syntax: Sized + Copy + fmt::Debug + Eq { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `finish` exists for struct `cstree::build::GreenNodeBuilder<'_, '_, regressions::empty_tree_arc::SyntaxKind>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/it/regressions.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 11 | enum SyntaxKind { [INFO] [stdout] | --------------- doesn't satisfy `regressions::empty_tree_arc::SyntaxKind: Syntax` [INFO] [stdout] ... [INFO] [stdout] 18 | let (green, _) = builder.finish(); [INFO] [stdout] | ^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `regressions::empty_tree_arc::SyntaxKind: Syntax` [INFO] [stdout] note: the trait `Syntax` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait Syntax: Sized + Copy + fmt::Debug + Eq { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `regressions::empty_tree_arc::SyntaxKind: Syntax` is not satisfied [INFO] [stdout] --> tests/it/regressions.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let root: SyntaxNode = SyntaxNode::new_root(green); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Syntax` is not implemented for `regressions::empty_tree_arc::SyntaxKind` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Syntax`: [INFO] [stdout] SyntaxKind [INFO] [stdout] TestSyntaxKind [INFO] [stdout] note: required by a bound in `cstree::syntax::SyntaxNode` [INFO] [stdout] --> /opt/rustwide/workdir/src/syntax/node.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct SyntaxNode { [INFO] [stdout] | ^^^^^^ required by this bound in `SyntaxNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `regressions::empty_tree_arc::SyntaxKind: Syntax` is not satisfied [INFO] [stdout] --> tests/it/regressions.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | let root: SyntaxNode = SyntaxNode::new_root(green); [INFO] [stdout] | ^^^^^^^^^^ the trait `Syntax` is not implemented for `regressions::empty_tree_arc::SyntaxKind` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Syntax`: [INFO] [stdout] SyntaxKind [INFO] [stdout] TestSyntaxKind [INFO] [stdout] note: required by a bound in `cstree::syntax::SyntaxNode` [INFO] [stdout] --> /opt/rustwide/workdir/src/syntax/node.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct SyntaxNode { [INFO] [stdout] | ^^^^^^ required by this bound in `SyntaxNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `regressions::empty_tree_arc::SyntaxKind: Syntax` is not satisfied [INFO] [stdout] --> tests/it/regressions.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | let root: SyntaxNode = SyntaxNode::new_root(green); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Syntax` is not implemented for `regressions::empty_tree_arc::SyntaxKind` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Syntax`: [INFO] [stdout] SyntaxKind [INFO] [stdout] TestSyntaxKind [INFO] [stdout] note: required by a bound in `cstree::syntax::SyntaxNode::::new_root` [INFO] [stdout] --> /opt/rustwide/workdir/src/syntax/node.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | impl SyntaxNode { [INFO] [stdout] | ^^^^^^ required by this bound in `SyntaxNode::::new_root` [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn new_root(green: GreenNode) -> Self { [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `kind` exists for struct `cstree::syntax::SyntaxNode`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/it/regressions.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 11 | enum SyntaxKind { [INFO] [stdout] | --------------- doesn't satisfy `regressions::empty_tree_arc::SyntaxKind: Syntax` [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(root.kind(), SyntaxKind::Root); [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `regressions::empty_tree_arc::SyntaxKind: Syntax` [INFO] [stdout] note: the trait `Syntax` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait Syntax: Sized + Copy + fmt::Debug + Eq { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cstree` (test "it") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syntax/node.rs:940:9 [INFO] [stdout] | [INFO] [stdout] 940 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 943 | ) -> impl Iterator { [INFO] [stdout] | --------------- the lifetime gets resolved as `'_` [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] 943 | ) -> impl Iterator, (usize, TextSize))> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/syntax/node.rs:956:9 [INFO] [stdout] | [INFO] [stdout] 956 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 959 | ) -> impl Iterator { [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] 959 | ) -> impl Iterator, (usize, TextSize))> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4462cc336e86d817cc453a729ea1532927db02e90b092a4d583210c358bbe9aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4462cc336e86d817cc453a729ea1532927db02e90b092a4d583210c358bbe9aa", kill_on_drop: false }` [INFO] [stdout] 4462cc336e86d817cc453a729ea1532927db02e90b092a4d583210c358bbe9aa