[INFO] cloning repository https://github.com/wyhinton/enum_dispatch_issue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wyhinton/enum_dispatch_issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyhinton%2Fenum_dispatch_issue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyhinton%2Fenum_dispatch_issue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31576a08478e61cfd37d2d5190bdd15541aa5c6e [INFO] testing wyhinton/enum_dispatch_issue against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyhinton%2Fenum_dispatch_issue" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wyhinton/enum_dispatch_issue on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wyhinton/enum_dispatch_issue [INFO] finished tweaking git repo https://github.com/wyhinton/enum_dispatch_issue [INFO] tweaked toml for git repo https://github.com/wyhinton/enum_dispatch_issue written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/wyhinton/enum_dispatch_issue already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum_dispatch v0.3.6 [INFO] [stderr] Downloaded arrayvec v0.7.0 [INFO] [stderr] Downloaded syn v1.0.70 [INFO] [stderr] Downloaded colored v2.0.0 [INFO] [stderr] Downloaded undo v0.46.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c6e8477ad13a81e223303bb4abdefc6609dbfb90d4b7da4e5a14b928e36447c [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" "6c6e8477ad13a81e223303bb4abdefc6609dbfb90d4b7da4e5a14b928e36447c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c6e8477ad13a81e223303bb4abdefc6609dbfb90d4b7da4e5a14b928e36447c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c6e8477ad13a81e223303bb4abdefc6609dbfb90d4b7da4e5a14b928e36447c", kill_on_drop: false }` [INFO] [stdout] 6c6e8477ad13a81e223303bb4abdefc6609dbfb90d4b7da4e5a14b928e36447c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17f85ee9bdd29a538ff1975c2cd65bf1e70c3b30441491f44cb046116bf18362 [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" "17f85ee9bdd29a538ff1975c2cd65bf1e70c3b30441491f44cb046116bf18362", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling arrayvec v0.7.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling enum_dispatch v0.3.6 [INFO] [stderr] Compiling undo v0.46.2 [INFO] [stderr] Compiling hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/main.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | fn merge(&mut self, test: &mut AppActionEnum) -> Merged { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_name(&mut self, name: String){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | fn undo(&mut self, target: &mut AppState) -> Result<(), String>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/main.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | fn merge(&mut self, test: &mut AppActionEnum) -> Merged { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `self.history` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | self.history.apply(self, AppActionEnum::DoAddName(AddName("testing yes".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^-----^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | first mutable borrow occurs here [INFO] [stdout] | | first borrow later used by call [INFO] [stdout] | second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | self.history.apply(self, AppActionEnum::DoAddName(AddName("testing yes".to_string()))); [INFO] [stdout] | ------------ ----- ^^^^ second mutable borrow occurs here [INFO] [stdout] | | | [INFO] [stdout] | | first borrow later used by call [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_cargo` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "17f85ee9bdd29a538ff1975c2cd65bf1e70c3b30441491f44cb046116bf18362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f85ee9bdd29a538ff1975c2cd65bf1e70c3b30441491f44cb046116bf18362", kill_on_drop: false }` [INFO] [stdout] 17f85ee9bdd29a538ff1975c2cd65bf1e70c3b30441491f44cb046116bf18362