[INFO] fetching crate binjs_meta 0.5.4... [INFO] testing binjs_meta-0.5.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate binjs_meta 0.5.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate binjs_meta 0.5.4 [INFO] finished tweaking crates.io crate binjs_meta 0.5.4 [INFO] tweaked toml for crates.io crate binjs_meta 0.5.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate binjs_meta 0.5.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate binjs_meta 0.5.4 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae3f877633932e00ae51c85eba0e4492ba432495092a251adef9977baa58e478 [INFO] running `Command { std: "docker" "start" "-a" "ae3f877633932e00ae51c85eba0e4492ba432495092a251adef9977baa58e478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae3f877633932e00ae51c85eba0e4492ba432495092a251adef9977baa58e478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae3f877633932e00ae51c85eba0e4492ba432495092a251adef9977baa58e478", kill_on_drop: false }` [INFO] [stdout] ae3f877633932e00ae51c85eba0e4492ba432495092a251adef9977baa58e478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f009955ab7a7921b761fd6ce062befcb716d7d9f178c2d8cdfbf2761d0a4e5c [INFO] running `Command { std: "docker" "start" "-a" "6f009955ab7a7921b761fd6ce062befcb716d7d9f178c2d8cdfbf2761d0a4e5c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling weedle v0.11.0 [INFO] [stderr] Compiling binjs_meta v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/util.rs:395:37 [INFO] [stdout] | [INFO] [stdout] 395 | .fold(0, |x, y| (x + y)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 395 - .fold(0, |x, y| (x + y)); [INFO] [stdout] 395 + .fold(0, |x, y| x + y); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:721:26 [INFO] [stdout] | [INFO] [stdout] 721 | pub fn add_interface(&mut self, name: &NodeName) -> Option> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 721 | pub fn add_interface(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:734:26 [INFO] [stdout] | [INFO] [stdout] 734 | pub fn get_interface(&mut self, name: &NodeName) -> Option> { [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] 734 | pub fn get_interface(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:739:28 [INFO] [stdout] | [INFO] [stdout] 739 | pub fn add_string_enum(&mut self, name: &NodeName) -> Option> { [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] 739 | pub fn add_string_enum(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:751:24 [INFO] [stdout] | [INFO] [stdout] 751 | pub fn add_typedef(&mut self, name: &NodeName) -> Option> { [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] 751 | pub fn add_typedef(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:761:24 [INFO] [stdout] | [INFO] [stdout] 761 | pub fn get_typedef(&self, name: &NodeName) -> Option> { [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] 761 | pub fn get_typedef(&self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:766:28 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn get_typedef_mut(&mut self, name: &NodeName) -> Option> { [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] 766 | pub fn get_typedef_mut(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "6f009955ab7a7921b761fd6ce062befcb716d7d9f178c2d8cdfbf2761d0a4e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f009955ab7a7921b761fd6ce062befcb716d7d9f178c2d8cdfbf2761d0a4e5c", kill_on_drop: false }` [INFO] [stdout] 6f009955ab7a7921b761fd6ce062befcb716d7d9f178c2d8cdfbf2761d0a4e5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 758ebe9bc5743795c85c3dbecd356c3f638bc4b288751ddf82b1886e5d149021 [INFO] running `Command { std: "docker" "start" "-a" "758ebe9bc5743795c85c3dbecd356c3f638bc4b288751ddf82b1886e5d149021", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling regex v1.0.3 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling regex-syntax v0.6.16 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/util.rs:395:37 [INFO] [stdout] | [INFO] [stdout] 395 | .fold(0, |x, y| (x + y)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 395 - .fold(0, |x, y| (x + y)); [INFO] [stdout] 395 + .fold(0, |x, y| x + y); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:721:26 [INFO] [stdout] | [INFO] [stdout] 721 | pub fn add_interface(&mut self, name: &NodeName) -> Option> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 721 | pub fn add_interface(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:734:26 [INFO] [stdout] | [INFO] [stdout] 734 | pub fn get_interface(&mut self, name: &NodeName) -> Option> { [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] 734 | pub fn get_interface(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:739:28 [INFO] [stdout] | [INFO] [stdout] 739 | pub fn add_string_enum(&mut self, name: &NodeName) -> Option> { [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] 739 | pub fn add_string_enum(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:751:24 [INFO] [stdout] | [INFO] [stdout] 751 | pub fn add_typedef(&mut self, name: &NodeName) -> Option> { [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] 751 | pub fn add_typedef(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:761:24 [INFO] [stdout] | [INFO] [stdout] 761 | pub fn get_typedef(&self, name: &NodeName) -> Option> { [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] 761 | pub fn get_typedef(&self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:766:28 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn get_typedef_mut(&mut self, name: &NodeName) -> Option> { [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] 766 | pub fn get_typedef_mut(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling clap v2.30.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling binjs_meta v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: named argument `kind` is not used by name [INFO] [stdout] --> examples/generate_spidermonkey.rs:1405:17 [INFO] [stdout] | [INFO] [stdout] 1401 | return raiseError(\"FIXME: Not implemented yet ({})\"); [INFO] [stdout] | -- this formatting argument uses named argument `kind` by position [INFO] [stdout] ... [INFO] [stdout] 1405 | kind = kind.to_str(), [INFO] [stdout] | ^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 1401 | return raiseError(\"FIXME: Not implemented yet ({kind})\"); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/util.rs:395:37 [INFO] [stdout] | [INFO] [stdout] 395 | .fold(0, |x, y| (x + y)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 395 - .fold(0, |x, y| (x + y)); [INFO] [stdout] 395 + .fold(0, |x, y| x + y); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> examples/generate_spidermonkey.rs:176:49 [INFO] [stdout] | [INFO] [stdout] 176 | .unwrap_or_else(|| panic!("Node {} isn't a dictionary")); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 176 | .unwrap_or_else(|| panic!("Node {} isn't a dictionary", ...)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 176 | .unwrap_or_else(|| panic!("{}", "Node {} isn't a dictionary")); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:721:26 [INFO] [stdout] | [INFO] [stdout] 721 | pub fn add_interface(&mut self, name: &NodeName) -> Option> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 721 | pub fn add_interface(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:734:26 [INFO] [stdout] | [INFO] [stdout] 734 | pub fn get_interface(&mut self, name: &NodeName) -> Option> { [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] 734 | pub fn get_interface(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:739:28 [INFO] [stdout] | [INFO] [stdout] 739 | pub fn add_string_enum(&mut self, name: &NodeName) -> Option> { [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] 739 | pub fn add_string_enum(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:751:24 [INFO] [stdout] | [INFO] [stdout] 751 | pub fn add_typedef(&mut self, name: &NodeName) -> Option> { [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] 751 | pub fn add_typedef(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:761:24 [INFO] [stdout] | [INFO] [stdout] 761 | pub fn get_typedef(&self, name: &NodeName) -> Option> { [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] 761 | pub fn get_typedef(&self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/spec.rs:766:28 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn get_typedef_mut(&mut self, name: &NodeName) -> Option> { [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] 766 | pub fn get_typedef_mut(&mut self, name: &NodeName) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "758ebe9bc5743795c85c3dbecd356c3f638bc4b288751ddf82b1886e5d149021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758ebe9bc5743795c85c3dbecd356c3f638bc4b288751ddf82b1886e5d149021", kill_on_drop: false }` [INFO] [stdout] 758ebe9bc5743795c85c3dbecd356c3f638bc4b288751ddf82b1886e5d149021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31c022bead5b018c50e9b36ada663fd957c15ad7e5a816d249560615a776c373 [INFO] running `Command { std: "docker" "start" "-a" "31c022bead5b018c50e9b36ada663fd957c15ad7e5a816d249560615a776c373", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/util.rs:395:37 [INFO] [stderr] | [INFO] [stderr] 395 | .fold(0, |x, y| (x + y)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 395 - .fold(0, |x, y| (x + y)); [INFO] [stderr] 395 + .fold(0, |x, y| x + y); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spec.rs:721:26 [INFO] [stderr] | [INFO] [stderr] 721 | pub fn add_interface(&mut self, name: &NodeName) -> Option> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 721 | pub fn add_interface(&mut self, name: &NodeName) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spec.rs:734:26 [INFO] [stderr] | [INFO] [stderr] 734 | pub fn get_interface(&mut self, name: &NodeName) -> Option> { [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] 734 | pub fn get_interface(&mut self, name: &NodeName) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spec.rs:739:28 [INFO] [stderr] | [INFO] [stderr] 739 | pub fn add_string_enum(&mut self, name: &NodeName) -> Option> { [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] 739 | pub fn add_string_enum(&mut self, name: &NodeName) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spec.rs:751:24 [INFO] [stderr] | [INFO] [stderr] 751 | pub fn add_typedef(&mut self, name: &NodeName) -> Option> { [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] 751 | pub fn add_typedef(&mut self, name: &NodeName) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spec.rs:761:24 [INFO] [stderr] | [INFO] [stderr] 761 | pub fn get_typedef(&self, name: &NodeName) -> Option> { [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] 761 | pub fn get_typedef(&self, name: &NodeName) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/spec.rs:766:28 [INFO] [stderr] | [INFO] [stderr] 766 | pub fn get_typedef_mut(&mut self, name: &NodeName) -> Option> { [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] 766 | pub fn get_typedef_mut(&mut self, name: &NodeName) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `binjs_meta` (lib) generated 7 warnings (run `cargo fix --lib -p binjs_meta` to apply 7 suggestions) [INFO] [stderr] warning: named argument `kind` is not used by name [INFO] [stderr] --> examples/generate_spidermonkey.rs:1405:17 [INFO] [stderr] | [INFO] [stderr] 1401 | return raiseError(\"FIXME: Not implemented yet ({})\"); [INFO] [stderr] | -- this formatting argument uses named argument `kind` by position [INFO] [stderr] ... [INFO] [stderr] 1405 | kind = kind.to_str(), [INFO] [stderr] | ^^^^ this named argument is referred to by position in formatting string [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stderr] help: use the named argument by name to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 1401 | return raiseError(\"FIXME: Not implemented yet ({kind})\"); [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> examples/generate_spidermonkey.rs:176:49 [INFO] [stderr] | [INFO] [stderr] 176 | .unwrap_or_else(|| panic!("Node {} isn't a dictionary")); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 176 | .unwrap_or_else(|| panic!("Node {} isn't a dictionary", ...)); [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 176 | .unwrap_or_else(|| panic!("{}", "Node {} isn't a dictionary")); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `binjs_meta` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] warning: `binjs_meta` (example "generate_spidermonkey") generated 2 warnings (run `cargo fix --example "generate_spidermonkey" -p binjs_meta` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/binjs_meta-d599df2ed9763b74) [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] Doc-tests binjs_meta [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/util.rs:395:37 [INFO] [stderr] | [INFO] [stderr] 395 | .fold(0, |x, y| (x + y)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 395 - .fold(0, |x, y| (x + y)); [INFO] [stderr] 395 + .fold(0, |x, y| x + y); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/util.rs - util::ToCases::to_class_cases (line 44) ... ok [INFO] [stdout] test src/util.rs - util::ToCases::to_rust_identifier_case (line 85) ... ok [INFO] [stdout] test src/util.rs - util::ToCases::to_cpp_enum_case (line 57) ... ok [INFO] [stdout] test src/util.rs - util::Reindentable::reindent (line 212) ... ok [INFO] [stdout] test src/util.rs - util::Reindentable::fit (line 232) ... ok [INFO] [stdout] test src/util.rs - util::ToCases::to_cpp_field_case (line 71) ... ok [INFO] [stdout] test src/util.rs - util::name_sorter::NameSorter::insert (line 403) ... ok [INFO] [stdout] test src/import.rs - import::Importer::import (line 28) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.85s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "31c022bead5b018c50e9b36ada663fd957c15ad7e5a816d249560615a776c373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31c022bead5b018c50e9b36ada663fd957c15ad7e5a816d249560615a776c373", kill_on_drop: false }` [INFO] [stdout] 31c022bead5b018c50e9b36ada663fd957c15ad7e5a816d249560615a776c373