[INFO] cloning repository https://github.com/hugof38/pysnaptest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hugof38/pysnaptest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhugof38%2Fpysnaptest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhugof38%2Fpysnaptest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4d34bc5b32a01abdf0bfc0be470bd27834ad0d5 [INFO] checking hugof38/pysnaptest 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%2Fhugof38%2Fpysnaptest" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hugof38/pysnaptest [INFO] finished tweaking git repo https://github.com/hugof38/pysnaptest [INFO] tweaked toml for git repo https://github.com/hugof38/pysnaptest written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hugof38/pysnaptest 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/hugof38/pysnaptest 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 62a5f386fa05128e0765b6446e1cf9f9113a49b48badd709588164730e530eb4 [INFO] running `Command { std: "docker" "start" "-a" "62a5f386fa05128e0765b6446e1cf9f9113a49b48badd709588164730e530eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62a5f386fa05128e0765b6446e1cf9f9113a49b48badd709588164730e530eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62a5f386fa05128e0765b6446e1cf9f9113a49b48badd709588164730e530eb4", kill_on_drop: false }` [INFO] [stdout] 62a5f386fa05128e0765b6446e1cf9f9113a49b48badd709588164730e530eb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d9b3ab9ae547e4c6875455e8a610bcec50f9d94dbdfa4156ee80b493e9770c95 [INFO] running `Command { std: "docker" "start" "-a" "d9b3ab9ae547e4c6875455e8a610bcec50f9d94dbdfa4156ee80b493e9770c95", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling python3-dll-a v0.2.12 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling pyo3-build-config v0.24.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling pyo3-ffi v0.24.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.24.0 [INFO] [stderr] Compiling pyo3 v0.24.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking pest v2.7.15 [INFO] [stderr] Checking pin-project v1.1.8 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pyo3-macros v0.24.0 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking insta v1.42.1 [INFO] [stderr] Checking pythonize v0.24.0 [INFO] [stderr] Checking pysnaptest v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result<&PathBuf, Infallible> [INFO] [stdout] --> src/lib.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn snapshot_folder(&self) -> &PathBuf { [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/lib.rs:138:41 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn last_snapshot_name(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn next_snapshot_name(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pysnaptest` (lib) due to 3 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<&PathBuf, Infallible> [INFO] [stdout] --> src/lib.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn snapshot_folder(&self) -> &PathBuf { [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/lib.rs:138:41 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn last_snapshot_name(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn next_snapshot_name(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, pyo3::Bound<'_, pyo3::PyAny>> [INFO] [stdout] --> src/mocks.rs:302:36 [INFO] [stdout] | [INFO] [stdout] 302 | let py_fn: Py = module.getattr("compute")?.into_pyobject(py)?.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/mocks.rs:302:36 [INFO] [stdout] | [INFO] [stdout] 302 | let py_fn: Py = module.getattr("compute")?.into_pyobject(py)?.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/mocks.rs:309:41 [INFO] [stdout] | [INFO] [stdout] 309 | let args = PyTuple::new(py, 7.into_pyobject(py))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/mocks.rs:317:41 [INFO] [stdout] | [INFO] [stdout] 317 | let args = PyTuple::new(py, 7.into_pyobject(py))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pysnaptest` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "d9b3ab9ae547e4c6875455e8a610bcec50f9d94dbdfa4156ee80b493e9770c95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9b3ab9ae547e4c6875455e8a610bcec50f9d94dbdfa4156ee80b493e9770c95", kill_on_drop: false }` [INFO] [stdout] d9b3ab9ae547e4c6875455e8a610bcec50f9d94dbdfa4156ee80b493e9770c95