[INFO] cloning repository https://github.com/mmichie/lightfoot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmichie/lightfoot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmichie%2Flightfoot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmichie%2Flightfoot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31da0ebfea86a59c9b117137826778d74ff4a342 [INFO] checking mmichie/lightfoot against try#be699666730c5a1745838222e98e2d85019affdc for pr-134300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmichie%2Flightfoot" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmichie/lightfoot on toolchain be699666730c5a1745838222e98e2d85019affdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mmichie/lightfoot [INFO] finished tweaking git repo https://github.com/mmichie/lightfoot [INFO] tweaked toml for git repo https://github.com/mmichie/lightfoot written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mmichie/lightfoot 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" "+be699666730c5a1745838222e98e2d85019affdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e229881101cf84f3a395b8a9d8d3accbe6c2e543cf0c51078f31b6b6e511f1a2 [INFO] running `Command { std: "docker" "start" "-a" "e229881101cf84f3a395b8a9d8d3accbe6c2e543cf0c51078f31b6b6e511f1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e229881101cf84f3a395b8a9d8d3accbe6c2e543cf0c51078f31b6b6e511f1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e229881101cf84f3a395b8a9d8d3accbe6c2e543cf0c51078f31b6b6e511f1a2", kill_on_drop: false }` [INFO] [stdout] e229881101cf84f3a395b8a9d8d3accbe6c2e543cf0c51078f31b6b6e511f1a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+be699666730c5a1745838222e98e2d85019affdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 913ab327e3ac76320159bdf4a09674ac43b2ad05a33021e85cd28ecc0958f841 [INFO] running `Command { std: "docker" "start" "-a" "913ab327e3ac76320159bdf4a09674ac43b2ad05a33021e85cd28ecc0958f841", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking lightfoot v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::io::Timer` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Timer` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::Timer` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Timer; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Timer` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | static N_THREADS: int = 1000; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | static N_THREADS: int = 1000; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(macro_rules, phase, slicing_syntax)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(macro_rules, phase, slicing_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(macro_rules, phase, slicing_syntax)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(macro_rules, phase, slicing_syntax)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(macro_rules, phase, slicing_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(macro_rules, phase, slicing_syntax)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope [INFO] [stdout] --> src/main.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | let _ = (0..N_THREADS).map( |i| Thread::spawn(move || { [INFO] [stdout] | ^^^^^ function or associated item not found in `Thread` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Thread`, consider using `Thread::from_raw` which returns `Thread` [INFO] [stdout] --> /rustc/be699666730c5a1745838222e98e2d85019affdc/library/std/src/thread/mod.rs:1602:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope [INFO] [stdout] --> src/main.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | let _ = (0..N_THREADS).map( |i| Thread::spawn(move || { [INFO] [stdout] | ^^^^^ function or associated item not found in `Thread` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Thread`, consider using `Thread::from_raw` which returns `Thread` [INFO] [stdout] --> /rustc/be699666730c5a1745838222e98e2d85019affdc/library/std/src/thread/mod.rs:1602:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `milliseconds` found for struct `Duration` in the current scope [INFO] [stdout] --> src/main.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | timer.sleep(Duration::milliseconds(t as i64)); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Duration` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Duration` consider using one of the following associated functions: [INFO] [stdout] Duration::new [INFO] [stdout] Duration::from_secs [INFO] [stdout] Duration::from_millis [INFO] [stdout] Duration::from_micros [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/be699666730c5a1745838222e98e2d85019affdc/library/core/src/time.rs:211:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `milliseconds` found for struct `Duration` in the current scope [INFO] [stdout] --> src/main.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | timer.sleep(Duration::milliseconds(t as i64)); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `Duration` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Duration` consider using one of the following associated functions: [INFO] [stdout] Duration::new [INFO] [stdout] Duration::from_secs [INFO] [stdout] Duration::from_millis [INFO] [stdout] Duration::from_micros [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/be699666730c5a1745838222e98e2d85019affdc/library/core/src/time.rs:211:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lightfoot` (bin "lightfoot") due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lightfoot` (bin "lightfoot" test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "913ab327e3ac76320159bdf4a09674ac43b2ad05a33021e85cd28ecc0958f841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "913ab327e3ac76320159bdf4a09674ac43b2ad05a33021e85cd28ecc0958f841", kill_on_drop: false }` [INFO] [stdout] 913ab327e3ac76320159bdf4a09674ac43b2ad05a33021e85cd28ecc0958f841