[INFO] cloning repository https://github.com/quchen/rustfuck
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quchen/rustfuck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquchen%2Frustfuck", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquchen%2Frustfuck'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6f4aecf3e05661f20a3a03eed681025e72c9107b
[INFO] checking quchen/rustfuck against f4dd856795debe636f2ba39a900f162f5abeb7e8 for pr-160904
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquchen%2Frustfuck" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/quchen/rustfuck on toolchain f4dd856795debe636f2ba39a900f162f5abeb7e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/quchen/rustfuck 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" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rustfuck` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking quchen/rustfuck against f4dd856795debe636f2ba39a900f162f5abeb7e8 for pr-160904
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquchen%2Frustfuck" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/quchen/rustfuck on toolchain f4dd856795debe636f2ba39a900f162f5abeb7e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/quchen/rustfuck 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" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rustfuck` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c95857ed4941cf143028161528e5999a8d0d4236b2d5570e836e60e6bb19ae00
[INFO] running `Command { std: "docker" "start" "c95857ed4941cf143028161528e5999a8d0d4236b2d5570e836e60e6bb19ae00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c95857ed4941cf143028161528e5999a8d0d4236b2d5570e836e60e6bb19ae00", 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" "c95857ed4941cf143028161528e5999a8d0d4236b2d5570e836e60e6bb19ae00" "/opt/rustwide/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c95857ed4941cf143028161528e5999a8d0d4236b2d5570e836e60e6bb19ae00", 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" "c95857ed4941cf143028161528e5999a8d0d4236b2d5570e836e60e6bb19ae00" "/opt/rustwide/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rustfuck` (manifest) generated 1 warning
[INFO] [stderr]     Checking rustfuck v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/brainfuck/tape.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn modify<F>(&mut self, f: FnMut(T)) {
[INFO] [stdout]   |                                ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn modify<F>(&mut self, f: dyn FnMut(T)) {
[INFO] [stdout]   |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `(dyn FnMut(T) + 'static)` cannot be known at compilation time
[INFO] [stdout]  --> src/brainfuck/tape.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn modify<F>(&mut self, f: FnMut(T)) {
[INFO] [stdout]   |                                ^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Sized` is not implemented for `(dyn FnMut(T) + 'static)`
[INFO] [stdout]   = help: unsized fn params are gated as an unstable feature
[INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn modify<F>(&mut self, f: &dyn FnMut(T)) {
[INFO] [stdout]   |                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/brainfuck/tape.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout]  1 | pub trait Tape<T: Sized> {
[INFO] [stdout]    |                - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 10 |         f(self.get_focus_ref())
[INFO] [stdout]    |         - ^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `&mut T`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type parameter `_`
[INFO] [stdout]            found mutable reference `&mut _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/brainfuck/tape.rs:34:32
[INFO] [stdout]    |
[INFO] [stdout] 34 |         } else if self.focus > self.tape.len() {
[INFO] [stdout]    |                   ----------   ^^^^^^^^^^^^^^^ expected `i64`, found `usize`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   expected because this is `i64`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 34 |         } else if self.focus > self.tape.len().try_into().unwrap() {
[INFO] [stdout]    |                                               ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/brainfuck/tape.rs:36:29
[INFO] [stdout]    |
[INFO] [stdout] 36 |             while new_len < self.focus {
[INFO] [stdout]    |                   -------   ^^^^^^^^^^ expected `usize`, found `i64`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   expected because this is `usize`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert an `i64` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 36 |             while new_len < self.focus.try_into().unwrap() {
[INFO] [stdout]    |                                       ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/brainfuck/tape.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn modify<F>(&mut self, f: FnMut(T)) {
[INFO] [stdout]   |                                ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn modify<F>(&mut self, f: dyn FnMut(T)) {
[INFO] [stdout]   |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `resize` exists for struct `Vec<T>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/brainfuck/tape.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |             self.tape.resize(new_len);
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `T: Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `index_mut` found for struct `Vec<T>` in the current scope
[INFO] [stdout]   --> src/brainfuck/tape.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |         self.tape.index_mut(self.focus)
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/f4dd856795debe636f2ba39a900f162f5abeb7e8/library/core/src/ops/index.rs:179:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `Vec<T>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `IndexMut` which provides `index_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::ops::IndexMut;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `index` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 44 -         self.tape.index_mut(self.focus)
[INFO] [stdout] 44 +         self.tape.index(self.focus)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `(dyn FnMut(T) + 'static)` cannot be known at compilation time
[INFO] [stdout]  --> src/brainfuck/tape.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn modify<F>(&mut self, f: FnMut(T)) {
[INFO] [stdout]   |                                ^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Sized` is not implemented for `(dyn FnMut(T) + 'static)`
[INFO] [stdout]   = help: unsized fn params are gated as an unstable feature
[INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn modify<F>(&mut self, f: &dyn FnMut(T)) {
[INFO] [stdout]   |                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustfuck` (bin "rustfuck" test) due to 6 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/brainfuck/tape.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout]  1 | pub trait Tape<T: Sized> {
[INFO] [stdout]    |                - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 10 |         f(self.get_focus_ref())
[INFO] [stdout]    |         - ^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `&mut T`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type parameter `_`
[INFO] [stdout]            found mutable reference `&mut _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/brainfuck/tape.rs:34:32
[INFO] [stdout]    |
[INFO] [stdout] 34 |         } else if self.focus > self.tape.len() {
[INFO] [stdout]    |                   ----------   ^^^^^^^^^^^^^^^ expected `i64`, found `usize`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   expected because this is `i64`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 34 |         } else if self.focus > self.tape.len().try_into().unwrap() {
[INFO] [stdout]    |                                               ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/brainfuck/tape.rs:36:29
[INFO] [stdout]    |
[INFO] [stdout] 36 |             while new_len < self.focus {
[INFO] [stdout]    |                   -------   ^^^^^^^^^^ expected `usize`, found `i64`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   expected because this is `usize`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert an `i64` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 36 |             while new_len < self.focus.try_into().unwrap() {
[INFO] [stdout]    |                                       ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `resize` exists for struct `Vec<T>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/brainfuck/tape.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |             self.tape.resize(new_len);
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `T: Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `index_mut` found for struct `Vec<T>` in the current scope
[INFO] [stdout]   --> src/brainfuck/tape.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |         self.tape.index_mut(self.focus)
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/f4dd856795debe636f2ba39a900f162f5abeb7e8/library/core/src/ops/index.rs:179:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `Vec<T>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `IndexMut` which provides `index_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::ops::IndexMut;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `index` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 44 -         self.tape.index_mut(self.focus)
[INFO] [stdout] 44 +         self.tape.index(self.focus)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustfuck` (bin "rustfuck") due to 6 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "c95857ed4941cf143028161528e5999a8d0d4236b2d5570e836e60e6bb19ae00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c95857ed4941cf143028161528e5999a8d0d4236b2d5570e836e60e6bb19ae00", kill_on_drop: false }`
[INFO] [stdout] c95857ed4941cf143028161528e5999a8d0d4236b2d5570e836e60e6bb19ae00
