[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 try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvic1707%2Fxprs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vic1707/xprs on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc2/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-tc2/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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec614a90117c3135556335a7e0698f59b5c430d4be1e69e64ad86e1b9feaeb92 [INFO] running `Command { std: "docker" "start" "-a" "ec614a90117c3135556335a7e0698f59b5c430d4be1e69e64ad86e1b9feaeb92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec614a90117c3135556335a7e0698f59b5c430d4be1e69e64ad86e1b9feaeb92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec614a90117c3135556335a7e0698f59b5c430d4be1e69e64ad86e1b9feaeb92", kill_on_drop: false }` [INFO] [stdout] ec614a90117c3135556335a7e0698f59b5c430d4be1e69e64ad86e1b9feaeb92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c90d15df6656ac05baa3d62345cd3cdec2e97d9fb43209bd145dacd5985ef56d [INFO] running `Command { std: "docker" "start" "-a" "c90d15df6656ac05baa3d62345cd3cdec2e97d9fb43209bd145dacd5985ef56d", 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 bitflags v2.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling supports-hyperlinks 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 quote v1.0.35 [INFO] [stderr] Compiling xprs v0.1.0 (/opt/rustwide/workdir) [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.93s [INFO] running `Command { std: "docker" "inspect" "c90d15df6656ac05baa3d62345cd3cdec2e97d9fb43209bd145dacd5985ef56d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c90d15df6656ac05baa3d62345cd3cdec2e97d9fb43209bd145dacd5985ef56d", kill_on_drop: false }` [INFO] [stdout] c90d15df6656ac05baa3d62345cd3cdec2e97d9fb43209bd145dacd5985ef56d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3c0453e4bb7923844db411193cf87649e802edb8c7a0e2c46901e66cb9849e2 [INFO] running `Command { std: "docker" "start" "-a" "e3c0453e4bb7923844db411193cf87649e802edb8c7a0e2c46901e66cb9849e2", kill_on_drop: false }` [INFO] [stderr] Compiling xprs v0.1.0 (/opt/rustwide/workdir) [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] [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.41s [INFO] running `Command { std: "docker" "inspect" "e3c0453e4bb7923844db411193cf87649e802edb8c7a0e2c46901e66cb9849e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3c0453e4bb7923844db411193cf87649e802edb8c7a0e2c46901e66cb9849e2", kill_on_drop: false }` [INFO] [stdout] e3c0453e4bb7923844db411193cf87649e802edb8c7a0e2c46901e66cb9849e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a74d57cbd5aa456a9a671259f92859cd4ebbe1f30e31dc317a50d8dd74a0944d [INFO] running `Command { std: "docker" "start" "-a" "a74d57cbd5aa456a9a671259f92859cd4ebbe1f30e31dc317a50d8dd74a0944d", 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.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xprs-15c29a3660ba202a) [INFO] [stdout] running 12 tests [INFO] [stdout] test tests::parser::comptime_optimizations::test_valid ... ok [INFO] [stdout] test tests::factorial::test_float_factorial ... ok [INFO] [stdout] test tests::parser::error::test_errors ... ok [INFO] [stdout] test tests::issues::issue_15::parse_number ... ok [INFO] [stdout] test tests::parser::implicit_multiplication::test_implicit_multiplication ... ok [INFO] [stdout] test tests::issues::issue_18::parse_number ... ok [INFO] [stdout] test tests::thread_safety::test_thread_safety ... ok [INFO] [stdout] test tests::xprs::eval::test_valid_eval ... ok [INFO] [stderr] Running unittests src/bin/repl.rs (/opt/rustwide/target/debug/deps/repl-c3b7cbbfa66be926) [INFO] [stdout] test tests::xprs::simplify::test_simplify ... ok [INFO] [stdout] test tests::parser::implicit_multiplication::test_invalid_implicit_multiplication ... ok [INFO] [stdout] test tests::xprs::hof::test_higher_order_functions ... ok [INFO] [stdout] test tests::xprs::eval::test_invalid_eval ... 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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests xprs [INFO] [stdout] [INFO] [stderr] error: DefId(0:0 ~ xprs[5f3d]) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name xprs --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern miette=/opt/rustwide/target/debug/deps/libmiette-531bcd389e0fda20.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-b64214ba3f33f6f7.rlib --extern xprs=/opt/rustwide/target/debug/deps/libxprs-276c3482b140e6af.rlib -C embed-bitcode=no --cfg 'feature="compile-time-optimizations"' --cfg 'feature="default"' --cfg 'feature="pemdas"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compile-time-optimizations", "default", "pejmdas", "pemdas"))' --cfg NIGHTLY --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "a74d57cbd5aa456a9a671259f92859cd4ebbe1f30e31dc317a50d8dd74a0944d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a74d57cbd5aa456a9a671259f92859cd4ebbe1f30e31dc317a50d8dd74a0944d", kill_on_drop: false }` [INFO] [stdout] a74d57cbd5aa456a9a671259f92859cd4ebbe1f30e31dc317a50d8dd74a0944d