[INFO] cloning repository https://github.com/vic1707/xprs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vic1707/xprs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvic1707%2Fxprs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvic1707%2Fxprs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 701d05c0865fedd05c63524d682f4171d9e31be7 [INFO] testing vic1707/xprs against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvic1707%2Fxprs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vic1707/xprs on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/vic1707/xprs [INFO] finished tweaking git repo https://github.com/vic1707/xprs [INFO] tweaked toml for git repo https://github.com/vic1707/xprs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vic1707/xprs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a1641b88d98a3c40726858b961a88294db5556e47624aba12d976dc921be2d4 [INFO] running `Command { std: "docker" "start" "-a" "5a1641b88d98a3c40726858b961a88294db5556e47624aba12d976dc921be2d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a1641b88d98a3c40726858b961a88294db5556e47624aba12d976dc921be2d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a1641b88d98a3c40726858b961a88294db5556e47624aba12d976dc921be2d4", kill_on_drop: false }` [INFO] [stdout] 5a1641b88d98a3c40726858b961a88294db5556e47624aba12d976dc921be2d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcde94db669e47af2037da922532524883094f07636d0b24531ccd0512cf4385 [INFO] running `Command { std: "docker" "start" "-a" "fcde94db669e47af2037da922532524883094f07636d0b24531ccd0512cf4385", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling supports-hyperlinks v3.0.0 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling supports-color v3.0.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling xprs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | #![cfg_attr(NIGHTLY, feature(box_patterns, float_gamma))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/utils/factorial.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(NIGHTLY))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/utils/factorial.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(not(NIGHTLY))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/utils/factorial.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/token/function.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | Self::Static(func2) => func1 == func2, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 103 | Self::Static(func2) => std::ptr::fn_addr_eq(func1, func2), [INFO] [stdout] | +++++++++++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gamma` should have an upper case name [INFO] [stdout] --> src/utils/factorial.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const gamma: fn(f64) -> f64 = f64::gamma; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `GAMMA` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.41s [INFO] running `Command { std: "docker" "inspect" "fcde94db669e47af2037da922532524883094f07636d0b24531ccd0512cf4385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcde94db669e47af2037da922532524883094f07636d0b24531ccd0512cf4385", kill_on_drop: false }` [INFO] [stdout] fcde94db669e47af2037da922532524883094f07636d0b24531ccd0512cf4385 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65ec64ad049a19549688933c31f9e205e15e775c3ea16571440bf60baeb0527a [INFO] running `Command { std: "docker" "start" "-a" "65ec64ad049a19549688933c31f9e205e15e775c3ea16571440bf60baeb0527a", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | #![cfg_attr(NIGHTLY, feature(box_patterns, float_gamma))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xprs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/utils/factorial.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(NIGHTLY))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/utils/factorial.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(not(NIGHTLY))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/utils/factorial.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/token/function.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | Self::Static(func2) => func1 == func2, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 103 | Self::Static(func2) => std::ptr::fn_addr_eq(func1, func2), [INFO] [stdout] | +++++++++++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gamma` should have an upper case name [INFO] [stdout] --> src/utils/factorial.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const gamma: fn(f64) -> f64 = f64::gamma; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `GAMMA` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | #![cfg_attr(NIGHTLY, feature(box_patterns, float_gamma))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/element/simplify.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/utils/factorial.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(NIGHTLY))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/utils/factorial.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(not(NIGHTLY))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stdout] --> src/utils/factorial.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(NIGHTLY)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/token/function.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | Self::Static(func2) => func1 == func2, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 103 | Self::Static(func2) => std::ptr::fn_addr_eq(func1, func2), [INFO] [stdout] | +++++++++++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gamma` should have an upper case name [INFO] [stdout] --> src/utils/factorial.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const gamma: fn(f64) -> f64 = f64::gamma; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `GAMMA` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "65ec64ad049a19549688933c31f9e205e15e775c3ea16571440bf60baeb0527a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65ec64ad049a19549688933c31f9e205e15e775c3ea16571440bf60baeb0527a", kill_on_drop: false }` [INFO] [stdout] 65ec64ad049a19549688933c31f9e205e15e775c3ea16571440bf60baeb0527a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a5d83a6e759d504c4bf58e06f0a752d433231df4808e5fa63674ebfe72c2b04 [INFO] running `Command { std: "docker" "start" "-a" "0a5d83a6e759d504c4bf58e06f0a752d433231df4808e5fa63674ebfe72c2b04", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stderr] --> src/lib.rs:308:13 [INFO] [stderr] | [INFO] [stderr] 308 | #![cfg_attr(NIGHTLY, feature(box_patterns, float_gamma))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stderr] --> src/element/simplify.rs:59:19 [INFO] [stderr] | [INFO] [stderr] 59 | #[cfg(NIGHTLY)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stderr] --> src/element/simplify.rs:66:19 [INFO] [stderr] | [INFO] [stderr] 66 | #[cfg(NIGHTLY)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stderr] --> src/element/simplify.rs:93:19 [INFO] [stderr] | [INFO] [stderr] 93 | #[cfg(NIGHTLY)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stderr] --> src/element/simplify.rs:119:19 [INFO] [stderr] | [INFO] [stderr] 119 | #[cfg(NIGHTLY)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stderr] --> src/element/simplify.rs:162:19 [INFO] [stderr] | [INFO] [stderr] 162 | #[cfg(NIGHTLY)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stderr] --> src/utils/factorial.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | #[cfg(not(NIGHTLY))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stderr] --> src/utils/factorial.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | #[cfg(not(NIGHTLY))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `NIGHTLY` [INFO] [stderr] --> src/utils/factorial.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg(NIGHTLY)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(NIGHTLY)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(NIGHTLY)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/token/function.rs:103:40 [INFO] [stderr] | [INFO] [stderr] 103 | Self::Static(func2) => func1 == func2, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 103 | Self::Static(func2) => std::ptr::fn_addr_eq(func1, func2), [INFO] [stderr] | +++++++++++++++++++++ ~ + [INFO] [stderr] [INFO] [stderr] warning: constant `gamma` should have an upper case name [INFO] [stderr] --> src/utils/factorial.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | pub const gamma: fn(f64) -> f64 = f64::gamma; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `GAMMA` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `xprs` (lib) generated 11 warnings [INFO] [stderr] warning: `xprs` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xprs-15c29a3660ba202a) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::factorial::test_float_factorial ... ok [INFO] [stdout] test tests::issues::issue_15::parse_number ... ok [INFO] [stdout] test tests::issues::issue_18::parse_number ... ok [INFO] [stdout] test tests::parser::error::test_errors ... ok [INFO] [stdout] test tests::parser::implicit_multiplication::test_invalid_implicit_multiplication ... ok [INFO] [stdout] test tests::parser::implicit_multiplication::test_implicit_multiplication ... ok [INFO] [stdout] test tests::thread_safety::test_thread_safety ... ok [INFO] [stdout] test tests::xprs::hof::test_higher_order_functions ... ok [INFO] [stdout] test tests::xprs::simplify::test_simplify ... ok [INFO] [stdout] test tests::xprs::eval::test_valid_eval ... ok [INFO] [stdout] test tests::xprs::eval::test_invalid_eval ... ok [INFO] [stdout] test tests::parser::comptime_optimizations::test_valid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/repl.rs (/opt/rustwide/target/debug/deps/repl-c3b7cbbfa66be926) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests xprs [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test src/lib.rs - (line 241) ... ok [INFO] [stdout] test src/lib.rs - (line 130) ... ok [INFO] [stdout] test src/lib.rs - (line 103) ... ok [INFO] [stdout] test src/parser.rs - parser::Parser<'ctx>::parse (line 73) ... ok [INFO] [stdout] test src/lib.rs - (line 162) ... ok [INFO] [stdout] test src/parser.rs - parser::Parser (line 28) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'_>::simplify_for_in_place (line 127) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'_>::eval (line 55) ... ok [INFO] [stdout] test src/lib.rs - (line 89) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'_>::eval_unchecked (line 91) ... ok [INFO] [stdout] test src/lib.rs - (line 182) ... ok [INFO] [stdout] test src/lib.rs - (line 76) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'_>::simplify_for_multiple (line 233) ... ok [INFO] [stdout] test src/context.rs - context::Context (line 34) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'_>::simplify_for (line 177) ... ok [INFO] [stdout] test src/lib.rs - (line 263) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'a>::bind2 (line 416) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'_>::simplify_for_multiple_in_place (line 203) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'a>::bind (line 385) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'a>::bind6 (line 540) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'a>::bind7 (line 571) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'a>::bind5 (line 509) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'a>::bind8 (line 602) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'a>::bind4 (line 478) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'a>::bind3 (line 447) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'a>::bind_n (line 670) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'a>::bind_n_runtime (line 704) ... ok [INFO] [stdout] test src/xprs.rs - xprs::Xprs<'a>::bind9 (line 633) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.76s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0a5d83a6e759d504c4bf58e06f0a752d433231df4808e5fa63674ebfe72c2b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a5d83a6e759d504c4bf58e06f0a752d433231df4808e5fa63674ebfe72c2b04", kill_on_drop: false }` [INFO] [stdout] 0a5d83a6e759d504c4bf58e06f0a752d433231df4808e5fa63674ebfe72c2b04