[INFO] cloning repository https://github.com/fabriceHategekimana/core_calculus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fabriceHategekimana/core_calculus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfabriceHategekimana%2Fcore_calculus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfabriceHategekimana%2Fcore_calculus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e1b1f85642729ac8c9368b001b5b598e61e1b12 [INFO] checking fabriceHategekimana/core_calculus against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfabriceHategekimana%2Fcore_calculus" "/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/fabriceHategekimana/core_calculus [INFO] finished tweaking git repo https://github.com/fabriceHategekimana/core_calculus [INFO] tweaked toml for git repo https://github.com/fabriceHategekimana/core_calculus written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fabriceHategekimana/core_calculus on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fabriceHategekimana/core_calculus 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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 fabriceHategekimana/core_calculus against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FfabriceHategekimana%2Fcore_calculus" "/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/fabriceHategekimana/core_calculus [INFO] finished tweaking git repo https://github.com/fabriceHategekimana/core_calculus [INFO] tweaked toml for git repo https://github.com/fabriceHategekimana/core_calculus written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fabriceHategekimana/core_calculus on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fabriceHategekimana/core_calculus 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad7629bb739de12b067e029b8b68c696c3f29c9e54102a9b16dabd324b449151 [INFO] running `Command { std: "docker" "start" "-a" "ad7629bb739de12b067e029b8b68c696c3f29c9e54102a9b16dabd324b449151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad7629bb739de12b067e029b8b68c696c3f29c9e54102a9b16dabd324b449151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad7629bb739de12b067e029b8b68c696c3f29c9e54102a9b16dabd324b449151", kill_on_drop: false }` [INFO] [stdout] ad7629bb739de12b067e029b8b68c696c3f29c9e54102a9b16dabd324b449151 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a4562ff220cd936431fb37271a984de4bac4c6fc4d96bec82795101e7ae067f [INFO] running `Command { std: "docker" "start" "-a" "5a4562ff220cd936431fb37271a984de4bac4c6fc4d96bec82795101e7ae067f", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking core_calculus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/renderer.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | .map(|x| (keywords.iter().all(|y| *y != x).then(|| re.replace_all(x, "\"$1\"").to_string()).unwrap_or_else(|| x.to_string()))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - .map(|x| (keywords.iter().all(|y| *y != x).then(|| re.replace_all(x, "\"$1\"").to_string()).unwrap_or_else(|| x.to_string()))) [INFO] [stdout] 116 + .map(|x| keywords.iter().all(|y| *y != x).then(|| re.replace_all(x, "\"$1\"").to_string()).unwrap_or_else(|| x.to_string()) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_file_name` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | get_file_name, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/renderer.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | .map(|x| (keywords.iter().all(|y| *y != x).then(|| re.replace_all(x, "\"$1\"").to_string()).unwrap_or_else(|| x.to_string()))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - .map(|x| (keywords.iter().all(|y| *y != x).then(|| re.replace_all(x, "\"$1\"").to_string()).unwrap_or_else(|| x.to_string()))) [INFO] [stdout] 116 + .map(|x| keywords.iter().all(|y| *y != x).then(|| re.replace_all(x, "\"$1\"").to_string()).unwrap_or_else(|| x.to_string()) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_file_name` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | get_file_name, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_name` is never used [INFO] [stdout] --> src/file_manager.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_file_name() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load` in this scope [INFO] [stdout] --> src/renderer.rs:127:78 [INFO] [stdout] | [INFO] [stdout] 127 | ... &["src/atoms/atom1.json"].iter().map(|&x| Atom(load(&x.to_string()))).collect()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a slice of type `[atom::Atom]` cannot be built since `[atom::Atom]` has no definite size [INFO] [stdout] --> src/renderer.rs:127:101 [INFO] [stdout] | [INFO] [stdout] 127 | ... &["src/atoms/atom1.json"].iter().map(|&x| Atom(load(&x.to_string()))).collect()); [INFO] [stdout] | ^^^^^^^ try explicitly collecting into a `Vec` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `[atom::Atom]` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/renderer.rs:127:64 [INFO] [stdout] | [INFO] [stdout] 127 | ... &["src/atoms/atom1.json"].iter().map(|&x| Atom(load(&x.to_string()))).collect()); [INFO] [stdout] | ------------------------ ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `Atom` here [INFO] [stdout] | | | [INFO] [stdout] | | `Iterator::Item` is `&&str` here [INFO] [stdout] | this expression has type `[&str; 1]` [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/ed606620234c6b50f2414162c4bbabd5f4a925f3/library/core/src/iter/traits/iterator.rs:2015:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[atom::Atom]` cannot be known at compilation time [INFO] [stdout] --> src/renderer.rs:127:101 [INFO] [stdout] | [INFO] [stdout] 127 | ... &["src/atoms/atom1.json"].iter().map(|&x| Atom(load(&x.to_string()))).collect()); [INFO] [stdout] | ^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[atom::Atom]` [INFO] [stdout] note: required by an implicit `Sized` bound in `collect` [INFO] [stdout] --> /rustc/ed606620234c6b50f2414162c4bbabd5f4a925f3/library/core/src/iter/traits/iterator.rs:2015:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `core_calculus` (bin "core_calculus" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5a4562ff220cd936431fb37271a984de4bac4c6fc4d96bec82795101e7ae067f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a4562ff220cd936431fb37271a984de4bac4c6fc4d96bec82795101e7ae067f", kill_on_drop: false }` [INFO] [stdout] 5a4562ff220cd936431fb37271a984de4bac4c6fc4d96bec82795101e7ae067f