[INFO] cloning repository https://github.com/GrandArchTemplar/python-useless-rust-too [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GrandArchTemplar/python-useless-rust-too" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrandArchTemplar%2Fpython-useless-rust-too", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrandArchTemplar%2Fpython-useless-rust-too'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 358eb4fc9ed81f26aa944856775321417af7ea19 [INFO] checking GrandArchTemplar/python-useless-rust-too against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrandArchTemplar%2Fpython-useless-rust-too" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GrandArchTemplar/python-useless-rust-too on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GrandArchTemplar/python-useless-rust-too [INFO] finished tweaking git repo https://github.com/GrandArchTemplar/python-useless-rust-too [INFO] tweaked toml for git repo https://github.com/GrandArchTemplar/python-useless-rust-too written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/GrandArchTemplar/python-useless-rust-too already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9ccbf86d41c6de53d661ce0bbaaa82d8fb870cc0f6fdd7a7e412eb01aa3c8c4 [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" "d9ccbf86d41c6de53d661ce0bbaaa82d8fb870cc0f6fdd7a7e412eb01aa3c8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9ccbf86d41c6de53d661ce0bbaaa82d8fb870cc0f6fdd7a7e412eb01aa3c8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ccbf86d41c6de53d661ce0bbaaa82d8fb870cc0f6fdd7a7e412eb01aa3c8c4", kill_on_drop: false }` [INFO] [stdout] d9ccbf86d41c6de53d661ce0bbaaa82d8fb870cc0f6fdd7a7e412eb01aa3c8c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 1f26fb2eb4163c65e4c5ba466ef535dc86104e92c81f1af77489a7857203c72f [INFO] running `Command { std: "docker" "start" "-a" "1f26fb2eb4163c65e4c5ba466ef535dc86104e92c81f1af77489a7857203c72f", kill_on_drop: false }` [INFO] [stderr] Checking python-useless-rust-too v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::program::Program` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::program::Program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parser.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | return (self.parse.borrow())(input) [INFO] [stdout] | ------------^^^^^^--- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `Borrowed` declared on the trait `Borrow` [INFO] [stdout] | this method call resolves to `&Borrowed` [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::program::Program` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::program::Program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/parser.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | return (self.parse.borrow())(input) [INFO] [stdout] | ------------^^^^^^--- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `Borrowed` declared on the trait `Borrow` [INFO] [stdout] | this method call resolves to `&Borrowed` [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | parse: Box::new(|input| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 66 | | return match left.parse(input) { [INFO] [stdout] 67 | | Ok(x) => Ok(x), [INFO] [stdout] 68 | | Err(err) => right.parse(input), [INFO] [stdout] 69 | | }; [INFO] [stdout] 70 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found closure [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(GlitchType) -> std::result::Result, String>` [INFO] [stdout] found closure `[closure@src/parser.rs:65:25: 70:10]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | parse: Box::new(|input| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 66 | | return match left.parse(input) { [INFO] [stdout] 67 | | Ok(x) => Ok(x), [INFO] [stdout] 68 | | Err(err) => right.parse(input), [INFO] [stdout] 69 | | }; [INFO] [stdout] 70 | | }) [INFO] [stdout] | |_________^ expected fn pointer, found closure [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(GlitchType) -> std::result::Result, String>` [INFO] [stdout] found closure `[closure@src/parser.rs:65:25: 70:10]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `python-useless-rust-too` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1f26fb2eb4163c65e4c5ba466ef535dc86104e92c81f1af77489a7857203c72f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f26fb2eb4163c65e4c5ba466ef535dc86104e92c81f1af77489a7857203c72f", kill_on_drop: false }` [INFO] [stdout] 1f26fb2eb4163c65e4c5ba466ef535dc86104e92c81f1af77489a7857203c72f