[INFO] cloning repository https://github.com/EwdErna/REditor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EwdErna/REditor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEwdErna%2FREditor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEwdErna%2FREditor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 67372cf9724b0c4f59beed96fa6ee692653bc8ef
[INFO] checking EwdErna/REditor/67372cf9724b0c4f59beed96fa6ee692653bc8ef against c9ff496891c278ad660bc0ab85c1f0b72059464a for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEwdErna%2FREditor" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/EwdErna/REditor
[INFO] finished tweaking git repo https://github.com/EwdErna/REditor
[INFO] tweaked toml for git repo https://github.com/EwdErna/REditor written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/EwdErna/REditor on toolchain c9ff496891c278ad660bc0ab85c1f0b72059464a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/EwdErna/REditor already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasmer_enumset_derive v0.5.0
[INFO] [stderr]   Downloaded darling v0.10.2
[INFO] [stderr]   Downloaded wasmer_enumset v1.0.1
[INFO] [stderr]   Downloaded cursive v0.16.3
[INFO] [stderr]   Downloaded darling_macro v0.10.2
[INFO] [stderr]   Downloaded strsim v0.9.3
[INFO] [stderr]   Downloaded ncurses v5.101.0
[INFO] [stderr]   Downloaded signal-hook v0.3.7
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.3
[INFO] [stderr]   Downloaded darling_core v0.10.2
[INFO] [stderr]   Downloaded ahash v0.6.3
[INFO] [stderr]   Downloaded syn v1.0.65
[INFO] [stderr]   Downloaded cursive_core v0.2.2
[INFO] [stderr]   Downloaded libc v0.2.91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d7db3fc6aa8245f948f2330f757cd8ee9c4edfa227afabc18e8a46fb84a38b7a
[INFO] running `Command { std: "docker" "start" "d7db3fc6aa8245f948f2330f757cd8ee9c4edfa227afabc18e8a46fb84a38b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d7db3fc6aa8245f948f2330f757cd8ee9c4edfa227afabc18e8a46fb84a38b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d7db3fc6aa8245f948f2330f757cd8ee9c4edfa227afabc18e8a46fb84a38b7a" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d7db3fc6aa8245f948f2330f757cd8ee9c4edfa227afabc18e8a46fb84a38b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d7db3fc6aa8245f948f2330f757cd8ee9c4edfa227afabc18e8a46fb84a38b7a" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.65
[INFO] [stderr]    Compiling libc v0.2.91
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]     Checking unicode-xid v0.2.1
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling ahash v0.6.3
[INFO] [stderr]    Compiling ncurses v5.101.0
[INFO] [stderr]    Compiling signal-hook v0.3.7
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]     Checking unicode-segmentation v1.7.1
[INFO] [stderr]     Checking owning_ref v0.4.1
[INFO] [stderr]     Checking xi-unicode v0.3.0
[INFO] [stderr]     Checking quote v1.0.9
[INFO] [stderr]     Checking num-integer v0.1.44
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking term_size v0.3.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.0
[INFO] [stderr]     Checking num-rational v0.3.2
[INFO] [stderr]     Checking num-iter v0.1.42
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking num v0.3.1
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]    Compiling enum-map-derive v0.4.6
[INFO] [stderr]     Checking enum-map v0.6.4
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling wasmer_enumset_derive v0.5.0
[INFO] [stderr]     Checking wasmer_enumset v1.0.1
[INFO] [stderr]     Checking cursive_core v0.2.2
[INFO] [stderr]     Checking cursive v0.16.3
[INFO] [stderr]     Checking reditor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `s`
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | /         REditor {
[INFO] [stdout] 27 | |             siv: default(),
[INFO] [stdout] 28 | |             state: s,
[INFO] [stdout] 29 | |             canvas: views::Canvas::new(&s),
[INFO] [stdout]    | |                                        -- `s` is borrowed here
[INFO] [stdout] 30 | |         }
[INFO] [stdout]    | |_________^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `s`
[INFO] [stdout]   --> src/main.rs:29:40
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let s = StateContainer::new();
[INFO] [stdout]    |             - move occurs because `s` has type `StateContainer`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 28 |             state: s,
[INFO] [stdout]    |                    - value moved here
[INFO] [stdout] 29 |             canvas: views::Canvas::new(&s),
[INFO] [stdout]    |                                        ^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: if `StateContainer` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/main.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | struct StateContainer {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 28 |             state: s,
[INFO] [stdout]    |                    - you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of method
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn init(&mut self) {
[INFO] [stdout]    |             ---------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             `self` is a reference that is only valid in the method body
[INFO] [stdout]    |             has type `&mut REditor<'1>`
[INFO] [stdout] ...
[INFO] [stdout] 39 |         self.siv.add_fullscreen_layer(self.canvas);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         `self` escapes the method body here
[INFO] [stdout]    |         argument requires that `'1` must outlive `'static`
[INFO] [stdout]    |
[INFO] [stdout]    = note: requirement occurs because of the type `Canvas<&StateContainer>`, which makes the generic argument `&StateContainer` invariant
[INFO] [stdout]    = note: the struct `Canvas<T>` is invariant over the parameter `T`
[INFO] [stdout]    = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.canvas` which is behind a mutable reference
[INFO] [stdout]   --> src/main.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |         self.siv.add_fullscreen_layer(self.canvas);
[INFO] [stdout]    |                                       ^^^^^^^^^^^ move occurs because `self.canvas` has type `Canvas<&StateContainer>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0507, E0515, E0521.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `s`
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | /         REditor {
[INFO] [stdout] 27 | |             siv: default(),
[INFO] [stdout] 28 | |             state: s,
[INFO] [stdout] 29 | |             canvas: views::Canvas::new(&s),
[INFO] [stdout]    | |                                        -- `s` is borrowed here
[INFO] [stdout] 30 | |         }
[INFO] [stdout]    | |_________^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `s`
[INFO] [stdout]   --> src/main.rs:29:40
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let s = StateContainer::new();
[INFO] [stdout]    |             - move occurs because `s` has type `StateContainer`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 28 |             state: s,
[INFO] [stdout]    |                    - value moved here
[INFO] [stdout] 29 |             canvas: views::Canvas::new(&s),
[INFO] [stdout]    |                                        ^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: if `StateContainer` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/main.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | struct StateContainer {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 28 |             state: s,
[INFO] [stdout]    |                    - you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of method
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn init(&mut self) {
[INFO] [stdout]    |             ---------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             `self` is a reference that is only valid in the method body
[INFO] [stdout]    |             has type `&mut REditor<'1>`
[INFO] [stdout] ...
[INFO] [stdout] 39 |         self.siv.add_fullscreen_layer(self.canvas);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         `self` escapes the method body here
[INFO] [stdout]    |         argument requires that `'1` must outlive `'static`
[INFO] [stdout]    |
[INFO] [stdout]    = note: requirement occurs because of the type `Canvas<&StateContainer>`, which makes the generic argument `&StateContainer` invariant
[INFO] [stdout]    = note: the struct `Canvas<T>` is invariant over the parameter `T`
[INFO] [stdout]    = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.canvas` which is behind a mutable reference
[INFO] [stdout]   --> src/main.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |         self.siv.add_fullscreen_layer(self.canvas);
[INFO] [stdout]    |                                       ^^^^^^^^^^^ move occurs because `self.canvas` has type `Canvas<&StateContainer>`, which does not implement the `Copy` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0507, E0515, E0521.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `reditor` (bin "reditor" test) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `reditor` (bin "reditor") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "d7db3fc6aa8245f948f2330f757cd8ee9c4edfa227afabc18e8a46fb84a38b7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7db3fc6aa8245f948f2330f757cd8ee9c4edfa227afabc18e8a46fb84a38b7a", kill_on_drop: false }`
[INFO] [stdout] d7db3fc6aa8245f948f2330f757cd8ee9c4edfa227afabc18e8a46fb84a38b7a
