[INFO] fetching crate redgold-schema 0.1.21... [INFO] checking redgold-schema-0.1.21 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate redgold-schema 0.1.21 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate redgold-schema 0.1.21 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate redgold-schema 0.1.21 [INFO] finished tweaking crates.io crate redgold-schema 0.1.21 [INFO] tweaked toml for crates.io crate redgold-schema 0.1.21 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 127 packages [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.0) [INFO] [stderr] Adding fixedbitset v0.2.0 (latest: v0.5.6) [INFO] [stderr] Adding fixedbitset v0.4.2 (latest: v0.5.6) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding itertools v0.9.0 (latest: v0.12.1) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding multimap v0.8.3 (latest: v0.10.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding petgraph v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding prost v0.7.0 (latest: v0.12.3) [INFO] [stderr] Adding prost v0.8.0 (latest: v0.12.3) [INFO] [stderr] Adding prost v0.9.0 (latest: v0.12.3) [INFO] [stderr] Adding prost v0.11.9 (latest: v0.12.3) [INFO] [stderr] Adding prost-build v0.8.0 (latest: v0.12.3) [INFO] [stderr] Adding prost-build v0.9.0 (latest: v0.12.3) [INFO] [stderr] Adding prost-derive v0.7.0 (latest: v0.12.3) [INFO] [stderr] Adding prost-derive v0.8.0 (latest: v0.12.3) [INFO] [stderr] Adding prost-derive v0.9.0 (latest: v0.12.3) [INFO] [stderr] Adding prost-derive v0.11.9 (latest: v0.12.3) [INFO] [stderr] Adding prost-helper v0.2.2 (latest: v0.8.3) [INFO] [stderr] Adding prost-helper v0.7.0 (latest: v0.8.3) [INFO] [stderr] Adding prost-types v0.8.0 (latest: v0.12.3) [INFO] [stderr] Adding prost-types v0.9.0 (latest: v0.12.3) [INFO] [stderr] Adding strsim v0.10.0 (latest: v0.11.1) [INFO] [stderr] Adding strum v0.25.0 (latest: v0.26.2) [INFO] [stderr] Adding strum_macros v0.25.3 (latest: v0.26.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-serde v0.3.0 [INFO] [stderr] Downloaded prost-derive v0.7.0 [INFO] [stderr] Downloaded prost-helper v0.2.2 [INFO] [stderr] Downloaded prost-helper v0.7.0 [INFO] [stderr] Downloaded prost v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c33647e740cda152212854197a907da16e5339dc8792b2da132cb818f46c531 [INFO] running `Command { std: "docker" "start" "-a" "4c33647e740cda152212854197a907da16e5339dc8792b2da132cb818f46c531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c33647e740cda152212854197a907da16e5339dc8792b2da132cb818f46c531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c33647e740cda152212854197a907da16e5339dc8792b2da132cb818f46c531", kill_on_drop: false }` [INFO] [stdout] 4c33647e740cda152212854197a907da16e5339dc8792b2da132cb818f46c531 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61ab3f62808d0e21d6d212ca2c48f6c627353eaaea3f33db0df683d2f5eda219 [INFO] running `Command { std: "docker" "start" "-a" "61ab3f62808d0e21d6d212ca2c48f6c627353eaaea3f33db0df683d2f5eda219", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking backtrace v0.3.71 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.7.0 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking prost-helper v0.7.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking serde_with v3.7.0 [INFO] [stderr] Compiling prost-helper v0.2.2 [INFO] [stderr] Compiling prost-serde v0.3.0 [INFO] [stderr] Compiling redgold-schema v0.1.21 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | for mut x in self.inputs.iter_mut() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/transaction.rs:117:48 [INFO] [stdout] | [INFO] [stdout] 117 | self.outputs.iter().enumerate().find(|(i, o)| o.observation().is_ok() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/util/xor_distance.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|(p, n)| n) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/xor_distance.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut res = self.iter() [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/errors.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn mark_abort(mut self) -> RgResult { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction_builder.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut o = option.ok_or(error_info("Missing output"))?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/transaction_builder.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | if let Ok(a) = o.safe_ensure_amount() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction_builder.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut x = self.transaction.options.as_mut().expect(""); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/transaction_builder.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let data = output.data.safe_get()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction_builder.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mut input = utxo.to_input(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | for mut x in self.inputs.iter_mut() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/transaction.rs:117:48 [INFO] [stdout] | [INFO] [stdout] 117 | self.outputs.iter().enumerate().find(|(i, o)| o.observation().is_ok() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/util/xor_distance.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|(p, n)| n) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/xor_distance.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut res = self.iter() [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/errors.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn mark_abort(mut self) -> RgResult { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction_builder.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut o = option.ok_or(error_info("Missing output"))?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/transaction_builder.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | if let Ok(a) = o.safe_ensure_amount() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction_builder.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut x = self.transaction.options.as_mut().expect(""); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/transaction_builder.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let data = output.data.safe_get()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transaction_builder.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mut input = utxo.to_input(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Proof` instead of cloning the inner type [INFO] [stdout] --> src/transaction.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | Ok(proof_act.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&UtxoEntry` instead of cloning the inner type [INFO] [stdout] --> src/transaction.rs:396:16 [INFO] [stdout] | [INFO] [stdout] 396 | Ok(utxo.clone().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Proof` instead of cloning the inner type [INFO] [stdout] --> src/transaction.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | Ok(proof_act.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&UtxoEntry` instead of cloning the inner type [INFO] [stdout] --> src/transaction.rs:396:16 [INFO] [stdout] | [INFO] [stdout] 396 | Ok(utxo.clone().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.95s [INFO] running `Command { std: "docker" "inspect" "61ab3f62808d0e21d6d212ca2c48f6c627353eaaea3f33db0df683d2f5eda219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ab3f62808d0e21d6d212ca2c48f6c627353eaaea3f33db0df683d2f5eda219", kill_on_drop: false }` [INFO] [stdout] 61ab3f62808d0e21d6d212ca2c48f6c627353eaaea3f33db0df683d2f5eda219