[INFO] cloning repository https://github.com/L-Andy/text_editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/L-Andy/text_editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL-Andy%2Ftext_editor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL-Andy%2Ftext_editor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23c97eec95e7603dede183af50aca29f543445f4 [INFO] checking L-Andy/text_editor against master#30840c53f414b753cb08f14620906572f88dda4b for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL-Andy%2Ftext_editor" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/L-Andy/text_editor on toolchain 30840c53f414b753cb08f14620906572f88dda4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30840c53f414b753cb08f14620906572f88dda4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/L-Andy/text_editor [INFO] finished tweaking git repo https://github.com/L-Andy/text_editor [INFO] tweaked toml for git repo https://github.com/L-Andy/text_editor written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/L-Andy/text_editor 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" "+30840c53f414b753cb08f14620906572f88dda4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking L-Andy/text_editor against try#18fb860b8a8e7ca508746882328061d0fe352543 for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL-Andy%2Ftext_editor" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/L-Andy/text_editor on toolchain 18fb860b8a8e7ca508746882328061d0fe352543 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/L-Andy/text_editor [INFO] finished tweaking git repo https://github.com/L-Andy/text_editor [INFO] tweaked toml for git repo https://github.com/L-Andy/text_editor written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/L-Andy/text_editor 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" "+18fb860b8a8e7ca508746882328061d0fe352543" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 L-Andy/text_editor against try#18fb860b8a8e7ca508746882328061d0fe352543 for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL-Andy%2Ftext_editor" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/L-Andy/text_editor on toolchain 18fb860b8a8e7ca508746882328061d0fe352543 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/L-Andy/text_editor [INFO] finished tweaking git repo https://github.com/L-Andy/text_editor [INFO] tweaked toml for git repo https://github.com/L-Andy/text_editor written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/L-Andy/text_editor 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" "+18fb860b8a8e7ca508746882328061d0fe352543" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0b1113cee5588f91eaf03336f074f4ab787f29c461296b1ca3e47a68a9f83e7 [INFO] running `Command { std: "docker" "start" "-a" "f0b1113cee5588f91eaf03336f074f4ab787f29c461296b1ca3e47a68a9f83e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0b1113cee5588f91eaf03336f074f4ab787f29c461296b1ca3e47a68a9f83e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0b1113cee5588f91eaf03336f074f4ab787f29c461296b1ca3e47a68a9f83e7", kill_on_drop: false }` [INFO] [stdout] f0b1113cee5588f91eaf03336f074f4ab787f29c461296b1ca3e47a68a9f83e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0fea0bfca4a9fb2908453cd18d2c30776ce8bd233bb012c37aa55fda229b13f [INFO] running `Command { std: "docker" "start" "-a" "b0fea0bfca4a9fb2908453cd18d2c30776ce8bd233bb012c37aa55fda229b13f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking ledit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/terminal.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn default() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/18fb860b8a8e7ca508746882328061d0fe352543/library/core/src/result.rs:502:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `expect` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/editor.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | terminal: Terminal::default().expect("Failed to initialize terminal"), [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn std::error::Error: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/editor.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | terminal: Terminal::default().expect("Failed to initialize terminal"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/18fb860b8a8e7ca508746882328061d0fe352543/library/core/src/result.rs:502:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `dyn std::error::Error` [INFO] [stdout] --> src/terminal.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | let size = termion::terminal_size()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `dyn std::error::Error`, which is required by `Result: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/terminal.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | / Ok(Self { [INFO] [stdout] 14 | | size: Size { [INFO] [stdout] 15 | | width: size.0, [INFO] [stdout] 16 | | height: size.1, [INFO] [stdout] 17 | | }, [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/18fb860b8a8e7ca508746882328061d0fe352543/library/core/src/result.rs:506:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/terminal.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn default() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/18fb860b8a8e7ca508746882328061d0fe352543/library/core/src/result.rs:502:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/terminal.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn default() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 11 | pub fn default() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `expect` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/editor.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | terminal: Terminal::default().expect("Failed to initialize terminal"), [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn std::error::Error: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/editor.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | terminal: Terminal::default().expect("Failed to initialize terminal"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/18fb860b8a8e7ca508746882328061d0fe352543/library/core/src/result.rs:502:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `dyn std::error::Error` [INFO] [stdout] --> src/terminal.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | let size = termion::terminal_size()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `dyn std::error::Error`, which is required by `Result: FromResidual>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ledit` (bin "ledit") due to 7 previous errors [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/terminal.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | / Ok(Self { [INFO] [stdout] 14 | | size: Size { [INFO] [stdout] 15 | | width: size.0, [INFO] [stdout] 16 | | height: size.1, [INFO] [stdout] 17 | | }, [INFO] [stdout] 18 | | }) [INFO] [stdout] | |__________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/18fb860b8a8e7ca508746882328061d0fe352543/library/core/src/result.rs:506:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/terminal.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn default() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 11 | pub fn default() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ledit` (bin "ledit" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "b0fea0bfca4a9fb2908453cd18d2c30776ce8bd233bb012c37aa55fda229b13f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0fea0bfca4a9fb2908453cd18d2c30776ce8bd233bb012c37aa55fda229b13f", kill_on_drop: false }` [INFO] [stdout] b0fea0bfca4a9fb2908453cd18d2c30776ce8bd233bb012c37aa55fda229b13f