[INFO] cloning repository https://github.com/JohannaGoergen/task-list-tui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JohannaGoergen/task-list-tui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohannaGoergen%2Ftask-list-tui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohannaGoergen%2Ftask-list-tui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ccfd0ec56c6d7e22dbb1c3bcad9606bc3f66ce15 [INFO] testing JohannaGoergen/task-list-tui against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohannaGoergen%2Ftask-list-tui" "/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/JohannaGoergen/task-list-tui [INFO] finished tweaking git repo https://github.com/JohannaGoergen/task-list-tui [INFO] tweaked toml for git repo https://github.com/JohannaGoergen/task-list-tui written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JohannaGoergen/task-list-tui on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JohannaGoergen/task-list-tui 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "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] testing JohannaGoergen/task-list-tui against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohannaGoergen%2Ftask-list-tui" "/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/JohannaGoergen/task-list-tui [INFO] finished tweaking git repo https://github.com/JohannaGoergen/task-list-tui [INFO] tweaked toml for git repo https://github.com/JohannaGoergen/task-list-tui written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JohannaGoergen/task-list-tui on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JohannaGoergen/task-list-tui 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.53 [INFO] [stderr] Downloaded thiserror v1.0.53 [INFO] [stderr] Downloaded quote v1.0.34 [INFO] [stderr] Downloaded proc-macro2 v1.0.73 [INFO] [stderr] Downloaded itertools v0.12.0 [INFO] [stderr] Downloaded syn v2.0.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c793d0060293123d0e6f0119c7c5272579ec6e3b09985fca2d412e7e5d21fc69 [INFO] running `Command { std: "docker" "start" "-a" "c793d0060293123d0e6f0119c7c5272579ec6e3b09985fca2d412e7e5d21fc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c793d0060293123d0e6f0119c7c5272579ec6e3b09985fca2d412e7e5d21fc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c793d0060293123d0e6f0119c7c5272579ec6e3b09985fca2d412e7e5d21fc69", kill_on_drop: false }` [INFO] [stdout] c793d0060293123d0e6f0119c7c5272579ec6e3b09985fca2d412e7e5d21fc69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a57046fa191fa816dee2a30b910a0ed29142d4a0e2bcbad0c7543ece94e066d2 [INFO] running `Command { std: "docker" "start" "-a" "a57046fa191fa816dee2a30b910a0ed29142d4a0e2bcbad0c7543ece94e066d2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.73 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.34 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling syn v2.0.44 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling task-list-tui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Complete` [INFO] [stdout] --> src/tasks.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub use self::TaskStatus::{Complete, Incomplete}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const function `dirs::home_dir` in constants [INFO] [stdout] --> src/tasks.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | const TODO_LIST_PATH: &Path = home_dir().expect("Please set $HOME").join("todo/list.txt").as_path(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: function `home_dir` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dirs-5.0.1/src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn home_dir() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot perform non-const deref coercion on `PathBuf` in constants [INFO] [stdout] --> src/tasks.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | const TODO_LIST_PATH: &Path = home_dir().expect("Please set $HOME").join("todo/list.txt").as_path(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: attempting to deref into `Path` [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/std/src/path.rs:2049:0 [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Path::join::<&str>` in constants [INFO] [stdout] --> src/tasks.rs:27:73 [INFO] [stdout] | [INFO] [stdout] 27 | const TODO_LIST_PATH: &Path = home_dir().expect("Please set $HOME").join("todo/list.txt").as_path(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `PathBuf::as_path` in constants [INFO] [stdout] --> src/tasks.rs:27:95 [INFO] [stdout] | [INFO] [stdout] 27 | const TODO_LIST_PATH: &Path = home_dir().expect("Please set $HOME").join("todo/list.txt").as_path(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `PathBuf` cannot be evaluated at compile-time [INFO] [stdout] --> src/tasks.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | const TODO_LIST_PATH: &Path = home_dir().expect("Please set $HOME").join("todo/list.txt").as_path(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - value is dropped here [INFO] [stdout] | | [INFO] [stdout] | the destructor for this type cannot be evaluated in constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `PathBuf` cannot be evaluated at compile-time [INFO] [stdout] --> src/tasks.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | const TODO_LIST_PATH: &Path = home_dir().expect("Please set $HOME").join("todo/list.txt").as_path(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - value is dropped here [INFO] [stdout] | | [INFO] [stdout] | the destructor for this type cannot be evaluated in constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `::iter` in constants [INFO] [stdout] --> src/tasks.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | const STATUS_OPTIONS: String = TaskStatus::iter().join("|"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: associated function `iter` is not const because trait `IntoEnumIterator` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/strum-0.25.0/src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | pub trait IntoEnumIterator: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 101 | fn iter() -> Self::Iterator; [INFO] [stdout] | ---------------------------- this associated function is not const [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `::join` in constants [INFO] [stdout] --> src/tasks.rs:28:55 [INFO] [stdout] | [INFO] [stdout] 28 | const STATUS_OPTIONS: String = TaskStatus::iter().join("|"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: method `join` is not const because trait `Itertools` is not const [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/itertools-0.12.0/src/lib.rs:411:1 [INFO] [stdout] | [INFO] [stdout] 411 | pub trait Itertools: Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this trait is not const [INFO] [stdout] ... [INFO] [stdout] 2270 | / fn join(&mut self, sep: &str) -> String [INFO] [stdout] 2271 | | where [INFO] [stdout] 2272 | | Self::Item: std::fmt::Display, [INFO] [stdout] | |______________________________________- this method is not const [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const formatting macro in constants [INFO] [stdout] --> src/tasks.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | const LINE_REGEX: &str = format!(r#"\(\d+)\: ({}) (\w*\d*\s*)"#, STATUS_OPTIONS).as_str(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const function `std::fmt::format` in constants [INFO] [stdout] --> src/tasks.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | const LINE_REGEX: &str = format!(r#"\(\d+)\: ({}) (\w*\d*\s*)"#, STATUS_OPTIONS).as_str(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: function `format` is not const [INFO] [stdout] --> /rustc/a7ee93192a766fb0dafa23def7154fc03cfcfc3e/library/alloc/src/fmt.rs:644:0 [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `String` cannot be evaluated at compile-time [INFO] [stdout] --> src/tasks.rs:29:95 [INFO] [stdout] | [INFO] [stdout] 29 | const LINE_REGEX: &str = format!(r#"\(\d+)\: ({}) (\w*\d*\s*)"#, STATUS_OPTIONS).as_str(); [INFO] [stdout] | -----------------------------------------------------------------^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | the destructor for this type cannot be evaluated in constants [INFO] [stdout] | value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `String` cannot be evaluated at compile-time [INFO] [stdout] --> src/tasks.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | const LINE_REGEX: &str = format!(r#"\(\d+)\: ({}) (\w*\d*\s*)"#, STATUS_OPTIONS).as_str(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - value is dropped here [INFO] [stdout] | | [INFO] [stdout] | the destructor for this type cannot be evaluated in constants [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `display_tasks` in this scope [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | display_tasks(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `problem` [INFO] [stdout] --> src/tasks.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | Err(problem) => create_file(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_problem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `problem` [INFO] [stdout] --> src/tasks.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | Err(problem) => panic!("Couldn't read the file."), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_problem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tasks.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut file = match File::create(&TODO_LIST_PATH) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `problem` [INFO] [stdout] --> src/tasks.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | Err(problem) => panic!("Couldn't create path"), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_problem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0425, E0493. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `task-list-tui` (bin "task-list-tui") due to 13 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a57046fa191fa816dee2a30b910a0ed29142d4a0e2bcbad0c7543ece94e066d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a57046fa191fa816dee2a30b910a0ed29142d4a0e2bcbad0c7543ece94e066d2", kill_on_drop: false }` [INFO] [stdout] a57046fa191fa816dee2a30b910a0ed29142d4a0e2bcbad0c7543ece94e066d2