[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-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Frust-matrix-state" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/erikjohnston/rust-matrix-state on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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-2020-10-09" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ede57ba7a8e4568c3380a8294b6b0080b57c34590db6fe2392b59db845bbc159
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ede57ba7a8e4568c3380a8294b6b0080b57c34590db6fe2392b59db845bbc159", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ede57ba7a8e4568c3380a8294b6b0080b57c34590db6fe2392b59db845bbc159", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ede57ba7a8e4568c3380a8294b6b0080b57c34590db6fe2392b59db845bbc159", kill_on_drop: false }`
[INFO] [stdout] ede57ba7a8e4568c3380a8294b6b0080b57c34590db6fe2392b59db845bbc159
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c6fc0c0ddf931484da76e82656a01329cde02e25a6b2c78bd723bf0300ec529
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3c6fc0c0ddf931484da76e82656a01329cde02e25a6b2c78bd723bf0300ec529", kill_on_drop: false }`
[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 quote v0.3.15
[INFO] [stderr]    Compiling byteorder v1.2.2
[INFO] [stderr]    Compiling byte-tools v0.2.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling cc v1.0.10
[INFO] [stderr]    Compiling constant_time_eq v0.1.3
[INFO] [stderr]    Compiling matches v0.1.6
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]    Compiling arrayref v0.3.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.5
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling smallvec v0.6.0
[INFO] [stderr]    Compiling lazy_static v1.0.0
[INFO] [stderr]    Compiling siphasher v0.2.2
[INFO] [stderr]    Compiling unicode-width v0.1.4
[INFO] [stderr]    Compiling stable_deref_trait v1.0.0
[INFO] [stderr]    Compiling safemem v0.2.0
[INFO] [stderr]    Compiling regex v0.2.10
[INFO] [stderr]    Compiling fallible-iterator v0.1.4
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[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 num-traits v0.2.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]    Compiling dtoa v0.4.2
[INFO] [stderr]    Compiling serde v1.0.37
[INFO] [stderr]    Compiling bitflags v1.0.1
[INFO] [stderr]    Compiling vec_map v0.8.0
[INFO] [stderr]    Compiling itoa v0.4.1
[INFO] [stderr]    Compiling nom v2.2.1
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling proc-macro2 v0.3.5
[INFO] [stderr]    Compiling log v0.4.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling block-buffer v0.3.3
[INFO] [stderr]    Compiling owning_ref v0.3.3
[INFO] [stderr]    Compiling textwrap v0.9.0
[INFO] [stderr]    Compiling regex-syntax v0.5.3
[INFO] [stderr]    Compiling phf_shared v0.7.21
[INFO] [stderr]    Compiling base64 v0.6.0
[INFO] [stderr]    Compiling rustc_version v0.2.2
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling memchr v1.0.2
[INFO] [stderr]    Compiling termios v0.2.2
[INFO] [stderr]    Compiling clicolors-control v0.2.0
[INFO] [stderr]    Compiling socket2 v0.3.4
[INFO] [stderr]    Compiling atty v0.2.8
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling phf v0.7.21
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling quote v0.5.1
[INFO] [stderr]    Compiling bytes v0.4.6
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling clap v2.31.2
[INFO] [stderr]    Compiling procinfo v0.4.2
[INFO] [stderr]    Compiling syn v0.13.1
[INFO] [stderr]    Compiling parking_lot_core v0.2.13
[INFO] [stderr]    Compiling rand v0.3.22
[INFO] [stderr]    Compiling backtrace-sys v0.1.16
[INFO] [stderr]    Compiling parking_lot v0.5.4
[INFO] [stderr]    Compiling generic-array v0.9.0
[INFO] [stderr]    Compiling digest v0.7.2
[INFO] [stderr]    Compiling crypto-mac v0.5.2
[INFO] [stderr]    Compiling sha2 v0.7.0
[INFO] [stderr]    Compiling hmac v0.5.0
[INFO] [stderr]    Compiling synstructure v0.6.1
[INFO] [stderr]    Compiling synstructure v0.5.2
[INFO] [stderr]    Compiling postgres-protocol v0.3.2
[INFO] [stderr]    Compiling heapsize_derive v0.1.4
[INFO] [stderr]    Compiling failure_derive v0.1.1
[INFO] [stderr]    Compiling postgres-shared v0.4.1
[INFO] [stderr]    Compiling serde_derive_internals v0.23.0
[INFO] [stderr]    Compiling postgres v0.15.2
[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 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<T: IntoIterator<Item = (((String, String), E))>>(iter: T) -> StateMap<E> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[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<T: IntoIterator<Item = (((&'a str, &'a str), E))>>(iter: T) -> StateMap<E> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[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]     = 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: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] 
[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: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 41s
[INFO] running `Command { std: "docker" "inspect" "3c6fc0c0ddf931484da76e82656a01329cde02e25a6b2c78bd723bf0300ec529", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c6fc0c0ddf931484da76e82656a01329cde02e25a6b2c78bd723bf0300ec529", kill_on_drop: false }`
[INFO] [stdout] 3c6fc0c0ddf931484da76e82656a01329cde02e25a6b2c78bd723bf0300ec529
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a24e8962479906f27c185bcab966cf5b4dc9170956a8d175d4c79ab581238549
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a24e8962479906f27c185bcab966cf5b4dc9170956a8d175d4c79ab581238549", 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<T: IntoIterator<Item = (((String, String), E))>>(iter: T) -> StateMap<E> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[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<T: IntoIterator<Item = (((&'a str, &'a str), E))>>(iter: T) -> StateMap<E> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[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 a macro (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`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "a24e8962479906f27c185bcab966cf5b4dc9170956a8d175d4c79ab581238549", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a24e8962479906f27c185bcab966cf5b4dc9170956a8d175d4c79ab581238549", kill_on_drop: false }`
[INFO] [stdout] a24e8962479906f27c185bcab966cf5b4dc9170956a8d175d4c79ab581238549
