[INFO] cloning repository https://github.com/akky2501/Ruml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akky2501/Ruml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakky2501%2FRuml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakky2501%2FRuml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb84680a5dec0dde3d2fb0718267528f27fd9931 [INFO] building akky2501/Ruml against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakky2501%2FRuml" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akky2501/Ruml on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/akky2501/Ruml [INFO] finished tweaking git repo https://github.com/akky2501/Ruml [INFO] tweaked toml for git repo https://github.com/akky2501/Ruml written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/akky2501/Ruml 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pom v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3c6645ba49033bbf0a2427dcdc30c232aef70a54ac83c090d73b8a8f2f219c8 [INFO] running `Command { std: "docker" "start" "-a" "a3c6645ba49033bbf0a2427dcdc30c232aef70a54ac83c090d73b8a8f2f219c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3c6645ba49033bbf0a2427dcdc30c232aef70a54ac83c090d73b8a8f2f219c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c6645ba49033bbf0a2427dcdc30c232aef70a54ac83c090d73b8a8f2f219c8", kill_on_drop: false }` [INFO] [stdout] a3c6645ba49033bbf0a2427dcdc30c232aef70a54ac83c090d73b8a8f2f219c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 661d7d233b72a25f8eb8fc32940746d1b96c2ea75f8f6ca8b883b7b0fff81e45 [INFO] running `Command { std: "docker" "start" "-a" "661d7d233b72a25f8eb8fc32940746d1b96c2ea75f8f6ca8b883b7b0fff81e45", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling pom v1.0.1 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling Ruml v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, box_patterns)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:74:74 [INFO] [stdout] | [INFO] [stdout] 74 | Ast::Let{ name:(name, Type::Var(gen_var_count())), expr: box expr, cont: box Ast::Unit, type_: Type::None} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 74 | Ast::Let{ name:(name, Type::Var(gen_var_count())), expr: Box::new(expr), cont: box Ast::Unit, type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:74:90 [INFO] [stdout] | [INFO] [stdout] 74 | Ast::Let{ name:(name, Type::Var(gen_var_count())), expr: box expr, cont: box Ast::Unit, type_: Type::None} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 74 | Ast::Let{ name:(name, Type::Var(gen_var_count())), expr: box expr, cont: Box::new(Ast::Unit), type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | Ast::LetRec{ funcs, cont: box Ast::Unit , type_: Type::None} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 78 | Ast::LetRec{ funcs, cont: Box::new(Ast::Unit) , type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:83:39 [INFO] [stdout] | [INFO] [stdout] 83 | ... expr: box expr, cont: box Ast::Unit, type_: Type::None} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 83 | expr: Box::new(expr), cont: box Ast::Unit, type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:83:55 [INFO] [stdout] | [INFO] [stdout] 83 | ... expr: box expr, cont: box Ast::Unit, type_: Type::None} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 83 | expr: box expr, cont: Box::new(Ast::Unit), type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | TypeAst::Func(t, box r) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 116 | TypeAst::Func(t, Box::new(r)) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | Ast::Logical{lhs: box lhs, op, rhs: box rhs, type_: Type::None} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 189 | Ast::Logical{lhs: Box::new(lhs), op, rhs: box rhs, type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:189:49 [INFO] [stdout] | [INFO] [stdout] 189 | Ast::Logical{lhs: box lhs, op, rhs: box rhs, type_: Type::None} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 189 | Ast::Logical{lhs: box lhs, op, rhs: Box::new(rhs), type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:200:31 [INFO] [stdout] | [INFO] [stdout] 200 | Ast::Logical{lhs: box lhs, op, rhs: box rhs, type_: Type::None} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 200 | Ast::Logical{lhs: Box::new(lhs), op, rhs: box rhs, type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:200:49 [INFO] [stdout] | [INFO] [stdout] 200 | Ast::Logical{lhs: box lhs, op, rhs: box rhs, type_: Type::None} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 200 | Ast::Logical{lhs: box lhs, op, rhs: Box::new(rhs), type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | Ast::BinaryOp{lhs: box lhs, op, rhs: box rhs, type_: Type::None} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 217 | Ast::BinaryOp{lhs: Box::new(lhs), op, rhs: box rhs, type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:217:50 [INFO] [stdout] | [INFO] [stdout] 217 | Ast::BinaryOp{lhs: box lhs, op, rhs: box rhs, type_: Type::None} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 217 | Ast::BinaryOp{lhs: box lhs, op, rhs: Box::new(rhs), type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | Ast::UnaryOp{op, expr: box expr, type_: Type::None} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 229 | Ast::UnaryOp{op, expr: Box::new(expr), type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | Some(box Ast::Tuple(args, Type::None)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 250 | Some(Box::new(Ast::Tuple(args, Type::None))) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 263 | Ast::Apply{ func: box func, args, type_: Type::None} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 263 | Ast::Apply{ func: Box::new(func), args, type_: Type::None} [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:272:48 [INFO] [stdout] | [INFO] [stdout] 272 | .map(|((cond, then), else_)| Ast::If{cond: box cond, then: box then, else_: box else_, type_: Type::None} ) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 272 | .map(|((cond, then), else_)| Ast::If{cond: Box::new(cond), then: box then, else_: box else_, type_: Type::None} ) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:272:64 [INFO] [stdout] | [INFO] [stdout] 272 | .map(|((cond, then), else_)| Ast::If{cond: box cond, then: box then, else_: box else_, type_: Type::None} ) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 272 | .map(|((cond, then), else_)| Ast::If{cond: box cond, then: Box::new(then), else_: box else_, type_: Type::None} ) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:272:81 [INFO] [stdout] | [INFO] [stdout] 272 | .map(|((cond, then), else_)| Ast::If{cond: box cond, then: box then, else_: box else_, type_: Type::None} ) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 272 | .map(|((cond, then), else_)| Ast::If{cond: box cond, then: box then, else_: Box::new(else_), type_: Type::None} ) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:277:43 [INFO] [stdout] | [INFO] [stdout] 277 | .map(|(expr, arms)| Ast::Match{ expr: box expr, arms, type_: Type::None}) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 277 | .map(|(expr, arms)| Ast::Match{ expr: Box::new(expr), arms, type_: Type::None}) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:373:99 [INFO] [stdout] | [INFO] [stdout] 373 | ... .map(|((name, expr), cont)| Ast::Let{ name: (name, Type::Var(gen_var_count())), expr: box expr, cont: box cont, type_: Type::None}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 373 | .map(|((name, expr), cont)| Ast::Let{ name: (name, Type::Var(gen_var_count())), expr: Box::new(expr), cont: box cont, type_: Type::None}); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:373:115 [INFO] [stdout] | [INFO] [stdout] 373 | ... .map(|((name, expr), cont)| Ast::Let{ name: (name, Type::Var(gen_var_count())), expr: box expr, cont: box cont, type_: Type::None}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 373 | .map(|((name, expr), cont)| Ast::Let{ name: (name, Type::Var(gen_var_count())), expr: box expr, cont: Box::new(cont), type_: Type::None}); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:376:60 [INFO] [stdout] | [INFO] [stdout] 376 | .map(|(funcs, cont)| Ast::LetRec{ funcs, cont: box cont , type_: Type::None}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 376 | .map(|(funcs, cont)| Ast::LetRec{ funcs, cont: Box::new(cont) , type_: Type::None}); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:380:61 [INFO] [stdout] | [INFO] [stdout] 380 | ... , expr: box expr, cont: box cont, type_: Type::None}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 380 | , expr: Box::new(expr), cont: box cont, type_: Type::None}); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/parse.rs:380:77 [INFO] [stdout] | [INFO] [stdout] 380 | ... , expr: box expr, cont: box cont, type_: Type::None}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 380 | , expr: box expr, cont: Box::new(cont), type_: Type::None}); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/mangling.rs:260:23 [INFO] [stdout] | [INFO] [stdout] 260 | let ret = box convert_type(*ret, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 260 | let ret = Box::new(convert_type(*ret, env)); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parse.rs:356:20 [INFO] [stdout] | [INFO] [stdout] 356 | fn let_decl() -> P<((Id, Ast))> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 356 - fn let_decl() -> P<((Id, Ast))> { [INFO] [stdout] 356 + fn let_decl() -> P<(Id, Ast)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parse.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | (head * ms1() * list(l, ms1()*seq("and")*ms1())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 364 - (head * ms1() * list(l, ms1()*seq("and")*ms1())) [INFO] [stdout] 364 + head * ms1() * list(l, ms1()*seq("and")*ms1()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/id.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | static ref NEXT_COUNT: Mutex = Mutex::new(0); [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/id.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | static ref NEXT_COUNT: Mutex = Mutex::new(0); [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | static ref RESERVED: HashSet = { [INFO] [stdout] 25 | | let mut s = HashSet::new(); [INFO] [stdout] 26 | | s.insert(Id::new("let".to_string())); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lazy_static! { [INFO] [stdout] 24 | | static ref RESERVED: HashSet = { [INFO] [stdout] 25 | | let mut s = HashSet::new(); [INFO] [stdout] 26 | | s.insert(Id::new("let".to_string())); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/typing.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref TYPE_VAR_NEXT_COUNT: Mutex = Mutex::new(0); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/typing.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | static ref TYPE_VAR_NEXT_COUNT: Mutex = Mutex::new(0); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctor` [INFO] [stdout] --> src/mangling.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | &mut Ctor { ref mut ctor, ref mut args , type_: _} => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `ctor: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/mangling.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | &mut DataDestruct{ ref mut data, ref mut args } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `data: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/typing.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/typing.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 621 | PatternAst::Wildcard(ref id) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 625 | PatternAst::Discard => Ok((Type::Var(gen_var_count()), vec![])), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 626 | PatternAst::Unit => Ok((Type::Unit, vec![])), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 627 | PatternAst::Int(_) => Ok((Type::Int, vec![])), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 667 | _ => unimplemented!(), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctor` [INFO] [stdout] --> src/typing.rs:692:21 [INFO] [stdout] | [INFO] [stdout] 692 | &mut Ctor { ref mut ctor, ref mut args , ref mut type_} => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `ctor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_` [INFO] [stdout] --> src/typing.rs:737:68 [INFO] [stdout] | [INFO] [stdout] 737 | &mut LetTuple { ref mut names, ref mut expr, ref mut cont, ref mut type_} => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `type_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/eval.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | &Match { ref expr, ref arms , type_: _} => unimplemented!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `expr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arms` [INFO] [stdout] --> src/eval.rs:246:28 [INFO] [stdout] | [INFO] [stdout] 246 | &Match { ref expr, ref arms , type_: _} => unimplemented!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `arms: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Ruml` (bin "Ruml") due to 26 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "661d7d233b72a25f8eb8fc32940746d1b96c2ea75f8f6ca8b883b7b0fff81e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "661d7d233b72a25f8eb8fc32940746d1b96c2ea75f8f6ca8b883b7b0fff81e45", kill_on_drop: false }` [INFO] [stdout] 661d7d233b72a25f8eb8fc32940746d1b96c2ea75f8f6ca8b883b7b0fff81e45