[INFO] cloning repository https://github.com/hawnzug/simple-type-infer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hawnzug/simple-type-infer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhawnzug%2Fsimple-type-infer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhawnzug%2Fsimple-type-infer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34873dd233261ff4fdd40c6ccdeb9e30206f7202 [INFO] checking hawnzug/simple-type-infer against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhawnzug%2Fsimple-type-infer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hawnzug/simple-type-infer on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hawnzug/simple-type-infer [INFO] finished tweaking git repo https://github.com/hawnzug/simple-type-infer [INFO] tweaked toml for git repo https://github.com/hawnzug/simple-type-infer written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/hawnzug/simple-type-infer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded custom_derive v0.1.5 [INFO] [stderr] Downloaded chomp v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc4c528a0e94d733c03f5f421d817fd064cc5c4e43e62094d4fe60aacac0b9ab [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" "bc4c528a0e94d733c03f5f421d817fd064cc5c4e43e62094d4fe60aacac0b9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc4c528a0e94d733c03f5f421d817fd064cc5c4e43e62094d4fe60aacac0b9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc4c528a0e94d733c03f5f421d817fd064cc5c4e43e62094d4fe60aacac0b9ab", kill_on_drop: false }` [INFO] [stdout] bc4c528a0e94d733c03f5f421d817fd064cc5c4e43e62094d4fe60aacac0b9ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e10df6de757261ee3920fc6a232593d758e3abbf56f73fa3bee1a020ca97cfa4 [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" "e10df6de757261ee3920fc6a232593d758e3abbf56f73fa3bee1a020ca97cfa4", kill_on_drop: false }` [INFO] [stderr] Checking custom_derive v0.1.5 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking chomp v0.2.5 [INFO] [stderr] Checking type_infer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / parse!{i; [INFO] [stdout] 18 | | let later = take_while1(is_digit); [INFO] [stdout] 19 | | ret to_malint(from_utf8(later).unwrap().to_string()) [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / parse!{i; [INFO] [stdout] 18 | | let later = take_while1(is_digit); [INFO] [stdout] 19 | | ret to_malint(from_utf8(later).unwrap().to_string()) [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / parse!{i; [INFO] [stdout] 25 | | let s = take_while1(is_alpha); [INFO] [stdout] 26 | | ret Term::Symbol(from_utf8(s).unwrap().to_string()) [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / parse!{i; [INFO] [stdout] 25 | | let s = take_while1(is_alpha); [INFO] [stdout] 26 | | ret Term::Symbol(from_utf8(s).unwrap().to_string()) [INFO] [stdout] 27 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / parse!{i; [INFO] [stdout] 32 | | token(b'('); [INFO] [stdout] 33 | | skip_whitespace(); [INFO] [stdout] 34 | | string(b"lambda"); [INFO] [stdout] ... | [INFO] [stdout] 39 | | ret Term::Lambda(from_utf8(arg).unwrap().to_string(), Box::new(body)) [INFO] [stdout] 40 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / parse!{i; [INFO] [stdout] 32 | | token(b'('); [INFO] [stdout] 33 | | skip_whitespace(); [INFO] [stdout] 34 | | string(b"lambda"); [INFO] [stdout] ... | [INFO] [stdout] 39 | | ret Term::Lambda(from_utf8(arg).unwrap().to_string(), Box::new(body)) [INFO] [stdout] 40 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / parse!{i; [INFO] [stdout] 45 | | token(b'('); [INFO] [stdout] 46 | | skip_whitespace(); [INFO] [stdout] 47 | | token(b'+'); [INFO] [stdout] ... | [INFO] [stdout] 52 | | ret Term::Add(Box::new(a), Box::new(b)) [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / parse!{i; [INFO] [stdout] 45 | | token(b'('); [INFO] [stdout] 46 | | skip_whitespace(); [INFO] [stdout] 47 | | token(b'+'); [INFO] [stdout] ... | [INFO] [stdout] 52 | | ret Term::Add(Box::new(a), Box::new(b)) [INFO] [stdout] 53 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / parse!{i; [INFO] [stdout] 58 | | token(b'('); [INFO] [stdout] 59 | | skip_whitespace(); [INFO] [stdout] 60 | | string(b"if"); [INFO] [stdout] ... | [INFO] [stdout] 66 | | ret Term::If(Box::new(a), Box::new(b), Box::new(c)) [INFO] [stdout] 67 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / parse!{i; [INFO] [stdout] 58 | | token(b'('); [INFO] [stdout] 59 | | skip_whitespace(); [INFO] [stdout] 60 | | string(b"if"); [INFO] [stdout] ... | [INFO] [stdout] 66 | | ret Term::If(Box::new(a), Box::new(b), Box::new(c)) [INFO] [stdout] 67 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / parse!{i; [INFO] [stdout] 72 | | token(b'('); [INFO] [stdout] 73 | | let func = parse_all(); [INFO] [stdout] 74 | | let arg = parse_all(); [INFO] [stdout] 75 | | token(b')'); [INFO] [stdout] 76 | | ret Term::Apply(Box::new(func), Box::new(arg)) [INFO] [stdout] 77 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / parse!{i; [INFO] [stdout] 72 | | token(b'('); [INFO] [stdout] 73 | | let func = parse_all(); [INFO] [stdout] 74 | | let arg = parse_all(); [INFO] [stdout] 75 | | token(b')'); [INFO] [stdout] 76 | | ret Term::Apply(Box::new(func), Box::new(arg)) [INFO] [stdout] 77 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / parse!{i; [INFO] [stdout] 90 | | skip_whitespace(); [INFO] [stdout] 91 | | let t = r(); [INFO] [stdout] 92 | | skip_whitespace(); [INFO] [stdout] 93 | | ret t [INFO] [stdout] 94 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chomp::ascii::is_alpha` [INFO] [stdout] --> src/reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chomp::ascii::is_alpha; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chomp::ascii::is_digit` [INFO] [stdout] --> src/reader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chomp::ascii::is_digit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chomp::ascii::skip_whitespace` [INFO] [stdout] --> src/reader.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chomp::ascii::skip_whitespace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/reader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/eval.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn lookup(&self, &str) -> Option; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/reader.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / parse!{i; [INFO] [stdout] 90 | | skip_whitespace(); [INFO] [stdout] 91 | | let t = r(); [INFO] [stdout] 92 | | skip_whitespace(); [INFO] [stdout] 93 | | ret t [INFO] [stdout] 94 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected expression [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `__parse_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chomp::ascii::is_alpha` [INFO] [stdout] --> src/reader.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chomp::ascii::is_alpha; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chomp::ascii::is_digit` [INFO] [stdout] --> src/reader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chomp::ascii::is_digit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chomp::ascii::skip_whitespace` [INFO] [stdout] --> src/reader.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chomp::ascii::skip_whitespace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/reader.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/eval.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn lookup(&self, &str) -> Option; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `type_infer` due to 8 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e10df6de757261ee3920fc6a232593d758e3abbf56f73fa3bee1a020ca97cfa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10df6de757261ee3920fc6a232593d758e3abbf56f73fa3bee1a020ca97cfa4", kill_on_drop: false }` [INFO] [stdout] e10df6de757261ee3920fc6a232593d758e3abbf56f73fa3bee1a020ca97cfa4