[INFO] cloning repository https://github.com/VascoSch92/symmetria-core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VascoSch92/symmetria-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVascoSch92%2Fsymmetria-core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVascoSch92%2Fsymmetria-core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0f6f78d64bce8523fe097e9cc8af92ff3c97ddd [INFO] checking VascoSch92/symmetria-core against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVascoSch92%2Fsymmetria-core" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/VascoSch92/symmetria-core [INFO] finished tweaking git repo https://github.com/VascoSch92/symmetria-core [INFO] tweaked toml for git repo https://github.com/VascoSch92/symmetria-core written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VascoSch92/symmetria-core on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VascoSch92/symmetria-core 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 354ee1d7d387af8d95647b39a85ed6508886fbc4aa7b582bb55d18ffaecd4f14 [INFO] running `Command { std: "docker" "start" "-a" "354ee1d7d387af8d95647b39a85ed6508886fbc4aa7b582bb55d18ffaecd4f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "354ee1d7d387af8d95647b39a85ed6508886fbc4aa7b582bb55d18ffaecd4f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "354ee1d7d387af8d95647b39a85ed6508886fbc4aa7b582bb55d18ffaecd4f14", kill_on_drop: false }` [INFO] [stdout] 354ee1d7d387af8d95647b39a85ed6508886fbc4aa7b582bb55d18ffaecd4f14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a124d4b8cadf9992aa63b2d63bb4346e2492ff1212127db922cb61cf2bc9c1c [INFO] running `Command { std: "docker" "start" "-a" "7a124d4b8cadf9992aa63b2d63bb4346e2492ff1212127db922cb61cf2bc9c1c", kill_on_drop: false }` [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling pyo3-build-config v0.23.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling pyo3-ffi v0.23.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.23.5 [INFO] [stderr] Compiling pyo3 v0.23.5 [INFO] [stderr] Compiling pyo3-macros v0.23.5 [INFO] [stderr] Checking symmetria-core v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/cycle.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn call_on_int(cycle: Vec, idx: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/cycle.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn call_on_str(cycle: Vec, string: String) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/cycle.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn int_repr(cycle: Vec) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/cycle.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn inversions(cycle: Vec) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/cycle.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn map(cycle: Vec) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/cycle.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn repr(cycle: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/cycle.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn standardization(cycle: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/cycle.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn str(cycle: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/permutation.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn int_repr(image: Vec) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/permutation.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn repr(image: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn ascents(image: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/permutation.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn call_on_int(image: Vec, idx: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn descents(image: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:93:54 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn exceedances(image: Vec, weakly: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/permutation.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn is_derangement(image: Vec) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:119:40 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn lehmer_code(image: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:143:39 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn inversions(image: Vec) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/permutation.rs:168:47 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn lexicographic_rank(image: Vec) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn records(image: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:218:36 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn support(image: Vec) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/table.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | fn _get_header(&self, length_table: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/table.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | fn _get_row(&self, half_length: usize, a: &str, b: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/table.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | fn _get_separation(&self, length_table: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `symmetria-core` (lib) due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/cycle.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn call_on_int(cycle: Vec, idx: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/cycle.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn call_on_str(cycle: Vec, string: String) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/cycle.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn int_repr(cycle: Vec) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/cycle.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn inversions(cycle: Vec) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/cycle.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn map(cycle: Vec) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/cycle.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn repr(cycle: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/cycle.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn standardization(cycle: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/cycle.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn str(cycle: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/permutation.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn int_repr(image: Vec) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/permutation.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn repr(image: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn ascents(image: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/permutation.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn call_on_int(image: Vec, idx: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn descents(image: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:93:54 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn exceedances(image: Vec, weakly: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/permutation.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn is_derangement(image: Vec) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:119:40 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn lehmer_code(image: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:143:39 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn inversions(image: Vec) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/permutation.rs:168:47 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn lexicographic_rank(image: Vec) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn records(image: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/elements/permutation.rs:218:36 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn support(image: Vec) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/table.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | fn _get_header(&self, length_table: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/table.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | fn _get_row(&self, half_length: usize, a: &str, b: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/elements/table.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | fn _get_separation(&self, length_table: usize) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `symmetria-core` (lib test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "7a124d4b8cadf9992aa63b2d63bb4346e2492ff1212127db922cb61cf2bc9c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a124d4b8cadf9992aa63b2d63bb4346e2492ff1212127db922cb61cf2bc9c1c", kill_on_drop: false }` [INFO] [stdout] 7a124d4b8cadf9992aa63b2d63bb4346e2492ff1212127db922cb61cf2bc9c1c