[INFO] fetching crate stemflow 0.5.3... [INFO] building stemflow-0.5.3 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate stemflow 0.5.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate stemflow 0.5.3 [INFO] finished tweaking crates.io crate stemflow 0.5.3 [INFO] tweaked toml for crates.io crate stemflow 0.5.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stemflow 0.5.3 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96bf6ccd30f7de1ffd55c968fe0cacd117344198becb66ae0d9f6c99ea27f9f4 [INFO] running `Command { std: "docker" "start" "-a" "96bf6ccd30f7de1ffd55c968fe0cacd117344198becb66ae0d9f6c99ea27f9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96bf6ccd30f7de1ffd55c968fe0cacd117344198becb66ae0d9f6c99ea27f9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96bf6ccd30f7de1ffd55c968fe0cacd117344198becb66ae0d9f6c99ea27f9f4", kill_on_drop: false }` [INFO] [stdout] 96bf6ccd30f7de1ffd55c968fe0cacd117344198becb66ae0d9f6c99ea27f9f4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d97549dc0ec2f55a1bcef0155d07cdc7e1ed695d10e3250caa2fc8cc6bfd272 [INFO] running `Command { std: "docker" "start" "-a" "1d97549dc0ec2f55a1bcef0155d07cdc7e1ed695d10e3250caa2fc8cc6bfd272", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling dot v0.1.4 [INFO] [stderr] Compiling stemflow v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/lib.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | fn uniquify(mut self) -> Self; [INFO] [stdout] | ^^^^^^^^ help: remove `mut` from the parameter: `self` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `collections_bound` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(collections_bound)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `btree_range` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(btree_range)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/lib.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(collections)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/fs.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | Some(x) => x.contains(access), [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 106 | fn set2opt(list: BTreeSet) -> Option> where T: Ord { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] 107 | if list.len() == 0 { [INFO] [stdout] | ^ expected type parameter `T`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:234:20 [INFO] [stdout] | [INFO] [stdout] 234 | |prev, x| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 237 | match x.reachable(&denied) { [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 234 | |prev, x: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Option<_>` [INFO] [stdout] --> src/lib.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 234 | |prev, x| { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | Some(p) => p.new_intersect(&dom), [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 234 | |prev: Option, x| { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 266 | impl RefDomPriv for Arc> where A: Access { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 277 | if acl.len() == 0 { [INFO] [stdout] | ^ expected type parameter `A`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `A` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:317:36 [INFO] [stdout] | [INFO] [stdout] 266 | impl RefDomPriv for Arc> where A: Access { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 317 | if self.underlays.len() == 0 { [INFO] [stdout] | ^ expected type parameter `A`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `A` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:321:45 [INFO] [stdout] | [INFO] [stdout] 321 | self.underlays.iter().flat_map(|x| x.leaves().into_iter()).collect() [INFO] [stdout] | ^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 321 | self.underlays.iter().flat_map(|x: /* Type */| x.leaves().into_iter()).collect() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:327:31 [INFO] [stdout] | [INFO] [stdout] 327 | Some(x) => Some(x.clone()), [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | match dom.transition_underlays(&target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:380:48 [INFO] [stdout] | [INFO] [stdout] 380 | match self.ressources.entry(access.clone()) { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&(_, _)` [INFO] [stdout] --> src/lib.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 406 | filter(|&(k, _)| k.contains(&*access)). [INFO] [stdout] | ^^^^^^^ -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 406 | filter(|&(k, _): &(_, _)| k.contains(&*access)). [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:407:44 [INFO] [stdout] | [INFO] [stdout] 407 | fold(BTreeSet::new(), |prev, (_, v)| prev.union(v).cloned().collect())) [INFO] [stdout] | ^^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 407 | fold(BTreeSet::new(), |prev: /* Type */, (_, v)| prev.union(v).cloned().collect())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:410:17 [INFO] [stdout] | [INFO] [stdout] 410 | let doms = match aci.next() { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | Some(da) => set2opt(p.intersection(&da).cloned().collect()), [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `doms` an explicit type [INFO] [stdout] | [INFO] [stdout] 410 | let doms: /* Type */ = match aci.next() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:433:37 [INFO] [stdout] | [INFO] [stdout] 433 | let mut domi = doms.iter(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:436:33 [INFO] [stdout] | [INFO] [stdout] 436 | match d.new_intersect_all(&domi.collect()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:587:58 [INFO] [stdout] | [INFO] [stdout] 587 | let mut nodes: Vec<_> = self.domains.iter().map(|x| Node::Dom(x.clone())) [INFO] [stdout] | ^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 587 | let mut nodes: Vec<_> = self.domains.iter().map(|x: /* Type */| Node::Dom(x.clone())) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:588:48 [INFO] [stdout] | [INFO] [stdout] 588 | .chain(self.ressources.keys().map(|x| Node::Access(x.clone()))) [INFO] [stdout] | ^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 588 | .chain(self.ressources.keys().map(|x: /* Type */| Node::Access(x.clone()))) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0463, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stemflow` (lib) due to 20 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1d97549dc0ec2f55a1bcef0155d07cdc7e1ed695d10e3250caa2fc8cc6bfd272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d97549dc0ec2f55a1bcef0155d07cdc7e1ed695d10e3250caa2fc8cc6bfd272", kill_on_drop: false }` [INFO] [stdout] 1d97549dc0ec2f55a1bcef0155d07cdc7e1ed695d10e3250caa2fc8cc6bfd272