[INFO] fetching crate aterm 0.20.0... [INFO] testing aterm-0.20.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate aterm 0.20.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate aterm 0.20.0 [INFO] finished tweaking crates.io crate aterm 0.20.0 [INFO] tweaked toml for crates.io crate aterm 0.20.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate aterm 0.20.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding regex v0.2.11 (available: v1.12.2) [INFO] [stderr] Adding typed-arena v1.7.0 (available: v2.0.2) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8df07490b5d1fbef678cb86bceed6d11355941e68640d1707c1293d84b13cf5d [INFO] running `Command { std: "docker" "start" "-a" "8df07490b5d1fbef678cb86bceed6d11355941e68640d1707c1293d84b13cf5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8df07490b5d1fbef678cb86bceed6d11355941e68640d1707c1293d84b13cf5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8df07490b5d1fbef678cb86bceed6d11355941e68640d1707c1293d84b13cf5d", kill_on_drop: false }` [INFO] [stdout] 8df07490b5d1fbef678cb86bceed6d11355941e68640d1707c1293d84b13cf5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ae1a825e5e0da2582818ad7bebf6b8377d46bc93ce3c3c15e32f8f98564565b3 [INFO] running `Command { std: "docker" "start" "-a" "ae1a825e5e0da2582818ad7bebf6b8377d46bc93ce3c3c15e32f8f98564565b3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling aterm v0.20.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | '\x20' ... '\x7e' => result.push(c), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static! { [INFO] [stdout] 79 | | static ref INT: Regex = Regex::new(r"^[+\-]?[0-9]+").unwrap(); [INFO] [stdout] 80 | | static ref REAL: Regex = [INFO] [stdout] 81 | | Regex::new(r"^[+\-]?[0-9]+\.[0-9]*([eE][+\-]?[0-9]+)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 86 | | .unwrap(); [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static! { [INFO] [stdout] 79 | | static ref INT: Regex = Regex::new(r"^[+\-]?[0-9]+").unwrap(); [INFO] [stdout] 80 | | static ref REAL: Regex = [INFO] [stdout] 81 | | Regex::new(r"^[+\-]?[0-9]+\.[0-9]*([eE][+\-]?[0-9]+)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 86 | | .unwrap(); [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static! { [INFO] [stdout] 79 | | static ref INT: Regex = Regex::new(r"^[+\-]?[0-9]+").unwrap(); [INFO] [stdout] 80 | | static ref REAL: Regex = [INFO] [stdout] 81 | | Regex::new(r"^[+\-]?[0-9]+\.[0-9]*([eE][+\-]?[0-9]+)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 86 | | .unwrap(); [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/parse.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | string.trim_left_matches(|c| '\t' <= c && c <= '\r' || c == ' ') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 93 - string.trim_left_matches(|c| '\t' <= c && c <= '\r' || c == ' ') [INFO] [stdout] 93 + string.trim_start_matches(|c| '\t' <= c && c <= '\r' || c == ' ') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 146 | let input = input.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 146 - let input = input.trim_left(); [INFO] [stdout] 146 + let input = input.trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:337:32 [INFO] [stdout] | [INFO] [stdout] 337 | let input: &'t str = input.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 337 - let input: &'t str = input.trim_left(); [INFO] [stdout] 337 + let input: &'t str = input.trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rc/shared.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut string_cache = unsafe { extend_lifetime_mut(&mut self.string_cache.borrow_mut()) }; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rc/mod.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut string_cache = unsafe { extend_lifetime_mut(&mut self.string_cache.borrow_mut()) }; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bad_idea.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { mem::transmute(self.0) } [INFO] [stdout] | --------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/rc/mod.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub type T<'s, A: ATermT<'s>> = Term<'s, >::Blob>; [INFO] [stdout] | --^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/string_share.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn insert<'s, Q>(&mut self, item: Q) -> InternedString [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] 42 | pub fn insert<'s, Q>(&mut self, item: Q) -> InternedString<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.56s [INFO] running `Command { std: "docker" "inspect" "ae1a825e5e0da2582818ad7bebf6b8377d46bc93ce3c3c15e32f8f98564565b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae1a825e5e0da2582818ad7bebf6b8377d46bc93ce3c3c15e32f8f98564565b3", kill_on_drop: false }` [INFO] [stdout] ae1a825e5e0da2582818ad7bebf6b8377d46bc93ce3c3c15e32f8f98564565b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d3031dfa8a3bc7e97fb3eb0bbfda29570af8470a256f51affd95eb59c3ea1f78 [INFO] running `Command { std: "docker" "start" "-a" "d3031dfa8a3bc7e97fb3eb0bbfda29570af8470a256f51affd95eb59c3ea1f78", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | '\x20' ... '\x7e' => result.push(c), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static! { [INFO] [stdout] 79 | | static ref INT: Regex = Regex::new(r"^[+\-]?[0-9]+").unwrap(); [INFO] [stdout] 80 | | static ref REAL: Regex = [INFO] [stdout] 81 | | Regex::new(r"^[+\-]?[0-9]+\.[0-9]*([eE][+\-]?[0-9]+)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 86 | | .unwrap(); [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static! { [INFO] [stdout] 79 | | static ref INT: Regex = Regex::new(r"^[+\-]?[0-9]+").unwrap(); [INFO] [stdout] 80 | | static ref REAL: Regex = [INFO] [stdout] 81 | | Regex::new(r"^[+\-]?[0-9]+\.[0-9]*([eE][+\-]?[0-9]+)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 86 | | .unwrap(); [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static! { [INFO] [stdout] 79 | | static ref INT: Regex = Regex::new(r"^[+\-]?[0-9]+").unwrap(); [INFO] [stdout] 80 | | static ref REAL: Regex = [INFO] [stdout] 81 | | Regex::new(r"^[+\-]?[0-9]+\.[0-9]*([eE][+\-]?[0-9]+)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 86 | | .unwrap(); [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/parse.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | string.trim_left_matches(|c| '\t' <= c && c <= '\r' || c == ' ') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 93 - string.trim_left_matches(|c| '\t' <= c && c <= '\r' || c == ' ') [INFO] [stdout] 93 + string.trim_start_matches(|c| '\t' <= c && c <= '\r' || c == ' ') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 146 | let input = input.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 146 - let input = input.trim_left(); [INFO] [stdout] 146 + let input = input.trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:337:32 [INFO] [stdout] | [INFO] [stdout] 337 | let input: &'t str = input.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 337 - let input: &'t str = input.trim_left(); [INFO] [stdout] 337 + let input: &'t str = input.trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rc/shared.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut string_cache = unsafe { extend_lifetime_mut(&mut self.string_cache.borrow_mut()) }; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rc/mod.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut string_cache = unsafe { extend_lifetime_mut(&mut self.string_cache.borrow_mut()) }; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bad_idea.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { mem::transmute(self.0) } [INFO] [stdout] | --------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/rc/mod.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub type T<'s, A: ATermT<'s>> = Term<'s, >::Blob>; [INFO] [stdout] | --^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/string_share.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn insert<'s, Q>(&mut self, item: Q) -> InternedString [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] 42 | pub fn insert<'s, Q>(&mut self, item: Q) -> InternedString<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aterm v0.20.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | '\x20' ... '\x7e' => result.push(c), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static! { [INFO] [stdout] 79 | | static ref INT: Regex = Regex::new(r"^[+\-]?[0-9]+").unwrap(); [INFO] [stdout] 80 | | static ref REAL: Regex = [INFO] [stdout] 81 | | Regex::new(r"^[+\-]?[0-9]+\.[0-9]*([eE][+\-]?[0-9]+)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 86 | | .unwrap(); [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static! { [INFO] [stdout] 79 | | static ref INT: Regex = Regex::new(r"^[+\-]?[0-9]+").unwrap(); [INFO] [stdout] 80 | | static ref REAL: Regex = [INFO] [stdout] 81 | | Regex::new(r"^[+\-]?[0-9]+\.[0-9]*([eE][+\-]?[0-9]+)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 86 | | .unwrap(); [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / lazy_static! { [INFO] [stdout] 79 | | static ref INT: Regex = Regex::new(r"^[+\-]?[0-9]+").unwrap(); [INFO] [stdout] 80 | | static ref REAL: Regex = [INFO] [stdout] 81 | | Regex::new(r"^[+\-]?[0-9]+\.[0-9]*([eE][+\-]?[0-9]+)?").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 86 | | .unwrap(); [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stdout] --> src/interface.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/parse.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | string.trim_left_matches(|c| '\t' <= c && c <= '\r' || c == ' ') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 93 - string.trim_left_matches(|c| '\t' <= c && c <= '\r' || c == ' ') [INFO] [stdout] 93 + string.trim_start_matches(|c| '\t' <= c && c <= '\r' || c == ' ') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 146 | let input = input.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 146 - let input = input.trim_left(); [INFO] [stdout] 146 + let input = input.trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:337:32 [INFO] [stdout] | [INFO] [stdout] 337 | let input: &'t str = input.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 337 - let input: &'t str = input.trim_left(); [INFO] [stdout] 337 + let input: &'t str = input.trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rc/shared.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut string_cache = unsafe { extend_lifetime_mut(&mut self.string_cache.borrow_mut()) }; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rc/mod.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut string_cache = unsafe { extend_lifetime_mut(&mut self.string_cache.borrow_mut()) }; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bad_idea.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { mem::transmute(self.0) } [INFO] [stdout] | --------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/rc/mod.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub type T<'s, A: ATermT<'s>> = Term<'s, >::Blob>; [INFO] [stdout] | --^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/string_share.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn insert<'s, Q>(&mut self, item: Q) -> InternedString [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] 42 | pub fn insert<'s, Q>(&mut self, item: Q) -> InternedString<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] running `Command { std: "docker" "inspect" "d3031dfa8a3bc7e97fb3eb0bbfda29570af8470a256f51affd95eb59c3ea1f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3031dfa8a3bc7e97fb3eb0bbfda29570af8470a256f51affd95eb59c3ea1f78", kill_on_drop: false }` [INFO] [stdout] d3031dfa8a3bc7e97fb3eb0bbfda29570af8470a256f51affd95eb59c3ea1f78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9205a6d30d3dbdcf8d9dc1cc3aa6bdd3abaf3b620d4b5dd3d0f1e07695a682e7 [INFO] running `Command { std: "docker" "start" "-a" "9205a6d30d3dbdcf8d9dc1cc3aa6bdd3abaf3b620d4b5dd3d0f1e07695a682e7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/utils.rs:71:20 [INFO] [stderr] | [INFO] [stderr] 71 | '\x20' ... '\x7e' => result.push(c), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/parse.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | / lazy_static! { [INFO] [stderr] 79 | | static ref INT: Regex = Regex::new(r"^[+\-]?[0-9]+").unwrap(); [INFO] [stderr] 80 | | static ref REAL: Regex = [INFO] [stderr] 81 | | Regex::new(r"^[+\-]?[0-9]+\.[0-9]*([eE][+\-]?[0-9]+)?").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 86 | | .unwrap(); [INFO] [stderr] 87 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/parse.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | / lazy_static! { [INFO] [stderr] 79 | | static ref INT: Regex = Regex::new(r"^[+\-]?[0-9]+").unwrap(); [INFO] [stderr] 80 | | static ref REAL: Regex = [INFO] [stderr] 81 | | Regex::new(r"^[+\-]?[0-9]+\.[0-9]*([eE][+\-]?[0-9]+)?").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 86 | | .unwrap(); [INFO] [stderr] 87 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/interface.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/interface.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/interface.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/interface.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/interface.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/interface.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/interface.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` attribute cannot be used on required trait methods [INFO] [stderr] --> src/interface.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[inline]` can be applied to closures, functions, inherent methods, provided trait methods, and trait methods in impl blocks [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/parse.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 93 | string.trim_left_matches(|c| '\t' <= c && c <= '\r' || c == ' ') [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 93 - string.trim_left_matches(|c| '\t' <= c && c <= '\r' || c == ' ') [INFO] [stderr] 93 + string.trim_start_matches(|c| '\t' <= c && c <= '\r' || c == ' ') [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/parse.rs:146:23 [INFO] [stderr] | [INFO] [stderr] 146 | let input = input.trim_left(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 146 - let input = input.trim_left(); [INFO] [stderr] 146 + let input = input.trim_start(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/parse.rs:337:32 [INFO] [stderr] | [INFO] [stderr] 337 | let input: &'t str = input.trim_left(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 337 - let input: &'t str = input.trim_left(); [INFO] [stderr] 337 + let input: &'t str = input.trim_start(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rc/shared.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | let mut string_cache = unsafe { extend_lifetime_mut(&mut self.string_cache.borrow_mut()) }; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rc/mod.rs:221:13 [INFO] [stderr] | [INFO] [stderr] 221 | let mut string_cache = unsafe { extend_lifetime_mut(&mut self.string_cache.borrow_mut()) }; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/bad_idea.rs:16:18 [INFO] [stderr] | [INFO] [stderr] 16 | unsafe { mem::transmute(self.0) } [INFO] [stderr] | --------------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_bits` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stderr] --> src/rc/mod.rs:71:19 [INFO] [stderr] | [INFO] [stderr] 71 | pub type T<'s, A: ATermT<'s>> = Term<'s, >::Blob>; [INFO] [stderr] | --^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | will not be checked at usage sites of the type alias [INFO] [stderr] | help: remove this bound [INFO] [stderr] | [INFO] [stderr] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stderr] see issue #112792 for more information [INFO] [stderr] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stderr] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/string_share.rs:42:26 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn insert<'s, Q>(&mut self, item: Q) -> InternedString [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] 42 | pub fn insert<'s, Q>(&mut self, item: Q) -> InternedString<'_> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `aterm` (lib) generated 20 warnings (1 duplicate) (run `cargo fix --lib -p aterm` to apply 17 suggestions) [INFO] [stderr] warning: `aterm` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aterm-bfe13286e0cc2db5) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test parse::tests::a_ws_parens_braces ... ok [INFO] [stdout] test parse::tests::a ... ok [INFO] [stdout] test parse::tests::a_ws_parens ... ok [INFO] [stdout] test parse::tests::a_ws_braces ... ok [INFO] [stdout] test parse::tests::a_ws ... ok [INFO] [stdout] test parse::tests::a_parens ... ok [INFO] [stdout] test parse::tests::a_parens_braces ... ok [INFO] [stdout] test parse::tests::a_braces ... ok [INFO] [stdout] test parse::tests::child_ordering ... ok [INFO] [stdout] test parse::tests::empty_string ... ok [INFO] [stdout] test parse::tests::long ... ok [INFO] [stdout] test parse::tests::exam_example ... ok [INFO] [stdout] test parse::tests::single_element_list ... ok [INFO] [stdout] test parse::tests::int ... ok [INFO] [stdout] test parse::tests::placeholder ... ok [INFO] [stdout] test parse::tests::two_element_list ... ok [INFO] [stdout] test parse::tests::two_element_list_ws ... ok [INFO] [stdout] test parse::tests::string ... ok [INFO] [stdout] test parse::tests::single_element_list_ws ... ok [INFO] [stdout] test parse::tests::empty_list_ws ... ok [INFO] [stderr] Doc-tests aterm [INFO] [stdout] test parse::tests::empty_list ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/utils.rs:71:20 [INFO] [stderr] | [INFO] [stderr] 71 | '\x20' ... '\x7e' => result.push(c), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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" "9205a6d30d3dbdcf8d9dc1cc3aa6bdd3abaf3b620d4b5dd3d0f1e07695a682e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9205a6d30d3dbdcf8d9dc1cc3aa6bdd3abaf3b620d4b5dd3d0f1e07695a682e7", kill_on_drop: false }` [INFO] [stdout] 9205a6d30d3dbdcf8d9dc1cc3aa6bdd3abaf3b620d4b5dd3d0f1e07695a682e7