[INFO] cloning repository https://github.com/sirkibsirkib/axial_2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sirkibsirkib/axial_2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirkibsirkib%2Faxial_2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirkibsirkib%2Faxial_2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00bbb17ed13045537588abbda04656fd0f2a34e2 [INFO] checking sirkibsirkib/axial_2018 against master#667247db71ea18c4130dd018d060e7f09d589490 for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirkibsirkib%2Faxial_2018" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sirkibsirkib/axial_2018 on toolchain 667247db71ea18c4130dd018d060e7f09d589490 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sirkibsirkib/axial_2018 [INFO] finished tweaking git repo https://github.com/sirkibsirkib/axial_2018 [INFO] tweaked toml for git repo https://github.com/sirkibsirkib/axial_2018 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sirkibsirkib/axial_2018 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" "+667247db71ea18c4130dd018d060e7f09d589490" "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-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e6467a4eda1905fc3bfa76453e0881335d79317ae906df851c6c2210bc53eac [INFO] running `Command { std: "docker" "start" "-a" "4e6467a4eda1905fc3bfa76453e0881335d79317ae906df851c6c2210bc53eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e6467a4eda1905fc3bfa76453e0881335d79317ae906df851c6c2210bc53eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e6467a4eda1905fc3bfa76453e0881335d79317ae906df851c6c2210bc53eac", kill_on_drop: false }` [INFO] [stdout] 4e6467a4eda1905fc3bfa76453e0881335d79317ae906df851c6c2210bc53eac [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d9025ece124a689eace345e39e8197b296f10a879440d5c16b74c2a31d790a9 [INFO] running `Command { std: "docker" "start" "-a" "1d9025ece124a689eace345e39e8197b296f10a879440d5c16b74c2a31d790a9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking axial_2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/channels.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | let w_m: WrappedMessage = read(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 133 - let w_m: WrappedMessage = read(...); [INFO] [stdout] 133 + let w_m: WrappedMessage = read(..); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 133 - let w_m: WrappedMessage = read(...); [INFO] [stdout] 133 + let w_m: WrappedMessage = read(..=); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/channels.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | let w_m: WrappedMessage = read(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 133 - let w_m: WrappedMessage = read(...); [INFO] [stdout] 133 + let w_m: WrappedMessage = read(..); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/channels.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | let w_m: WrappedMessage = read(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 133 - let w_m: WrappedMessage = read(...); [INFO] [stdout] 133 + let w_m: WrappedMessage = read(..); [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 133 - let w_m: WrappedMessage = read(...); [INFO] [stdout] 133 + let w_m: WrappedMessage = read(..=); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/channels.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 133 | let w_m: WrappedMessage = read(...); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 133 - let w_m: WrappedMessage = read(...); [INFO] [stdout] 133 + let w_m: WrappedMessage = read(..); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read` in this scope [INFO] [stdout] --> src/channels.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | let w_m: WrappedMessage = read(...); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 1 + use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/channels.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BinaryHeap, HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/channels.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read` in this scope [INFO] [stdout] --> src/channels.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | let w_m: WrappedMessage = read(...); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 1 + use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/channels.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BinaryHeap, HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/channels.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `WaitingMessage` [INFO] [stdout] --> src/channels.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | waiting_messages: BinaryHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `M` [INFO] [stdout] --> src/channels.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct WaitingMessage where M: Message { [INFO] [stdout] | ^^^^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 127 | waiting_messages: BinaryHeap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `WaitingMessage` [INFO] [stdout] --> src/channels.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | waiting_messages: BinaryHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `M` [INFO] [stdout] --> src/channels.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct WaitingMessage where M: Message { [INFO] [stdout] | ^^^^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 127 | waiting_messages: BinaryHeap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `WaitingMessage` [INFO] [stdout] --> src/channels.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | impl PartialOrd for WaitingMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `M` [INFO] [stdout] --> src/channels.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct WaitingMessage where M: Message { [INFO] [stdout] | ^^^^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 103 | impl PartialOrd for WaitingMessage { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `WaitingMessage` [INFO] [stdout] --> src/channels.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | impl PartialOrd for WaitingMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `M` [INFO] [stdout] --> src/channels.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct WaitingMessage where M: Message { [INFO] [stdout] | ^^^^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 103 | impl PartialOrd for WaitingMessage { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/channels.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | match self.maj.partial_cmp(other).unwrap() { [INFO] [stdout] | ----------- ^^^^^ expected `&MajorId`, found `&MissingRange` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&MajorId` [INFO] [stdout] found reference `&MissingRange` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/667247db71ea18c4130dd018d060e7f09d589490/library/core/src/cmp.rs:1367:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/channels.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | match self.maj.partial_cmp(other).unwrap() { [INFO] [stdout] | ----------- ^^^^^ expected `&MajorId`, found `&MissingRange` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&MajorId` [INFO] [stdout] found reference `&MissingRange` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/667247db71ea18c4130dd018d060e7f09d589490/library/core/src/cmp.rs:1367:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `More` found for enum `std::cmp::Ordering` in the current scope [INFO] [stdout] --> src/channels.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | Ordering::More => Ordering::Less, [INFO] [stdout] | ^^^^ variant or associated item not found in `Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `More` found for enum `std::cmp::Ordering` in the current scope [INFO] [stdout] --> src/channels.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | Ordering::Less => Ordering::More, [INFO] [stdout] | ^^^^ variant or associated item not found in `Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `More` found for enum `std::cmp::Ordering` in the current scope [INFO] [stdout] --> src/channels.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | Ordering::More => Ordering::Less, [INFO] [stdout] | ^^^^ variant or associated item not found in `Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cmp` exists for reference `&MissingRange`, but its trait bounds were not satisfied [INFO] [stdout] --> src/channels.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 81 | struct MissingRange { [INFO] [stdout] | ------------------- doesn't satisfy `MissingRange: Iterator` or `MissingRange: Ord` [INFO] [stdout] ... [INFO] [stdout] 92 | Ordering::Equal => self.cmp(other).reverse() //more readable [INFO] [stdout] | ^^^ method cannot be called on `&MissingRange` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MissingRange: Ord` [INFO] [stdout] which is required by `&MissingRange: Ord` [INFO] [stdout] `&MissingRange: Iterator` [INFO] [stdout] which is required by `&mut &MissingRange: Iterator` [INFO] [stdout] `MissingRange: Iterator` [INFO] [stdout] which is required by `&mut MissingRange: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/667247db71ea18c4130dd018d060e7f09d589490/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] help: consider annotating `MissingRange` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 81 + #[derive(Eq, Ord, PartialEq, PartialOrd)] [INFO] [stdout] 82 | struct MissingRange { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `More` found for enum `std::cmp::Ordering` in the current scope [INFO] [stdout] --> src/channels.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | Ordering::Less => Ordering::More, [INFO] [stdout] | ^^^^ variant or associated item not found in `Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cmp` exists for tuple `(MajorId, MinorId)`, but its trait bounds were not satisfied [INFO] [stdout] --> src/channels.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MajorId(u32); // cyclic! [INFO] [stdout] | ------------------ doesn't satisfy `MajorId: Ord` [INFO] [stdout] ... [INFO] [stdout] 63 | pub struct MinorId(u8); // not cyclic! [INFO] [stdout] | ------------------ doesn't satisfy `MinorId: Ord` [INFO] [stdout] ... [INFO] [stdout] 106 | (self.maj, self.min).cmp( [INFO] [stdout] | ---------------------^^^ method cannot be called on `(MajorId, MinorId)` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MajorId: Ord` [INFO] [stdout] which is required by `(MajorId, MinorId): Ord` [INFO] [stdout] `MinorId: Ord` [INFO] [stdout] which is required by `(MajorId, MinorId): Ord` [INFO] [stdout] `(MajorId, MinorId): Iterator` [INFO] [stdout] which is required by `&mut (MajorId, MinorId): Iterator` [INFO] [stdout] help: consider annotating `MajorId` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Eq, Ord, PartialEq, PartialOrd)] [INFO] [stdout] 10 | pub struct MajorId(u32); // cyclic! [INFO] [stdout] | [INFO] [stdout] help: consider annotating `MinorId` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 63 + #[derive(Eq, Ord, PartialEq, PartialOrd)] [INFO] [stdout] 64 | pub struct MinorId(u8); // not cyclic! [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cmp` exists for reference `&MissingRange`, but its trait bounds were not satisfied [INFO] [stdout] --> src/channels.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 81 | struct MissingRange { [INFO] [stdout] | ------------------- doesn't satisfy `MissingRange: Iterator` or `MissingRange: Ord` [INFO] [stdout] ... [INFO] [stdout] 92 | Ordering::Equal => self.cmp(other).reverse() //more readable [INFO] [stdout] | ^^^ method cannot be called on `&MissingRange` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MissingRange: Ord` [INFO] [stdout] which is required by `&MissingRange: Ord` [INFO] [stdout] `&MissingRange: Iterator` [INFO] [stdout] which is required by `&mut &MissingRange: Iterator` [INFO] [stdout] `MissingRange: Iterator` [INFO] [stdout] which is required by `&mut MissingRange: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/667247db71ea18c4130dd018d060e7f09d589490/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] help: consider annotating `MissingRange` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 81 + #[derive(Eq, Ord, PartialEq, PartialOrd)] [INFO] [stdout] 82 | struct MissingRange { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cmp` exists for tuple `(MajorId, MinorId)`, but its trait bounds were not satisfied [INFO] [stdout] --> src/channels.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MajorId(u32); // cyclic! [INFO] [stdout] | ------------------ doesn't satisfy `MajorId: Ord` [INFO] [stdout] ... [INFO] [stdout] 63 | pub struct MinorId(u8); // not cyclic! [INFO] [stdout] | ------------------ doesn't satisfy `MinorId: Ord` [INFO] [stdout] ... [INFO] [stdout] 106 | (self.maj, self.min).cmp( [INFO] [stdout] | ---------------------^^^ method cannot be called on `(MajorId, MinorId)` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MajorId: Ord` [INFO] [stdout] which is required by `(MajorId, MinorId): Ord` [INFO] [stdout] `MinorId: Ord` [INFO] [stdout] which is required by `(MajorId, MinorId): Ord` [INFO] [stdout] `(MajorId, MinorId): Iterator` [INFO] [stdout] which is required by `&mut (MajorId, MinorId): Iterator` [INFO] [stdout] help: consider annotating `MajorId` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Eq, Ord, PartialEq, PartialOrd)] [INFO] [stdout] 10 | pub struct MajorId(u32); // cyclic! [INFO] [stdout] | [INFO] [stdout] help: consider annotating `MinorId` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 63 + #[derive(Eq, Ord, PartialEq, PartialOrd)] [INFO] [stdout] 64 | pub struct MinorId(u8); // not cyclic! [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for struct `HashMap` in the current scope [INFO] [stdout] --> src/channels.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | if self.size_info.contains(&w_m.maj) { [INFO] [stdout] | ^^^^^^^^ method not found in `HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/channels.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | if "I am expecting it" { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `bool`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for struct `HashMap` in the current scope [INFO] [stdout] --> src/channels.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | if self.size_info.contains(&w_m.maj) { [INFO] [stdout] | ^^^^^^^^ method not found in `HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/channels.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | if "I am expecting it" { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `bool`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Channel<_>` has no field named `next_clock` [INFO] [stdout] --> src/channels.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | next_clock: C::first(), [INFO] [stdout] | ^^^^^^^^^^ `Channel<_>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `current_major`, `largest_maj_ready`, `size_info`, `expecting_ranges`, `waiting_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `C` [INFO] [stdout] --> src/channels.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | next_clock: C::first(), [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `C` [INFO] [stdout] | help: a type parameter with a similar name exists: `M` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Channel<_>` has no field named `incoming` [INFO] [stdout] --> src/channels.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | incoming: vec![], [INFO] [stdout] | ^^^^^^^^ `Channel<_>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `current_major`, `largest_maj_ready`, `size_info`, `expecting_ranges`, `waiting_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `next_clock` on type `&mut Channel` [INFO] [stdout] --> src/channels.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | self.next_clock = self.next_clock.next(); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `current_major`, `largest_maj_ready`, `size_info`, `expecting_ranges`, `waiting_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `next_clock` on type `&mut Channel` [INFO] [stdout] --> src/channels.rs:221:26 [INFO] [stdout] | [INFO] [stdout] 221 | self.next_clock = self.next_clock.next(); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `current_major`, `largest_maj_ready`, `size_info`, `expecting_ranges`, `waiting_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Channel<_>` has no field named `next_clock` [INFO] [stdout] --> src/channels.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | next_clock: C::first(), [INFO] [stdout] | ^^^^^^^^^^ `Channel<_>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `current_major`, `largest_maj_ready`, `size_info`, `expecting_ranges`, `waiting_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `C` [INFO] [stdout] --> src/channels.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | next_clock: C::first(), [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `C` [INFO] [stdout] | help: a type parameter with a similar name exists: `M` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Channel<_>` has no field named `incoming` [INFO] [stdout] --> src/channels.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | incoming: vec![], [INFO] [stdout] | ^^^^^^^^ `Channel<_>` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `current_major`, `largest_maj_ready`, `size_info`, `expecting_ranges`, `waiting_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/channels.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | self.raw_send(m); [INFO] [stdout] | ^^^^^^^^ - argument #1 of type `MinorId` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/channels.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | fn raw_send(&mut self, minor_id: MinorId, m: M) { [INFO] [stdout] | ^^^^^^^^ ----------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 226 | self.raw_send(/* MinorId */, m); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `next_clock` on type `&mut Channel` [INFO] [stdout] --> src/channels.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | self.next_clock = self.next_clock.next(); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `current_major`, `largest_maj_ready`, `size_info`, `expecting_ranges`, `waiting_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `next_clock` on type `&mut Channel` [INFO] [stdout] --> src/channels.rs:221:26 [INFO] [stdout] | [INFO] [stdout] 221 | self.next_clock = self.next_clock.next(); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `current_major`, `largest_maj_ready`, `size_info`, `expecting_ranges`, `waiting_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `major_id` [INFO] [stdout] --> src/channels.rs:209:7 [INFO] [stdout] | [INFO] [stdout] 209 | let major_id = self.current_major; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_major_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minor_id` [INFO] [stdout] --> src/channels.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | fn raw_send(&mut self, minor_id: MinorId, m: M) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minor_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/channels.rs:208:44 [INFO] [stdout] | [INFO] [stdout] 208 | fn raw_send(&mut self, minor_id: MinorId, m: M) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/channels.rs:229:31 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn group_send(&mut self, m: Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/channels.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | self.raw_send(m); [INFO] [stdout] | ^^^^^^^^ - argument #1 of type `MinorId` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/channels.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | fn raw_send(&mut self, minor_id: MinorId, m: M) { [INFO] [stdout] | ^^^^^^^^ ----------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 226 | self.raw_send(/* MinorId */, m); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0308, E0425, E0433, E0560, E0586, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `major_id` [INFO] [stdout] --> src/channels.rs:209:7 [INFO] [stdout] | [INFO] [stdout] 209 | let major_id = self.current_major; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_major_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minor_id` [INFO] [stdout] --> src/channels.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | fn raw_send(&mut self, minor_id: MinorId, m: M) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minor_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/channels.rs:208:44 [INFO] [stdout] | [INFO] [stdout] 208 | fn raw_send(&mut self, minor_id: MinorId, m: M) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/channels.rs:229:31 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn group_send(&mut self, m: Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0107, E0308, E0425, E0433, E0560, E0586, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axial_2018` (bin "axial_2018") due to 18 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `axial_2018` (bin "axial_2018" test) due to 18 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1d9025ece124a689eace345e39e8197b296f10a879440d5c16b74c2a31d790a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d9025ece124a689eace345e39e8197b296f10a879440d5c16b74c2a31d790a9", kill_on_drop: false }` [INFO] [stdout] 1d9025ece124a689eace345e39e8197b296f10a879440d5c16b74c2a31d790a9