[INFO] fetching crate aterm 0.20.0... [INFO] testing aterm-0.20.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate aterm 0.20.0 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate aterm 0.20.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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.11.1) [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8-ranges v1.0.5 [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 466f9bfee20f6569ea698841eb2408fff8bbf63e876657ea5aa71b7bb5dc5967 [INFO] running `Command { std: "docker" "start" "-a" "466f9bfee20f6569ea698841eb2408fff8bbf63e876657ea5aa71b7bb5dc5967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "466f9bfee20f6569ea698841eb2408fff8bbf63e876657ea5aa71b7bb5dc5967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "466f9bfee20f6569ea698841eb2408fff8bbf63e876657ea5aa71b7bb5dc5967", kill_on_drop: false }` [INFO] [stdout] 466f9bfee20f6569ea698841eb2408fff8bbf63e876657ea5aa71b7bb5dc5967 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 030d31882d526a4c5c18043de98bb52758411ee70faf61e72670a1b9e0c2cd9c [INFO] running `Command { std: "docker" "start" "-a" "030d31882d526a4c5c18043de98bb52758411ee70faf61e72670a1b9e0c2cd9c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling typed-arena v1.7.0 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/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: 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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 7.47s [INFO] running `Command { std: "docker" "inspect" "030d31882d526a4c5c18043de98bb52758411ee70faf61e72670a1b9e0c2cd9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "030d31882d526a4c5c18043de98bb52758411ee70faf61e72670a1b9e0c2cd9c", kill_on_drop: false }` [INFO] [stdout] 030d31882d526a4c5c18043de98bb52758411ee70faf61e72670a1b9e0c2cd9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a7440e11dc1a89c10d81dc4ee5b9438e86aa40a3c783fff1e30e7173930cd694 [INFO] running `Command { std: "docker" "start" "-a" "a7440e11dc1a89c10d81dc4ee5b9438e86aa40a3c783fff1e30e7173930cd694", 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/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] [stderr] Compiling aterm v0.20.0 (/opt/rustwide/workdir) [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 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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn insert<'s, Q>(&mut self, item: Q) -> InternedString<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/interface.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/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: 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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 2.03s [INFO] running `Command { std: "docker" "inspect" "a7440e11dc1a89c10d81dc4ee5b9438e86aa40a3c783fff1e30e7173930cd694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7440e11dc1a89c10d81dc4ee5b9438e86aa40a3c783fff1e30e7173930cd694", kill_on_drop: false }` [INFO] [stdout] a7440e11dc1a89c10d81dc4ee5b9438e86aa40a3c783fff1e30e7173930cd694 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 113077f1522168ed103fcf01c2025e9216d45140c62e82a2a62f546fe8b4ee55 [INFO] running `Command { std: "docker" "start" "-a" "113077f1522168ed103fcf01c2025e9216d45140c62e82a2a62f546fe8b4ee55", 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] [stdout] [INFO] [stderr] --> src/utils.rs:71:20 [INFO] [stdout] running 21 tests [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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/interface.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/interface.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/interface.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/interface.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/interface.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/interface.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/interface.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/interface.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [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: 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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 9 suggestions) [INFO] [stderr] warning: `aterm` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/aterm-5f231d239a3e15f5) [INFO] [stdout] test parse::tests::a_ws_parens_braces ... ok [INFO] [stdout] test parse::tests::a_ws_parens ... ok [INFO] [stdout] test parse::tests::a_ws ... ok [INFO] [stdout] test parse::tests::a_parens_braces ... ok [INFO] [stdout] test parse::tests::a_parens ... ok [INFO] [stdout] test parse::tests::a ... ok [INFO] [stdout] test parse::tests::a_braces ... ok [INFO] [stdout] test parse::tests::empty_list ... ok [INFO] [stdout] test parse::tests::int ... ok [INFO] [stdout] test parse::tests::long ... ok [INFO] [stdout] test parse::tests::child_ordering ... ok [INFO] [stdout] test parse::tests::single_element_list_ws ... ok [INFO] [stdout] test parse::tests::single_element_list ... ok [INFO] [stdout] test parse::tests::two_element_list ... ok [INFO] [stdout] test parse::tests::a_ws_braces ... ok [INFO] [stdout] test parse::tests::exam_example ... ok [INFO] [stdout] test parse::tests::string ... ok [INFO] [stdout] test parse::tests::empty_list_ws ... ok [INFO] [stdout] test parse::tests::placeholder ... ok [INFO] [stdout] test parse::tests::empty_string ... ok [INFO] [stdout] test parse::tests::two_element_list_ws ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "113077f1522168ed103fcf01c2025e9216d45140c62e82a2a62f546fe8b4ee55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "113077f1522168ed103fcf01c2025e9216d45140c62e82a2a62f546fe8b4ee55", kill_on_drop: false }` [INFO] [stdout] 113077f1522168ed103fcf01c2025e9216d45140c62e82a2a62f546fe8b4ee55