[INFO] cloning repository https://github.com/rhysd/OhmaeCaml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rhysd/OhmaeCaml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhysd%2FOhmaeCaml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhysd%2FOhmaeCaml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b4093b9824b8ac40135b6b1da532b966b995244 [INFO] testing rhysd/OhmaeCaml against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhysd%2FOhmaeCaml" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rhysd/OhmaeCaml on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rhysd/OhmaeCaml [INFO] finished tweaking git repo https://github.com/rhysd/OhmaeCaml [INFO] tweaked toml for git repo https://github.com/rhysd/OhmaeCaml written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rhysd/OhmaeCaml 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 676421370a7199851cb8a5bc9ad2d613e440564c3afcc0926deaa8da7830e49d [INFO] running `Command { std: "docker" "start" "-a" "676421370a7199851cb8a5bc9ad2d613e440564c3afcc0926deaa8da7830e49d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "676421370a7199851cb8a5bc9ad2d613e440564c3afcc0926deaa8da7830e49d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "676421370a7199851cb8a5bc9ad2d613e440564c3afcc0926deaa8da7830e49d", kill_on_drop: false }` [INFO] [stdout] 676421370a7199851cb8a5bc9ad2d613e440564c3afcc0926deaa8da7830e49d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fa0a4a20ef7fbc2b488225d9fbcfd48e70964a69894b799396108211090930d [INFO] running `Command { std: "docker" "start" "-a" "1fa0a4a20ef7fbc2b488225d9fbcfd48e70964a69894b799396108211090930d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling nom v2.0.1 [INFO] [stderr] Compiling ohmae-caml v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `named_dbg` [INFO] [stdout] --> src/parser.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | macro_rules! named_dbg { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | named!(keyword<&[u8]>, do_parse!( [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 100 | | k: alt!( [INFO] [stdout] 101 | | tag!("true") | [INFO] [stdout] 102 | | tag!("false") | [INFO] [stdout] ... | [INFO] [stdout] 111 | | (k) [INFO] [stdout] 112 | | )); [INFO] [stdout] | |__- lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/ast.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct AST { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 33 | pub root: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ast.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 87 | Constant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 88 | value: ConstValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `lhs`, and `rhs` are never read [INFO] [stdout] --> src/ast.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 91 | BinOpExpr { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 92 | op: BinOp, [INFO] [stdout] | ^^ [INFO] [stdout] 93 | lhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 94 | rhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOpExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op` and `child` are never read [INFO] [stdout] --> src/ast.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 97 | UnaryOpExpr { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 98 | op: UnaryOp, [INFO] [stdout] | ^^ [INFO] [stdout] 99 | child: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOpExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `then_clause`, and `else_clause` are never read [INFO] [stdout] --> src/ast.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 102 | If { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 103 | cond: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 104 | then_clause: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 105 | else_clause: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `bound`, and `body` are never read [INFO] [stdout] --> src/ast.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 108 | Let { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 110 | bound: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Let` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ast.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 114 | Var { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 115 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `funcdef` and `body` are never read [INFO] [stdout] --> src/ast.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 118 | LetRec { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 119 | funcdef: Fundef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LetRec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `callee` and `args` are never read [INFO] [stdout] --> src/ast.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 123 | Apply { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 124 | callee: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 125 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Apply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elems` is never read [INFO] [stdout] --> src/ast.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 128 | Tuple { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 129 | elems: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `names`, `bound`, and `body` are never read [INFO] [stdout] --> src/ast.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 132 | LetTuple { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 133 | names: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 134 | bound: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 135 | body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LetTuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `elem` are never read [INFO] [stdout] --> src/ast.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 138 | Array { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 139 | size: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 140 | elem: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Array` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `array` and `index` are never read [INFO] [stdout] --> src/ast.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 143 | Get { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 144 | array: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 145 | index: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Get` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `array`, `index`, and `rhs` are never read [INFO] [stdout] --> src/ast.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 148 | Put { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 149 | array: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 150 | index: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 151 | rhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Put` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `params`, and `body` are never read [INFO] [stdout] --> src/ast.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct Fundef { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 193 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 194 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 195 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fundef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/source.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | File(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Location` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | File(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `byte_len` and `location` are never read [INFO] [stdout] --> src/source.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Source { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 24 | code: String, [INFO] [stdout] 25 | pub byte_len: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Source` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `position_from_offset` and `source_location` are never used [INFO] [stdout] --> src/source.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Source { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn position_from_offset(&self, g: G) -> Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn source_location(&self, g: G) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1fa0a4a20ef7fbc2b488225d9fbcfd48e70964a69894b799396108211090930d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fa0a4a20ef7fbc2b488225d9fbcfd48e70964a69894b799396108211090930d", kill_on_drop: false }` [INFO] [stdout] 1fa0a4a20ef7fbc2b488225d9fbcfd48e70964a69894b799396108211090930d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f837be1febbc2f9fcd76e4c0b6a3547db8ad15a8a527a21f37b0ce90a645675 [INFO] running `Command { std: "docker" "start" "-a" "3f837be1febbc2f9fcd76e4c0b6a3547db8ad15a8a527a21f37b0ce90a645675", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling ohmae-caml v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `named_dbg` [INFO] [stdout] --> src/parser.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | macro_rules! named_dbg { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | named!(keyword<&[u8]>, do_parse!( [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 100 | | k: alt!( [INFO] [stdout] 101 | | tag!("true") | [INFO] [stdout] 102 | | tag!("false") | [INFO] [stdout] ... | [INFO] [stdout] 111 | | (k) [INFO] [stdout] 112 | | )); [INFO] [stdout] | |__- lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/ast.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct AST { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 33 | pub root: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ast.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 87 | Constant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 88 | value: ConstValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `lhs`, and `rhs` are never read [INFO] [stdout] --> src/ast.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 91 | BinOpExpr { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 92 | op: BinOp, [INFO] [stdout] | ^^ [INFO] [stdout] 93 | lhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 94 | rhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOpExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op` and `child` are never read [INFO] [stdout] --> src/ast.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 97 | UnaryOpExpr { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 98 | op: UnaryOp, [INFO] [stdout] | ^^ [INFO] [stdout] 99 | child: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOpExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `then_clause`, and `else_clause` are never read [INFO] [stdout] --> src/ast.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 102 | If { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 103 | cond: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 104 | then_clause: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 105 | else_clause: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `If` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `bound`, and `body` are never read [INFO] [stdout] --> src/ast.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 108 | Let { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 110 | bound: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Let` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ast.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 114 | Var { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 115 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `funcdef` and `body` are never read [INFO] [stdout] --> src/ast.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 118 | LetRec { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 119 | funcdef: Fundef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LetRec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `callee` and `args` are never read [INFO] [stdout] --> src/ast.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 123 | Apply { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 124 | callee: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 125 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Apply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `elems` is never read [INFO] [stdout] --> src/ast.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 128 | Tuple { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 129 | elems: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `names`, `bound`, and `body` are never read [INFO] [stdout] --> src/ast.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 132 | LetTuple { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 133 | names: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 134 | bound: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 135 | body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LetTuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `elem` are never read [INFO] [stdout] --> src/ast.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 138 | Array { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 139 | size: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 140 | elem: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Array` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `array` and `index` are never read [INFO] [stdout] --> src/ast.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 143 | Get { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 144 | array: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 145 | index: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Get` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `array`, `index`, and `rhs` are never read [INFO] [stdout] --> src/ast.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 148 | Put { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 149 | array: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 150 | index: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 151 | rhs: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Put` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `params`, and `body` are never read [INFO] [stdout] --> src/ast.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct Fundef { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 193 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 194 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 195 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fundef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/source.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | File(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Location` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | File(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `byte_len` and `location` are never read [INFO] [stdout] --> src/source.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Source { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 24 | code: String, [INFO] [stdout] 25 | pub byte_len: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Source` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `position_from_offset` and `source_location` are never used [INFO] [stdout] --> src/source.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Source { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn position_from_offset(&self, g: G) -> Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn source_location(&self, g: G) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3f837be1febbc2f9fcd76e4c0b6a3547db8ad15a8a527a21f37b0ce90a645675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f837be1febbc2f9fcd76e4c0b6a3547db8ad15a8a527a21f37b0ce90a645675", kill_on_drop: false }` [INFO] [stdout] 3f837be1febbc2f9fcd76e4c0b6a3547db8ad15a8a527a21f37b0ce90a645675 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5f10a9659799974addf613a0a8ec9f4fc6ef22451202e439fca3e27d2001ee16 [INFO] running `Command { std: "docker" "start" "-a" "5f10a9659799974addf613a0a8ec9f4fc6ef22451202e439fca3e27d2001ee16", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused macro definition: `named_dbg` [INFO] [stderr] --> src/parser.rs:20:14 [INFO] [stderr] | [INFO] [stderr] 20 | macro_rules! named_dbg { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/parser.rs:99:16 [INFO] [stderr] | [INFO] [stderr] 99 | named!(keyword<&[u8]>, do_parse!( [INFO] [stderr] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | _| [INFO] [stderr] | | [INFO] [stderr] 100 | | k: alt!( [INFO] [stderr] 101 | | tag!("true") | [INFO] [stderr] 102 | | tag!("false") | [INFO] [stderr] ... | [INFO] [stderr] 111 | | (k) [INFO] [stderr] 112 | | )); [INFO] [stderr] | |__- lifetime `'a` declared here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `root` is never read [INFO] [stderr] --> src/ast.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct AST { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 33 | pub root: Expr, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `value` is never read [INFO] [stderr] --> src/ast.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 87 | Constant { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 88 | value: ConstValue, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Constant` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `op`, `lhs`, and `rhs` are never read [INFO] [stderr] --> src/ast.rs:92:13 [INFO] [stderr] | [INFO] [stderr] 91 | BinOpExpr { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 92 | op: BinOp, [INFO] [stderr] | ^^ [INFO] [stderr] 93 | lhs: Box, [INFO] [stderr] | ^^^ [INFO] [stderr] 94 | rhs: Box, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BinOpExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `op` and `child` are never read [INFO] [stderr] --> src/ast.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 97 | UnaryOpExpr { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 98 | op: UnaryOp, [INFO] [stderr] | ^^ [INFO] [stderr] 99 | child: Box, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UnaryOpExpr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `cond`, `then_clause`, and `else_clause` are never read [INFO] [stderr] --> src/ast.rs:103:13 [INFO] [stderr] | [INFO] [stderr] 102 | If { [INFO] [stderr] | -- fields in this struct [INFO] [stderr] 103 | cond: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] 104 | then_clause: Box, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 105 | else_clause: Box, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `If` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `bound`, and `body` are never read [INFO] [stderr] --> src/ast.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 108 | Let { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 109 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 110 | bound: Box, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 111 | body: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Let` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/ast.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 114 | Var { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 115 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Var` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `funcdef` and `body` are never read [INFO] [stderr] --> src/ast.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 118 | LetRec { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 119 | funcdef: Fundef, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 120 | body: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LetRec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `callee` and `args` are never read [INFO] [stderr] --> src/ast.rs:124:13 [INFO] [stderr] | [INFO] [stderr] 123 | Apply { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 124 | callee: Box, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 125 | args: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Apply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `elems` is never read [INFO] [stderr] --> src/ast.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 128 | Tuple { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 129 | elems: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Tuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `names`, `bound`, and `body` are never read [INFO] [stderr] --> src/ast.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 132 | LetTuple { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 133 | names: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 134 | bound: Box, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 135 | body: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LetTuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `size` and `elem` are never read [INFO] [stderr] --> src/ast.rs:139:13 [INFO] [stderr] | [INFO] [stderr] 138 | Array { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 139 | size: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] 140 | elem: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Array` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `array` and `index` are never read [INFO] [stderr] --> src/ast.rs:144:13 [INFO] [stderr] | [INFO] [stderr] 143 | Get { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 144 | array: Box, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 145 | index: Box, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Get` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `array`, `index`, and `rhs` are never read [INFO] [stderr] --> src/ast.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 148 | Put { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 149 | array: Box, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 150 | index: Box, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 151 | rhs: Box, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Put` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: this warning originates in the macro `enum_ast_nodes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `params`, and `body` are never read [INFO] [stderr] --> src/ast.rs:193:9 [INFO] [stderr] | [INFO] [stderr] 192 | pub struct Fundef { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 193 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 194 | pub params: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 195 | pub body: Box, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Fundef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/source.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | File(String), [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Location` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 18 | File(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: fields `byte_len` and `location` are never read [INFO] [stderr] --> src/source.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct Source { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 24 | code: String, [INFO] [stderr] 25 | pub byte_len: usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 26 | pub location: Location, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Source` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `position_from_offset` and `source_location` are never used [INFO] [stderr] --> src/source.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Source { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn position_from_offset(&self, g: G) -> Position { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 77 | pub fn source_location(&self, g: G) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ohmae-caml` (bin "ohmae-caml" test) generated 20 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ohmae_caml-54f18ab10942b441) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5f10a9659799974addf613a0a8ec9f4fc6ef22451202e439fca3e27d2001ee16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f10a9659799974addf613a0a8ec9f4fc6ef22451202e439fca3e27d2001ee16", kill_on_drop: false }` [INFO] [stdout] 5f10a9659799974addf613a0a8ec9f4fc6ef22451202e439fca3e27d2001ee16