[INFO] cloning repository https://github.com/trial-pyth/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/trial-pyth/rust-typescript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrial-pyth%2Frust-typescript", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrial-pyth%2Frust-typescript'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b204e129f49bb371e08caeadb76764d6420b0c28
[INFO] checking trial-pyth/rust-typescript against df1ae0f7dd168513de2d89beb2cb7a95d4fdc118 for pr-159343-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrial-pyth%2Frust-typescript" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/trial-pyth/rust-typescript
[INFO] finished tweaking git repo https://github.com/trial-pyth/rust-typescript
[INFO] tweaked toml for git repo https://github.com/trial-pyth/rust-typescript written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/trial-pyth/rust-typescript on toolchain df1ae0f7dd168513de2d89beb2cb7a95d4fdc118
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/trial-pyth/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" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anyhow v1.0.101
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 777c14b269c93f61c075fe6393b5ffbbbb1a578b93da33c4450b8062e878579d
[INFO] running `Command { std: "docker" "start" "777c14b269c93f61c075fe6393b5ffbbbb1a578b93da33c4450b8062e878579d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "777c14b269c93f61c075fe6393b5ffbbbb1a578b93da33c4450b8062e878579d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "777c14b269c93f61c075fe6393b5ffbbbb1a578b93da33c4450b8062e878579d" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "777c14b269c93f61c075fe6393b5ffbbbb1a578b93da33c4450b8062e878579d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "777c14b269c93f61c075fe6393b5ffbbbb1a578b93da33c4450b8062e878579d" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.101
[INFO] [stderr]     Checking rust-typescript v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `PointIter` in this scope
[INFO] [stdout]    --> src/main.rs:212:29
[INFO] [stdout]     |
[INFO] [stdout] 212 |         fn points(&self) -> PointIter {
[INFO] [stdout]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::shapes::PointIter` exists but is inaccessible
[INFO] [stdout]    --> src/shapes.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | struct PointIter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PointIter` in this scope
[INFO] [stdout]    --> src/main.rs:212:29
[INFO] [stdout]     |
[INFO] [stdout] 212 |         fn points(&self) -> PointIter {
[INFO] [stdout]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::shapes::PointIter` exists but is inaccessible
[INFO] [stdout]    --> src/shapes.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | struct PointIter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/main.rs:229:51
[INFO] [stdout]     |
[INFO] [stdout]   6 | fn main() {
[INFO] [stdout]     | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 229 |     let shapes = std::fs::read_to_string("shapes")?.lines()
[INFO] [stdout]     |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]   6 ~ fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   7 |     // iterators
[INFO] [stdout] ...
[INFO] [stdout] 238 |
[INFO] [stdout] 239 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/main.rs:229:51
[INFO] [stdout]     |
[INFO] [stdout]   6 | fn main() {
[INFO] [stdout]     | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 229 |     let shapes = std::fs::read_to_string("shapes")?.lines()
[INFO] [stdout]     |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]   6 ~ fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   7 |     // iterators
[INFO] [stdout] ...
[INFO] [stdout] 238 |
[INFO] [stdout] 239 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collec` found for struct `Filter<I, P>` in the current scope
[INFO] [stdout]    --> src/main.rs:237:6
[INFO] [stdout]     |
[INFO] [stdout] 233 |       let collisions = shapes.iter()
[INFO] [stdout]     |  ______________________-
[INFO] [stdout] 234 | |     .skip(1)
[INFO] [stdout] 235 | |     .zip(shapes.iter().take(shapes.len()-1))
[INFO] [stdout] 236 | |     .filter(|(a,b)| a.collide(b))
[INFO] [stdout] 237 | |     .collec::<Vec<_>>();
[INFO] [stdout]     | |_____-^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_typescript-9a251367a25565d5.long-type-14670842873471164206.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: there is a method `collect` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 237 |     .collect::<Vec<_>>();
[INFO] [stdout]     |            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collec` found for struct `Filter<I, P>` in the current scope
[INFO] [stdout]    --> src/main.rs:237:6
[INFO] [stdout]     |
[INFO] [stdout] 233 |       let collisions = shapes.iter()
[INFO] [stdout]     |  ______________________-
[INFO] [stdout] 234 | |     .skip(1)
[INFO] [stdout] 235 | |     .zip(shapes.iter().take(shapes.len()-1))
[INFO] [stdout] 236 | |     .filter(|(a,b)| a.collide(b))
[INFO] [stdout] 237 | |     .collec::<Vec<_>>();
[INFO] [stdout]     | |_____-^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_typescript-f3704fe637dfecb0.long-type-2984884348796509252.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: there is a method `collect` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 237 |     .collect::<Vec<_>>();
[INFO] [stdout]     |            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599.
[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 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-typescript` (bin "rust-typescript") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "777c14b269c93f61c075fe6393b5ffbbbb1a578b93da33c4450b8062e878579d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "777c14b269c93f61c075fe6393b5ffbbbb1a578b93da33c4450b8062e878579d", kill_on_drop: false }`
[INFO] [stdout] 777c14b269c93f61c075fe6393b5ffbbbb1a578b93da33c4450b8062e878579d
