[INFO] updating cached repository https://github.com/quchen/rustfuck
[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] 6f4aecf3e05661f20a3a03eed681025e72c9107b
[INFO] checking quchen/rustfuck against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquchen%2Frustfuck" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/quchen/rustfuck on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/quchen/rustfuck
[INFO] finished tweaking git repo https://github.com/quchen/rustfuck
[INFO] tweaked toml for git repo https://github.com/quchen/rustfuck written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/quchen/rustfuck already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=forbid" "-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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 6e7314649c7b9d2dafd88d8558fa50eed4834a568d92aa3c593f930a23a17d0a
[INFO] running `"docker" "start" "-a" "6e7314649c7b9d2dafd88d8558fa50eed4834a568d92aa3c593f930a23a17d0a"`
[INFO] [stderr]     Checking rustfuck v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/brainfuck/tape.rs:9:32
[INFO] [stderr]   |
[INFO] [stderr] 9 |     fn modify<F>(&mut self, f: FnMut(T)) {
[INFO] [stderr]   |                                ^^^^^^^^ help: use `dyn`: `dyn FnMut(T)`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/brainfuck/tape.rs:9:32
[INFO] [stderr]   |
[INFO] [stderr] 9 |     fn modify<F>(&mut self, f: FnMut(T)) {
[INFO] [stderr]   |                                ^^^^^^^^ help: use `dyn`: `dyn FnMut(T)`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the size for values of type `(dyn std::ops::FnMut(T) + 'static)` cannot be known at compilation time
[INFO] [stderr]  --> src/brainfuck/tape.rs:9:29
[INFO] [stderr]   |
[INFO] [stderr] 9 |     fn modify<F>(&mut self, f: FnMut(T)) {
[INFO] [stderr]   |                             ^ doesn't have a size known at compile-time
[INFO] [stderr]   |
[INFO] [stderr]   = help: the trait `std::marker::Sized` is not implemented for `(dyn std::ops::FnMut(T) + 'static)`
[INFO] [stderr]   = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stderr]   = note: all local variables must have a statically known size
[INFO] [stderr]   = help: unsized locals are gated as an unstable feature
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/brainfuck/tape.rs:10:11
[INFO] [stderr]    |
[INFO] [stderr] 1  | pub trait Tape<T: Sized> {
[INFO] [stderr]    |                - this type parameter
[INFO] [stderr] ...
[INFO] [stderr] 10 |         f(self.get_focus_ref())
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `&mut T`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected type parameter `T`
[INFO] [stderr]            found mutable reference `&mut T`
[INFO] [stderr]    = help: type parameters must be constrained to match other types
[INFO] [stderr]    = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/brainfuck/tape.rs:34:32
[INFO] [stderr]    |
[INFO] [stderr] 34 |         } else if self.focus > self.tape.len() {
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^ expected `i64`, found `usize`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `usize` to `i64` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 34 |         } else if self.focus > self.tape.len().try_into().unwrap() {
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/brainfuck/tape.rs:36:29
[INFO] [stderr]    |
[INFO] [stderr] 36 |             while new_len < self.focus {
[INFO] [stderr]    |                             ^^^^^^^^^^ expected `usize`, found `i64`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i64` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 36 |             while new_len < self.focus.try_into().unwrap() {
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `resize` found for struct `std::vec::Vec<T>` in the current scope
[INFO] [stderr]   --> src/brainfuck/tape.rs:39:23
[INFO] [stderr]    |
[INFO] [stderr] 39 |             self.tape.resize(new_len);
[INFO] [stderr]    |                       ^^^^^^ method not found in `std::vec::Vec<T>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the method `resize` exists but the following trait bounds were not satisfied:
[INFO] [stderr]            `T: std::clone::Clone`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the size for values of type `(dyn std::ops::FnMut(T) + 'static)` cannot be known at compilation time
[INFO] [stderr]  --> src/brainfuck/tape.rs:9:29
[INFO] [stderr]   |
[INFO] [stderr] 9 |     fn modify<F>(&mut self, f: FnMut(T)) {
[INFO] [stderr]   |                             ^ doesn't have a size known at compile-time
[INFO] [stderr]   |
[INFO] [stderr]   = help: the trait `std::marker::Sized` is not implemented for `(dyn std::ops::FnMut(T) + 'static)`
[INFO] [stderr]   = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stderr]   = note: all local variables must have a statically known size
[INFO] [stderr]   = help: unsized locals are gated as an unstable feature
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `index_mut` found for struct `std::vec::Vec<T>` in the current scope
[INFO] [stderr]    --> src/brainfuck/tape.rs:44:19
[INFO] [stderr]     |
[INFO] [stderr] 44  |         self.tape.index_mut(self.focus)
[INFO] [stderr]     |                   ^^^^^^^^^ help: there is an associated function with a similar name: `iter_mut`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use std::ops::IndexMut;`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `rustfuck`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/brainfuck/tape.rs:10:11
[INFO] [stderr]    |
[INFO] [stderr] 1  | pub trait Tape<T: Sized> {
[INFO] [stderr]    |                - this type parameter
[INFO] [stderr] ...
[INFO] [stderr] 10 |         f(self.get_focus_ref())
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `&mut T`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected type parameter `T`
[INFO] [stderr]            found mutable reference `&mut T`
[INFO] [stderr]    = help: type parameters must be constrained to match other types
[INFO] [stderr]    = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/brainfuck/tape.rs:34:32
[INFO] [stderr]    |
[INFO] [stderr] 34 |         } else if self.focus > self.tape.len() {
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^ expected `i64`, found `usize`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `usize` to `i64` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 34 |         } else if self.focus > self.tape.len().try_into().unwrap() {
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/brainfuck/tape.rs:36:29
[INFO] [stderr]    |
[INFO] [stderr] 36 |             while new_len < self.focus {
[INFO] [stderr]    |                             ^^^^^^^^^^ expected `usize`, found `i64`
[INFO] [stderr]    |
[INFO] [stderr] help: you can convert an `i64` to `usize` and panic if the converted value wouldn't fit
[INFO] [stderr]    |
[INFO] [stderr] 36 |             while new_len < self.focus.try_into().unwrap() {
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `resize` found for struct `std::vec::Vec<T>` in the current scope
[INFO] [stderr]   --> src/brainfuck/tape.rs:39:23
[INFO] [stderr]    |
[INFO] [stderr] 39 |             self.tape.resize(new_len);
[INFO] [stderr]    |                       ^^^^^^ method not found in `std::vec::Vec<T>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the method `resize` exists but the following trait bounds were not satisfied:
[INFO] [stderr]            `T: std::clone::Clone`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `index_mut` found for struct `std::vec::Vec<T>` in the current scope
[INFO] [stderr]    --> src/brainfuck/tape.rs:44:19
[INFO] [stderr]     |
[INFO] [stderr] 44  |         self.tape.index_mut(self.focus)
[INFO] [stderr]     |                   ^^^^^^^^^ help: there is an associated function with a similar name: `iter_mut`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use std::ops::IndexMut;`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `rustfuck`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "6e7314649c7b9d2dafd88d8558fa50eed4834a568d92aa3c593f930a23a17d0a"`
[INFO] running `"docker" "rm" "-f" "6e7314649c7b9d2dafd88d8558fa50eed4834a568d92aa3c593f930a23a17d0a"`
[INFO] [stdout] 6e7314649c7b9d2dafd88d8558fa50eed4834a568d92aa3c593f930a23a17d0a
