[INFO] fetching crate kronicler 0.1.3... [INFO] checking kronicler-0.1.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate kronicler 0.1.3 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate kronicler 0.1.3 [INFO] finished tweaking crates.io crate kronicler 0.1.3 [INFO] tweaked toml for crates.io crate kronicler 0.1.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kronicler 0.1.3 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 kronicler 0.1.3 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d0be4c670457bff47829526ee1cf48d5b01a4d264000796376f87c9d6f7641d3 [INFO] running `Command { std: "docker" "start" "-a" "d0be4c670457bff47829526ee1cf48d5b01a4d264000796376f87c9d6f7641d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0be4c670457bff47829526ee1cf48d5b01a4d264000796376f87c9d6f7641d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0be4c670457bff47829526ee1cf48d5b01a4d264000796376f87c9d6f7641d3", kill_on_drop: false }` [INFO] [stdout] d0be4c670457bff47829526ee1cf48d5b01a4d264000796376f87c9d6f7641d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7d30bfa0098a84a690898eb4e2d7171b2dd7bf3f4cb4df27732a61ece0583a03 [INFO] running `Command { std: "docker" "start" "-a" "7d30bfa0098a84a690898eb4e2d7171b2dd7bf3f4cb4df27732a61ece0583a03", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling pyo3-build-config v0.25.1 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling pyo3-macros-backend v0.25.1 [INFO] [stderr] Compiling pyo3-ffi v0.25.1 [INFO] [stderr] Compiling pyo3 v0.25.1 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling pyo3-macros v0.25.1 [INFO] [stderr] Checking serde-big-array v0.5.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking kronicler v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/database.rs:228:24 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn exists() -> bool { [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/database.rs:234:46 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn new_reader(sync_consume: bool) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/database.rs:264:46 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn fetch(&mut self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/database.rs:290:36 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn fetch_all(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/database.rs:309:66 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn fetch_all_as_list<'py>(&mut self, py: Python<'py>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/database.rs:315:53 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn logs<'py>(&mut self, py: Python<'py>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/database.rs:319:45 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_function_names(&mut self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/database.rs:335:55 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn average(&mut self, function_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/page.rs:182:40 [INFO] [stdout] | [INFO] [stdout] 182 | let a: u128 = unsafe { std::mem::transmute(b) }; [INFO] [stdout] | -------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/queue.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn empty(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/row.rs:128:52 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn to_list<'py>(&self, py: Python<'py>) -> Bound<'py, pyo3::types::PyList> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kronicler` (lib) due to 10 previous errors; 1 warning emitted [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/database.rs:228:24 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn exists() -> bool { [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/database.rs:234:46 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn new_reader(sync_consume: bool) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/database.rs:264:46 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn fetch(&mut self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/database.rs:290:36 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn fetch_all(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/database.rs:309:66 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn fetch_all_as_list<'py>(&mut self, py: Python<'py>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/database.rs:315:53 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn logs<'py>(&mut self, py: Python<'py>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/database.rs:319:45 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_function_names(&mut self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/database.rs:335:55 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn average(&mut self, function_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/page.rs:182:40 [INFO] [stdout] | [INFO] [stdout] 182 | let a: u128 = unsafe { std::mem::transmute(b) }; [INFO] [stdout] | -------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/queue.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn empty(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/row.rs:128:52 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn to_list<'py>(&self, py: Python<'py>) -> Bound<'py, pyo3::types::PyList> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kronicler` (lib test) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7d30bfa0098a84a690898eb4e2d7171b2dd7bf3f4cb4df27732a61ece0583a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d30bfa0098a84a690898eb4e2d7171b2dd7bf3f4cb4df27732a61ece0583a03", kill_on_drop: false }` [INFO] [stdout] 7d30bfa0098a84a690898eb4e2d7171b2dd7bf3f4cb4df27732a61ece0583a03