[INFO] fetching crate lightmotif-py 0.10.0... [INFO] checking lightmotif-py-0.10.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate lightmotif-py 0.10.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate lightmotif-py 0.10.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lightmotif-py 0.10.0 [INFO] tweaked toml for crates.io crate lightmotif-py 0.10.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lightmotif-py 0.10.0 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 crates.io crate lightmotif-py 0.10.0 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8636603d72cc59ffac9c47dbb555f70e7b2e3386e4d3fab93383a60c79f349a1 [INFO] running `Command { std: "docker" "start" "-a" "8636603d72cc59ffac9c47dbb555f70e7b2e3386e4d3fab93383a60c79f349a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8636603d72cc59ffac9c47dbb555f70e7b2e3386e4d3fab93383a60c79f349a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8636603d72cc59ffac9c47dbb555f70e7b2e3386e4d3fab93383a60c79f349a1", kill_on_drop: false }` [INFO] [stdout] 8636603d72cc59ffac9c47dbb555f70e7b2e3386e4d3fab93383a60c79f349a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6e05b740f1c070b78dbdddac91379bfc80c1ac7dbd1b7a547375871322670b03 [INFO] running `Command { std: "docker" "start" "-a" "6e05b740f1c070b78dbdddac91379bfc80c1ac7dbd1b7a547375871322670b03", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling pyo3-build-config v0.23.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking generic-array v1.2.0 [INFO] [stderr] Checking lightmotif v0.10.0 [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] Checking lightmotif-tfmpvalue v0.10.0 [INFO] [stderr] Checking lightmotif-io v0.10.0 [INFO] [stderr] Compiling pyo3-macros v0.23.5 [INFO] [stderr] Checking lightmotif-py v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> lightmotif/lib.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn __copy__(&self) -> Self { [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] --> lightmotif/lib.rs:258:27 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn copy(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> lightmotif/lib.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn stripe(&self) -> StripedSequence { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> lightmotif/lib.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn __copy__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> lightmotif/lib.rs:367:27 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn copy(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:822:41 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn score_distribution<'py>(slf: Bound<'py, Self>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:856:14 [INFO] [stdout] | [INFO] [stdout] 856 | slf: Bound<'_, Self>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:878:24 [INFO] [stdout] | [INFO] [stdout] 878 | pub fn pvalue(slf: Bound<'_, Self>, score: f64, method: &str) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> lightmotif/lib.rs:906:47 [INFO] [stdout] | [INFO] [stdout] 906 | pub fn max_score(slf: PyRef<'_, Self>) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:915:23 [INFO] [stdout] | [INFO] [stdout] 915 | pub fn score(slf: Bound<'_, Self>, pvalue: f64, method: &str) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:1094:63 [INFO] [stdout] | [INFO] [stdout] 1094 | pub fn threshold(slf: PyRef<'_, Self>, threshold: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:1108:41 [INFO] [stdout] | [INFO] [stdout] 1108 | pub fn max(slf: PyRef<'_, Self>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:1122:44 [INFO] [stdout] | [INFO] [stdout] 1122 | pub fn argmax(slf: PyRef<'_, Self>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lightmotif-py` (lib) due to 13 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] --> lightmotif/lib.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn __copy__(&self) -> Self { [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] --> lightmotif/lib.rs:258:27 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn copy(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> lightmotif/lib.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn stripe(&self) -> StripedSequence { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> lightmotif/lib.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn __copy__(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> lightmotif/lib.rs:367:27 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn copy(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:822:41 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn score_distribution<'py>(slf: Bound<'py, Self>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:856:14 [INFO] [stdout] | [INFO] [stdout] 856 | slf: Bound<'_, Self>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:878:24 [INFO] [stdout] | [INFO] [stdout] 878 | pub fn pvalue(slf: Bound<'_, Self>, score: f64, method: &str) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> lightmotif/lib.rs:906:47 [INFO] [stdout] | [INFO] [stdout] 906 | pub fn max_score(slf: PyRef<'_, Self>) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:915:23 [INFO] [stdout] | [INFO] [stdout] 915 | pub fn score(slf: Bound<'_, Self>, pvalue: f64, method: &str) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:1094:63 [INFO] [stdout] | [INFO] [stdout] 1094 | pub fn threshold(slf: PyRef<'_, Self>, threshold: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:1108:41 [INFO] [stdout] | [INFO] [stdout] 1108 | pub fn max(slf: PyRef<'_, Self>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> lightmotif/lib.rs:1122:44 [INFO] [stdout] | [INFO] [stdout] 1122 | pub fn argmax(slf: PyRef<'_, Self>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lightmotif-py` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "6e05b740f1c070b78dbdddac91379bfc80c1ac7dbd1b7a547375871322670b03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e05b740f1c070b78dbdddac91379bfc80c1ac7dbd1b7a547375871322670b03", kill_on_drop: false }` [INFO] [stdout] 6e05b740f1c070b78dbdddac91379bfc80c1ac7dbd1b7a547375871322670b03