[INFO] updating cached repository https://github.com/agoops/state_scratch
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] db093869c84f6ad98d897f58631bcc0de7a0946b
[INFO] testing agoops/state_scratch against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagoops%2Fstate_scratch" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/agoops/state_scratch on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/agoops/state_scratch
[INFO] finished tweaking git repo https://github.com/agoops/state_scratch
[INFO] tweaked toml for git repo https://github.com/agoops/state_scratch written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/agoops/state_scratch already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] c529b00c5d1a278cc686db168f1d0c6790fdd82c2f1ffb6e73396fd6b2edd445
[INFO] running `"docker" "start" "-a" "c529b00c5d1a278cc686db168f1d0c6790fdd82c2f1ffb6e73396fd6b2edd445"`
[INFO] [stderr]    Compiling syn v0.15.38
[INFO] [stderr]    Compiling derive-new v0.5.6
[INFO] [stderr]    Compiling state_scratch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused import: `std::cell::RefCell`
[INFO] [stderr]   --> src/main.rs:93:5
[INFO] [stderr]    |
[INFO] [stderr] 93 | use std::cell::RefCell;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state_a`
[INFO] [stderr]   --> src/main.rs:30:27
[INFO] [stderr]    |
[INFO] [stderr] 30 |         if let ThingIn::A(state_a) = &mut self.cur_state {
[INFO] [stderr]    |                           ^^^^^^^ help: consider prefixing with an underscore: `_state_a`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of `self.cur_state` which is behind a mutable reference
[INFO] [stderr]   --> src/main.rs:36:30
[INFO] [stderr]    |
[INFO] [stderr] 36 |             self.cur_state = self.cur_state.transition(msg.unwrap()); // This 
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^ move occurs because `self.cur_state` has type `ThingIn`, which does not implement the `Copy` trait
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:56:23
[INFO] [stderr]    |
[INFO] [stderr] 56 |     pub fn transition(mut self, msg: Message) -> Self {
[INFO] [stderr]    |                       ----^^^^
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0507`.
[INFO] [stderr] error: could not compile `state_scratch`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "c529b00c5d1a278cc686db168f1d0c6790fdd82c2f1ffb6e73396fd6b2edd445"`
[INFO] running `"docker" "rm" "-f" "c529b00c5d1a278cc686db168f1d0c6790fdd82c2f1ffb6e73396fd6b2edd445"`
[INFO] [stdout] c529b00c5d1a278cc686db168f1d0c6790fdd82c2f1ffb6e73396fd6b2edd445
