[INFO] cloning repository https://github.com/Bietola/rwh-ch10-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bietola/rwh-ch10-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBietola%2Frwh-ch10-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBietola%2Frwh-ch10-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 041f9c323bb248929b6a958b8bd2a3b293c4f6a8 [INFO] testing Bietola/rwh-ch10-rust against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBietola%2Frwh-ch10-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bietola/rwh-ch10-rust on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bietola/rwh-ch10-rust [INFO] finished tweaking git repo https://github.com/Bietola/rwh-ch10-rust [INFO] tweaked toml for git repo https://github.com/Bietola/rwh-ch10-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Bietola/rwh-ch10-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 418d45c84a5976859d75c90f3bac3f74327a3b3c2cf3a9e4519d1f69783a5e33 [INFO] running `Command { std: "docker" "start" "-a" "418d45c84a5976859d75c90f3bac3f74327a3b3c2cf3a9e4519d1f69783a5e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "418d45c84a5976859d75c90f3bac3f74327a3b3c2cf3a9e4519d1f69783a5e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "418d45c84a5976859d75c90f3bac3f74327a3b3c2cf3a9e4519d1f69783a5e33", kill_on_drop: false }` [INFO] [stdout] 418d45c84a5976859d75c90f3bac3f74327a3b3c2cf3a9e4519d1f69783a5e33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9263df4d7077bf5376df505370aaf7c701ab8bf50ad2e40dc0e5eb3572295ee6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9263df4d7077bf5376df505370aaf7c701ab8bf50ad2e40dc0e5eb3572295ee6", kill_on_drop: false }` [INFO] [stderr] Compiling pgm_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found `{` [INFO] [stdout] --> src/main.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | data: unimplemented!(), // TODO need equivalent of L.BinaryString [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected type [INFO] [stdout] | in this macro invocation [INFO] [stdout] | this macro call doesn't expand to a type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_p5_header` in this scope [INFO] [stdout] --> src/main.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | let rest = parse_p5_header(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_int` in this scope [INFO] [stdout] --> src/main.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_nat(input: String) -> Option<(i64, String)> { [INFO] [stdout] | ---------------------------------------------------- similarly named function `parse_nat` defined here [INFO] [stdout] ... [INFO] [stdout] 57 | let (width, rest) = parse_int(rest); [INFO] [stdout] | ^^^^^^^^^ help: a function with a similar name exists: `parse_nat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_int` in this scope [INFO] [stdout] --> src/main.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_nat(input: String) -> Option<(i64, String)> { [INFO] [stdout] | ---------------------------------------------------- similarly named function `parse_nat` defined here [INFO] [stdout] ... [INFO] [stdout] 58 | let (height, rest) = parse_int(rest); [INFO] [stdout] | ^^^^^^^^^ help: a function with a similar name exists: `parse_nat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_int` in this scope [INFO] [stdout] --> src/main.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_nat(input: String) -> Option<(i64, String)> { [INFO] [stdout] | ---------------------------------------------------- similarly named function `parse_nat` defined here [INFO] [stdout] ... [INFO] [stdout] 59 | let (maxGreyVal, rest) = parse_int(rest); [INFO] [stdout] | ^^^^^^^^^ help: a function with a similar name exists: `parse_nat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_bytes` in this scope [INFO] [stdout] --> src/main.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let (_, rest) = parse_bytes(1, rest); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_bytes` in this scope [INFO] [stdout] --> src/main.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let (greyData, rest) = parse_bytes(width * height, rest); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `data`, `height`, `max_grey_val` and 1 other field in initializer of `Greymap` [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | Greymap { [INFO] [stdout] | ^^^^^^^ missing `data`, `height`, `max_grey_val` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 55 | fn parse_p5_pgm(input: String) -> Option<(Greymap, String)> { [INFO] [stdout] | ------------------------- expected `std::option::Option<(Greymap, std::string::String)>` because of return type [INFO] [stdout] ... [INFO] [stdout] 63 | / Greymap { [INFO] [stdout] 64 | | // TODO fill this [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____^ expected enum `std::option::Option`, found struct `Greymap` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(Greymap, std::string::String)>` [INFO] [stdout] found struct `Greymap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pgm_parser`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9263df4d7077bf5376df505370aaf7c701ab8bf50ad2e40dc0e5eb3572295ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9263df4d7077bf5376df505370aaf7c701ab8bf50ad2e40dc0e5eb3572295ee6", kill_on_drop: false }` [INFO] [stdout] 9263df4d7077bf5376df505370aaf7c701ab8bf50ad2e40dc0e5eb3572295ee6