[INFO] fetching crate peg-pack 0.1.0... [INFO] testing peg-pack-0.1.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate peg-pack 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate peg-pack 0.1.0 [INFO] finished tweaking crates.io crate peg-pack 0.1.0 [INFO] tweaked toml for crates.io crate peg-pack 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate peg-pack 0.1.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate peg-pack 0.1.0 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bimap v0.6.2 [INFO] [stderr] Downloaded os_str_bytes v6.1.0 [INFO] [stderr] Downloaded serde v1.0.138 [INFO] [stderr] Downloaded serde_derive v1.0.138 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e756c67be652bedfb806a8c86a989606e2529e9fa9dc080bcf0a880fd8027f00 [INFO] running `Command { std: "docker" "start" "-a" "e756c67be652bedfb806a8c86a989606e2529e9fa9dc080bcf0a880fd8027f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e756c67be652bedfb806a8c86a989606e2529e9fa9dc080bcf0a880fd8027f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e756c67be652bedfb806a8c86a989606e2529e9fa9dc080bcf0a880fd8027f00", kill_on_drop: false }` [INFO] [stdout] e756c67be652bedfb806a8c86a989606e2529e9fa9dc080bcf0a880fd8027f00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b2dcd44226f2d10c87b2ddb26bb770b8716b2274913569ca46fc5a976e9a433 [INFO] running `Command { std: "docker" "start" "-a" "5b2dcd44226f2d10c87b2ddb26bb770b8716b2274913569ca46fc5a976e9a433", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling bimap v0.6.2 [INFO] [stderr] Compiling clap_lex v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling clap_derive v4.0.18 [INFO] [stderr] Compiling clap v4.0.18 [INFO] [stderr] Compiling peg-pack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn panic_hook(info: &PanicInfo, default_hook: &dyn Fn(&PanicInfo)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | fn panic_hook(info: &PanicInfo, default_hook: &dyn Fn(&PanicInfo)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Label` is never constructed [INFO] [stdout] --> src/core/load.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | struct Label(String); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected_labels`, `expected_literals`, `position`, and `length` are never read [INFO] [stdout] --> src/runtime/mod.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct GenErrorInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 267 | pub expected_labels: &'static [G::Label], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 268 | pub expected_literals: &'static [&'static [u8]], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 269 | pub position: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 270 | pub length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `len` are never used [INFO] [stdout] --> src/runtime/input.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub unsafe trait Input { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn get(&self, position: u32) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn len(&self) -> u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn function(&mut self, signature: &str) -> Statements { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn function(&mut self, signature: &str) -> Statements<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn enumeration(&mut self, name: &str, public: bool) -> Enum { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn enumeration(&mut self, name: &str, public: bool) -> Enum<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn trait_impl(&mut self, name: &str, target: &str) -> Trait { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn trait_impl(&mut self, name: &str, target: &str) -> Trait<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn match_statement(&mut self, control: &str) -> Match { [INFO] [stdout] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn match_statement(&mut self, control: &str) -> Match<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn if_statement(&mut self, control: &str) -> Statements { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn if_statement(&mut self, control: &str) -> Statements<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn function(&mut self, signature: &str) -> Statements { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 214 | pub fn function(&mut self, signature: &str) -> Statements<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/mod.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn root(&self) -> GenCursor { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn root(&self) -> GenCursor<'_, G> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/runtime/context.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if mem::transmute::<_, fn()>(current_state) [INFO] [stdout] | ____________________^ [INFO] [stdout] 40 | | == mem::transmute::<_, fn()>(finish_state) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 39 - if mem::transmute::<_, fn()>(current_state) [INFO] [stdout] 39 + if std::ptr::fn_addr_eq(mem::transmute::<_, fn()>(current_state), mem::transmute::<_, fn()>(finish_state)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/result.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn walk(&self) -> Walk { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 318 | pub fn walk(&self) -> Walk<'_, G> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/result.rs:322:22 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn walk_from(&self, position: u32) -> Walk { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 322 | pub fn walk_from(&self, position: u32) -> Walk<'_, G> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.06s [INFO] running `Command { std: "docker" "inspect" "5b2dcd44226f2d10c87b2ddb26bb770b8716b2274913569ca46fc5a976e9a433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2dcd44226f2d10c87b2ddb26bb770b8716b2274913569ca46fc5a976e9a433", kill_on_drop: false }` [INFO] [stdout] 5b2dcd44226f2d10c87b2ddb26bb770b8716b2274913569ca46fc5a976e9a433 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 005fe273f256e10d7105cbeaf7f437755bb8aab1cccc1ad4e27ff8d361f19e8a [INFO] running `Command { std: "docker" "start" "-a" "005fe273f256e10d7105cbeaf7f437755bb8aab1cccc1ad4e27ff8d361f19e8a", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn panic_hook(info: &PanicInfo, default_hook: &dyn Fn(&PanicInfo)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | fn panic_hook(info: &PanicInfo, default_hook: &dyn Fn(&PanicInfo)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Label` is never constructed [INFO] [stdout] --> src/core/load.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | struct Label(String); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected_labels`, `expected_literals`, `position`, and `length` are never read [INFO] [stdout] --> src/runtime/mod.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct GenErrorInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 267 | pub expected_labels: &'static [G::Label], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 268 | pub expected_literals: &'static [&'static [u8]], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 269 | pub position: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 270 | pub length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `len` are never used [INFO] [stdout] --> src/runtime/input.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub unsafe trait Input { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn get(&self, position: u32) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn len(&self) -> u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn function(&mut self, signature: &str) -> Statements { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn function(&mut self, signature: &str) -> Statements<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn enumeration(&mut self, name: &str, public: bool) -> Enum { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn enumeration(&mut self, name: &str, public: bool) -> Enum<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn trait_impl(&mut self, name: &str, target: &str) -> Trait { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn trait_impl(&mut self, name: &str, target: &str) -> Trait<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn match_statement(&mut self, control: &str) -> Match { [INFO] [stdout] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn match_statement(&mut self, control: &str) -> Match<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn if_statement(&mut self, control: &str) -> Statements { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn if_statement(&mut self, control: &str) -> Statements<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn function(&mut self, signature: &str) -> Statements { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 214 | pub fn function(&mut self, signature: &str) -> Statements<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/mod.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn root(&self) -> GenCursor { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn root(&self) -> GenCursor<'_, G> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/runtime/context.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if mem::transmute::<_, fn()>(current_state) [INFO] [stdout] | ____________________^ [INFO] [stdout] 40 | | == mem::transmute::<_, fn()>(finish_state) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 39 - if mem::transmute::<_, fn()>(current_state) [INFO] [stdout] 39 + if std::ptr::fn_addr_eq(mem::transmute::<_, fn()>(current_state), mem::transmute::<_, fn()>(finish_state)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/result.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn walk(&self) -> Walk { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 318 | pub fn walk(&self) -> Walk<'_, G> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/result.rs:322:22 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn walk_from(&self, position: u32) -> Walk { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 322 | pub fn walk_from(&self, position: u32) -> Walk<'_, G> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling peg-pack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn panic_hook(info: &PanicInfo, default_hook: &dyn Fn(&PanicInfo)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | fn panic_hook(info: &PanicInfo, default_hook: &dyn Fn(&PanicInfo)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Label` is never constructed [INFO] [stdout] --> src/core/load.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | struct Label(String); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected_labels`, `expected_literals`, `position`, and `length` are never read [INFO] [stdout] --> src/runtime/mod.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct GenErrorInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 267 | pub expected_labels: &'static [G::Label], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 268 | pub expected_literals: &'static [&'static [u8]], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 269 | pub position: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 270 | pub length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `len` are never used [INFO] [stdout] --> src/runtime/input.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub unsafe trait Input { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn get(&self, position: u32) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn len(&self) -> u32; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn function(&mut self, signature: &str) -> Statements { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn function(&mut self, signature: &str) -> Statements<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn enumeration(&mut self, name: &str, public: bool) -> Enum { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn enumeration(&mut self, name: &str, public: bool) -> Enum<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn trait_impl(&mut self, name: &str, target: &str) -> Trait { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn trait_impl(&mut self, name: &str, target: &str) -> Trait<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn match_statement(&mut self, control: &str) -> Match { [INFO] [stdout] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn match_statement(&mut self, control: &str) -> Match<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn if_statement(&mut self, control: &str) -> Statements { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn if_statement(&mut self, control: &str) -> Statements<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/output.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn function(&mut self, signature: &str) -> Statements { [INFO] [stdout] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 214 | pub fn function(&mut self, signature: &str) -> Statements<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/mod.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn root(&self) -> GenCursor { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn root(&self) -> GenCursor<'_, G> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/runtime/context.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if mem::transmute::<_, fn()>(current_state) [INFO] [stdout] | ____________________^ [INFO] [stdout] 40 | | == mem::transmute::<_, fn()>(finish_state) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 39 - if mem::transmute::<_, fn()>(current_state) [INFO] [stdout] 39 + if std::ptr::fn_addr_eq(mem::transmute::<_, fn()>(current_state), mem::transmute::<_, fn()>(finish_state)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/result.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn walk(&self) -> Walk { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 318 | pub fn walk(&self) -> Walk<'_, G> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/result.rs:322:22 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn walk_from(&self, position: u32) -> Walk { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 322 | pub fn walk_from(&self, position: u32) -> Walk<'_, G> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "005fe273f256e10d7105cbeaf7f437755bb8aab1cccc1ad4e27ff8d361f19e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "005fe273f256e10d7105cbeaf7f437755bb8aab1cccc1ad4e27ff8d361f19e8a", kill_on_drop: false }` [INFO] [stdout] 005fe273f256e10d7105cbeaf7f437755bb8aab1cccc1ad4e27ff8d361f19e8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0fc0cb841f8b4f4e013fbc114284a939735d6cb004be8ff948e49974cd3da738 [INFO] running `Command { std: "docker" "start" "-a" "0fc0cb841f8b4f4e013fbc114284a939735d6cb004be8ff948e49974cd3da738", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/cli.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use std::panic::PanicInfo; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/cli.rs:72:22 [INFO] [stderr] | [INFO] [stderr] 72 | fn panic_hook(info: &PanicInfo, default_hook: &dyn Fn(&PanicInfo)) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/cli.rs:72:56 [INFO] [stderr] | [INFO] [stderr] 72 | fn panic_hook(info: &PanicInfo, default_hook: &dyn Fn(&PanicInfo)) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Label` is never constructed [INFO] [stderr] --> src/core/load.rs:219:8 [INFO] [stderr] | [INFO] [stderr] 219 | struct Label(String); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `expected_labels`, `expected_literals`, `position`, and `length` are never read [INFO] [stderr] --> src/runtime/mod.rs:267:9 [INFO] [stderr] | [INFO] [stderr] 266 | pub struct GenErrorInfo { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 267 | pub expected_labels: &'static [G::Label], [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 268 | pub expected_literals: &'static [&'static [u8]], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 269 | pub position: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 270 | pub length: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get` and `len` are never used [INFO] [stderr] --> src/runtime/input.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub unsafe trait Input { [INFO] [stderr] | ----- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 16 | fn get(&self, position: u32) -> Option; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | fn len(&self) -> u32; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/output.rs:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn function(&mut self, signature: &str) -> Statements { [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 32 | pub fn function(&mut self, signature: &str) -> Statements<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/output.rs:44:24 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn enumeration(&mut self, name: &str, public: bool) -> Enum { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ---- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 44 | pub fn enumeration(&mut self, name: &str, public: bool) -> Enum<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/output.rs:57:23 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn trait_impl(&mut self, name: &str, target: &str) -> Trait { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ----- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 57 | pub fn trait_impl(&mut self, name: &str, target: &str) -> Trait<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/output.rs:141:28 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn match_statement(&mut self, control: &str) -> Match { [INFO] [stderr] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 141 | pub fn match_statement(&mut self, control: &str) -> Match<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/output.rs:145:25 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn if_statement(&mut self, control: &str) -> Statements { [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 145 | pub fn if_statement(&mut self, control: &str) -> Statements<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/output.rs:214:21 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn function(&mut self, signature: &str) -> Statements { [INFO] [stderr] | ^^^^^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 214 | pub fn function(&mut self, signature: &str) -> Statements<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/runtime/mod.rs:47:17 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn root(&self) -> GenCursor { [INFO] [stderr] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 47 | pub fn root(&self) -> GenCursor<'_, G> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/runtime/context.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | if mem::transmute::<_, fn()>(current_state) [INFO] [stderr] | ____________________^ [INFO] [stderr] 40 | | == mem::transmute::<_, fn()>(finish_state) [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 39 - if mem::transmute::<_, fn()>(current_state) [INFO] [stderr] 39 + if std::ptr::fn_addr_eq(mem::transmute::<_, fn()>(current_state), mem::transmute::<_, fn()>(finish_state)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/runtime/result.rs:318:17 [INFO] [stderr] | [INFO] [stderr] 318 | pub fn walk(&self) -> Walk { [INFO] [stderr] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 318 | pub fn walk(&self) -> Walk<'_, G> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/runtime/result.rs:322:22 [INFO] [stderr] | [INFO] [stderr] 322 | pub fn walk_from(&self, position: u32) -> Walk { [INFO] [stderr] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 322 | pub fn walk_from(&self, position: u32) -> Walk<'_, G> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `peg-pack` (lib) generated 16 warnings [INFO] [stderr] warning: `peg-pack` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/peg_pack-c10df7c9dd6517fc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/peg_pack-f7a2bf6a2c375a1f) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-b819733eafa06f01) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test all_cases_accounted_for ... ok [INFO] [stdout] test cache_insertion_low_cost ... ok [INFO] [stdout] test character_replacement_unreachable_annotations ... ok [INFO] [stdout] test concatenate_series ... ok [INFO] [stdout] test deduplicate_label ... ok [INFO] [stdout] test eliminate_delegates ... ok [INFO] [stdout] test cache_insertion_high_cost ... ok [INFO] [stdout] test eliminate_redundant_choice ... ok [INFO] [stdout] test deduplicate_series ... ok [INFO] [stdout] test double_not_ahead_elimination_irreducible ... ok [INFO] [stdout] test eliminate_redundant_seq ... ok [INFO] [stdout] test character_replacement_reachable_annotations ... ok [INFO] [stdout] test infer_expected ... ok [INFO] [stdout] test reorder_from_start ... ok [INFO] [stdout] test reorder_choices_loopback ... ok [INFO] [stdout] test reduce_infallible_not_ahead ... ok [INFO] [stdout] test reorder_choices ... ok [INFO] [stdout] test deduplicate_component_instructions ... ok [INFO] [stdout] test reorder_seqs ... ok [INFO] [stdout] test double_not_ahead_elimination ... ok [INFO] [stdout] test trim ... ok [INFO] [stdout] test merge_series ... ok [INFO] [stdout] test reorder_seqs_loopback ... ok [INFO] [stdout] test lower_to_first_choice ... ok [INFO] [stdout] test predicate_state_reduction ... ok [INFO] [stdout] test fold_never_series ... ok [INFO] [stdout] test reorder_seqs_blowup ... ok [INFO] [stdout] test reduce_never_not_ahead ... ok [INFO] [stdout] test deduplicate_components ... ok [INFO] [stderr] Doc-tests peg_pack [INFO] [stdout] test deduplicate_rotated_components ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [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" "0fc0cb841f8b4f4e013fbc114284a939735d6cb004be8ff948e49974cd3da738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fc0cb841f8b4f4e013fbc114284a939735d6cb004be8ff948e49974cd3da738", kill_on_drop: false }` [INFO] [stdout] 0fc0cb841f8b4f4e013fbc114284a939735d6cb004be8ff948e49974cd3da738