[INFO] cloning repository https://github.com/navahas/rust-typescript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/navahas/rust-typescript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnavahas%2Frust-typescript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnavahas%2Frust-typescript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3815b3c8919575c43db8009e6711c42f085b60e1 [INFO] checking navahas/rust-typescript against try#0e1f5e292c80a395d02835ac656d141e992caf89 for pr-145605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnavahas%2Frust-typescript" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/navahas/rust-typescript [INFO] finished tweaking git repo https://github.com/navahas/rust-typescript [INFO] tweaked toml for git repo https://github.com/navahas/rust-typescript written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/navahas/rust-typescript on toolchain 0e1f5e292c80a395d02835ac656d141e992caf89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e1f5e292c80a395d02835ac656d141e992caf89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/navahas/rust-typescript 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" "+0e1f5e292c80a395d02835ac656d141e992caf89" "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 navahas/rust-typescript against try#0e1f5e292c80a395d02835ac656d141e992caf89 for pr-145605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnavahas%2Frust-typescript" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/navahas/rust-typescript [INFO] finished tweaking git repo https://github.com/navahas/rust-typescript [INFO] tweaked toml for git repo https://github.com/navahas/rust-typescript written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/navahas/rust-typescript on toolchain 0e1f5e292c80a395d02835ac656d141e992caf89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e1f5e292c80a395d02835ac656d141e992caf89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/navahas/rust-typescript 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" "+0e1f5e292c80a395d02835ac656d141e992caf89" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+0e1f5e292c80a395d02835ac656d141e992caf89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ed2b31803a6a291ba4d5e2d8fbb8402f6129b1692c0723d0151aa2db3909482 [INFO] running `Command { std: "docker" "start" "-a" "0ed2b31803a6a291ba4d5e2d8fbb8402f6129b1692c0723d0151aa2db3909482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ed2b31803a6a291ba4d5e2d8fbb8402f6129b1692c0723d0151aa2db3909482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed2b31803a6a291ba4d5e2d8fbb8402f6129b1692c0723d0151aa2db3909482", kill_on_drop: false }` [INFO] [stdout] 0ed2b31803a6a291ba4d5e2d8fbb8402f6129b1692c0723d0151aa2db3909482 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+0e1f5e292c80a395d02835ac656d141e992caf89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efa675b5acad20648616a3a4724f576a68250e937fc22f37c95ddf3d9843dd4a [INFO] running `Command { std: "docker" "start" "-a" "efa675b5acad20648616a3a4724f576a68250e937fc22f37c95ddf3d9843dd4a", kill_on_drop: false }` [INFO] [stderr] Checking rust-typescript v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `{`, found `println` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | println!("{}", rectangle); [INFO] [stdout] | ^^^^^^^ expected `{` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write this as part of a block [INFO] [stdout] | [INFO] [stdout] 11 | { println!("{}", rectangle); } [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found `println` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | println!("{}", rectangle); [INFO] [stdout] | ^^^^^^^ expected `{` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write this as part of a block [INFO] [stdout] | [INFO] [stdout] 11 | { println!("{}", rectangle); } [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `area::Area` and `circle::Circle` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use shapes::{area::Area, circle::Circle, rect::Rectangle}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `area::Area` and `circle::Circle` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use shapes::{area::Area, circle::Circle, rect::Rectangle}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RectIter` is not an iterator [INFO] [stdout] --> src/shapes/rect.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | type IntoIter = RectIter; [INFO] [stdout] | ^^^^^^^^ `RectIter` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `RectIter` [INFO] [stdout] note: required by a bound in `std::iter::IntoIterator::IntoIter` [INFO] [stdout] --> /rustc/0e1f5e292c80a395d02835ac656d141e992caf89/library/core/src/iter/traits/collect.rs:289:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RectIter` is not an iterator [INFO] [stdout] --> src/shapes/rect.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | type IntoIter = RectIter; [INFO] [stdout] | ^^^^^^^^ `RectIter` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `RectIter` [INFO] [stdout] note: required by a bound in `std::iter::IntoIterator::IntoIter` [INFO] [stdout] --> /rustc/0e1f5e292c80a395d02835ac656d141e992caf89/library/core/src/iter/traits/collect.rs:289:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RectIter` is not an iterator [INFO] [stdout] --> src/shapes/rect.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | type IntoIter = RectIter; [INFO] [stdout] | ^^^^^^^^ `RectIter` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `RectIter` [INFO] [stdout] note: required by a bound in `std::iter::IntoIterator::IntoIter` [INFO] [stdout] --> /rustc/0e1f5e292c80a395d02835ac656d141e992caf89/library/core/src/iter/traits/collect.rs:289:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `RectIter` is not an iterator [INFO] [stdout] --> src/shapes/rect.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | type IntoIter = RectIter; [INFO] [stdout] | ^^^^^^^^ `RectIter` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `RectIter` [INFO] [stdout] note: required by a bound in `std::iter::IntoIterator::IntoIter` [INFO] [stdout] --> /rustc/0e1f5e292c80a395d02835ac656d141e992caf89/library/core/src/iter/traits/collect.rs:289:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shapes/rect.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | points: vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 44 | | (rect.x, rect.y), [INFO] [stdout] 45 | | (rect.x + rect.width, rect.y), [INFO] [stdout] 46 | | (rect.x, rect.y + rect.height), [INFO] [stdout] 47 | | (rect.x + rect.width, rect.y + rect.height), [INFO] [stdout] 48 | | ], [INFO] [stdout] | |_____________^ expected `[(f64, f64); 4]`, found `Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[(f64, f64); 4]` [INFO] [stdout] found struct `Vec<(f64, f64)>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shapes/rect.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | points: vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 44 | | (rect.x, rect.y), [INFO] [stdout] 45 | | (rect.x + rect.width, rect.y), [INFO] [stdout] 46 | | (rect.x, rect.y + rect.height), [INFO] [stdout] 47 | | (rect.x + rect.width, rect.y + rect.height), [INFO] [stdout] 48 | | ], [INFO] [stdout] | |_____________^ expected `[(f64, f64); 4]`, found `Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[(f64, f64); 4]` [INFO] [stdout] found struct `Vec<(f64, f64)>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-typescript` (bin "rust-typescript" test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-typescript` (bin "rust-typescript") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "efa675b5acad20648616a3a4724f576a68250e937fc22f37c95ddf3d9843dd4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efa675b5acad20648616a3a4724f576a68250e937fc22f37c95ddf3d9843dd4a", kill_on_drop: false }` [INFO] [stdout] efa675b5acad20648616a3a4724f576a68250e937fc22f37c95ddf3d9843dd4a