[INFO] cloning repository https://github.com/erikjohnston/rust-matrix-state [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erikjohnston/rust-matrix-state" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Frust-matrix-state", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Frust-matrix-state'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b817b15b83ee3f626367a0e2be48eab333cd4f3 [INFO] testing erikjohnston/rust-matrix-state against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Frust-matrix-state" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erikjohnston/rust-matrix-state on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erikjohnston/rust-matrix-state [INFO] finished tweaking git repo https://github.com/erikjohnston/rust-matrix-state [INFO] tweaked toml for git repo https://github.com/erikjohnston/rust-matrix-state written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/erikjohnston/rust-matrix-state already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.10 [INFO] [stderr] Downloaded synstructure v0.5.2 [INFO] [stderr] Downloaded procinfo v0.4.2 [INFO] [stderr] Downloaded md5 v0.3.7 [INFO] [stderr] Downloaded console v0.6.1 [INFO] [stderr] Downloaded parking_lot v0.5.4 [INFO] [stderr] Downloaded socket2 v0.3.4 [INFO] [stderr] Downloaded fallible-iterator v0.1.4 [INFO] [stderr] Downloaded postgres-shared v0.4.1 [INFO] [stderr] Downloaded sha2 v0.7.0 [INFO] [stderr] Downloaded serde_json v1.0.13 [INFO] [stderr] Downloaded arrayref v0.3.4 [INFO] [stderr] Downloaded digest v0.7.2 [INFO] [stderr] Downloaded byteorder v1.2.2 [INFO] [stderr] Downloaded smallvec v0.6.0 [INFO] [stderr] Downloaded heapsize_derive v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b93c6014355aead0127249309883592cb3ff1d673ff2eb0399111e68cb7650e [INFO] running `Command { std: "docker" "start" "-a" "2b93c6014355aead0127249309883592cb3ff1d673ff2eb0399111e68cb7650e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b93c6014355aead0127249309883592cb3ff1d673ff2eb0399111e68cb7650e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b93c6014355aead0127249309883592cb3ff1d673ff2eb0399111e68cb7650e", kill_on_drop: false }` [INFO] [stdout] 2b93c6014355aead0127249309883592cb3ff1d673ff2eb0399111e68cb7650e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2942fe1ce50f92fd12d68e0ad8272aea1590226bbb6a2fe4ea8f8d142b1e4a2e [INFO] running `Command { std: "docker" "start" "-a" "2942fe1ce50f92fd12d68e0ad8272aea1590226bbb6a2fe4ea8f8d142b1e4a2e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling cc v1.0.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling matches v0.1.6 [INFO] [stderr] Compiling arrayref v0.3.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling smallvec v0.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling stable_deref_trait v1.0.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling fallible-iterator v0.1.4 [INFO] [stderr] Compiling md5 v0.3.7 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling serde v1.0.37 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling quote v0.5.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling rustc_version v0.2.2 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling socket2 v0.3.4 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling procinfo v0.4.2 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling synstructure v0.5.2 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling parking_lot_core v0.2.13 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling serde_derive_internals v0.23.0 [INFO] [stderr] Compiling digest v0.7.2 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling parking_lot v0.5.4 [INFO] [stderr] Compiling sha2 v0.7.0 [INFO] [stderr] Compiling heapsize_derive v0.1.4 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling postgres-shared v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.37 [INFO] [stderr] Compiling console v0.6.1 [INFO] [stderr] Compiling indicatif v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.13 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling backtrace v0.3.6 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling rust-state v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state_map.rs:365:41 [INFO] [stdout] | [INFO] [stdout] 365 | fn from_iter>(iter: T) -> StateMap { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 365 - fn from_iter>(iter: T) -> StateMap { [INFO] [stdout] 365 + fn from_iter>(iter: T) -> StateMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state_map.rs:380:41 [INFO] [stdout] | [INFO] [stdout] 380 | fn from_iter>(iter: T) -> StateMap { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 380 - fn from_iter>(iter: T) -> StateMap { [INFO] [stdout] 380 + fn from_iter>(iter: T) -> StateMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(mut v) = conflicted.get_mut(t, s) { [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: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let mut v = conflicted.get_mut_or_default(t, s); [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/main.rs:324:33 [INFO] [stdout] | [INFO] [stdout] 324 | let a = if let Some(mut i) = adjacents.get_mut(p as &str) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `users` [INFO] [stdout] --> src/auth.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | users: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PowerLevelContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/auth.rs:582:23 [INFO] [stdout] | [INFO] [stdout] 582 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `events` [INFO] [stdout] --> src/auth.rs:588:5 [INFO] [stdout] | [INFO] [stdout] 588 | events: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PowerLevelContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/auth.rs:582:23 [INFO] [stdout] | [INFO] [stdout] 582 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `users_default` [INFO] [stdout] --> src/auth.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 590 | users_default: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PowerLevelContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/auth.rs:582:23 [INFO] [stdout] | [INFO] [stdout] 582 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `events_default` [INFO] [stdout] --> src/auth.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 591 | events_default: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PowerLevelContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/auth.rs:582:23 [INFO] [stdout] | [INFO] [stdout] 582 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state_default` [INFO] [stdout] --> src/auth.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 592 | state_default: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PowerLevelContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/auth.rs:582:23 [INFO] [stdout] | [INFO] [stdout] 582 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ban` [INFO] [stdout] --> src/auth.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 594 | ban: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PowerLevelContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/auth.rs:582:23 [INFO] [stdout] | [INFO] [stdout] 582 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kick` [INFO] [stdout] --> src/auth.rs:595:5 [INFO] [stdout] | [INFO] [stdout] 595 | kick: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PowerLevelContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/auth.rs:582:23 [INFO] [stdout] | [INFO] [stdout] 582 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `invite` [INFO] [stdout] --> src/auth.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | invite: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PowerLevelContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/auth.rs:582:23 [INFO] [stdout] | [INFO] [stdout] 582 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `redact` [INFO] [stdout] --> src/auth.rs:597:5 [INFO] [stdout] | [INFO] [stdout] 597 | redact: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PowerLevelContent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/auth.rs:582:23 [INFO] [stdout] | [INFO] [stdout] 582 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sender` [INFO] [stdout] --> src/auth.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 644 | sender: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ThridPartyInviteSigned` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/auth.rs:641:10 [INFO] [stdout] | [INFO] [stdout] 641 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "2942fe1ce50f92fd12d68e0ad8272aea1590226bbb6a2fe4ea8f8d142b1e4a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2942fe1ce50f92fd12d68e0ad8272aea1590226bbb6a2fe4ea8f8d142b1e4a2e", kill_on_drop: false }` [INFO] [stdout] 2942fe1ce50f92fd12d68e0ad8272aea1590226bbb6a2fe4ea8f8d142b1e4a2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 332e0e5f54bd1f355d50a610305e7b5a3c6cfa979293b205f422e037a9fc3001 [INFO] running `Command { std: "docker" "start" "-a" "332e0e5f54bd1f355d50a610305e7b5a3c6cfa979293b205f422e037a9fc3001", kill_on_drop: false }` [INFO] [stderr] Compiling rust-state v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state_map.rs:365:41 [INFO] [stdout] | [INFO] [stdout] 365 | fn from_iter>(iter: T) -> StateMap { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 365 - fn from_iter>(iter: T) -> StateMap { [INFO] [stdout] 365 + fn from_iter>(iter: T) -> StateMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/state_map.rs:380:41 [INFO] [stdout] | [INFO] [stdout] 380 | fn from_iter>(iter: T) -> StateMap { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 380 - fn from_iter>(iter: T) -> StateMap { [INFO] [stdout] 380 + fn from_iter>(iter: T) -> StateMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/state_map.rs:403:49 [INFO] [stdout] | [INFO] [stdout] 403 | let res = state_map.add_or_remove(t, s, 2); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&{integer}`, found integer [INFO] [stdout] | help: consider borrowing here: `&2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/state_map.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | assert_eq!(res, Some((2, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected integer, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<{integer}>` [INFO] [stdout] found enum `std::option::Option<({integer}, {integer})>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/state_map.rs:408:49 [INFO] [stdout] | [INFO] [stdout] 408 | let res = state_map.add_or_remove(t, s, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&{integer}`, found integer [INFO] [stdout] | help: consider borrowing here: `&1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/state_map.rs:411:49 [INFO] [stdout] | [INFO] [stdout] 411 | let res = state_map.add_or_remove(t, s, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&{integer}`, found integer [INFO] [stdout] | help: consider borrowing here: `&1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-state` due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "332e0e5f54bd1f355d50a610305e7b5a3c6cfa979293b205f422e037a9fc3001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332e0e5f54bd1f355d50a610305e7b5a3c6cfa979293b205f422e037a9fc3001", kill_on_drop: false }` [INFO] [stdout] 332e0e5f54bd1f355d50a610305e7b5a3c6cfa979293b205f422e037a9fc3001