[INFO] cloning repository https://github.com/cdepillabout/symbolic-differntiation-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cdepillabout/symbolic-differntiation-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdepillabout%2Fsymbolic-differntiation-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdepillabout%2Fsymbolic-differntiation-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2791cb8fc10a75e7901c4aeab8adc939c36b979d [INFO] testing cdepillabout/symbolic-differntiation-rust against 1.52.1 for beta-1.52-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdepillabout%2Fsymbolic-differntiation-rust" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cdepillabout/symbolic-differntiation-rust on toolchain 1.52.1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.52.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/rust-toolchain [INFO] started tweaking git repo https://github.com/cdepillabout/symbolic-differntiation-rust [INFO] finished tweaking git repo https://github.com/cdepillabout/symbolic-differntiation-rust [INFO] tweaked toml for git repo https://github.com/cdepillabout/symbolic-differntiation-rust written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/cdepillabout/symbolic-differntiation-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.52.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+1.52.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 38187ecf11ba1ab521ce76d48ceef3dfd9dc4e5da52aaafaa5b485958aeeb43a [INFO] running `Command { std: "docker" "start" "-a" "38187ecf11ba1ab521ce76d48ceef3dfd9dc4e5da52aaafaa5b485958aeeb43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38187ecf11ba1ab521ce76d48ceef3dfd9dc4e5da52aaafaa5b485958aeeb43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38187ecf11ba1ab521ce76d48ceef3dfd9dc4e5da52aaafaa5b485958aeeb43a", kill_on_drop: false }` [INFO] [stdout] 38187ecf11ba1ab521ce76d48ceef3dfd9dc4e5da52aaafaa5b485958aeeb43a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+1.52.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed0177465539512cf3b2f7e59b94b7977d25f7e23d46a1c8e5793fe7b8e6e471 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ed0177465539512cf3b2f7e59b94b7977d25f7e23d46a1c8e5793fe7b8e6e471", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling nom v5.1.0 [INFO] [stderr] Compiling symbolic-differntiation-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nom::Err` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::Err; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::error::ErrorKind` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use nom::error::ErrorKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | (Expr::Num(0f32), f) => f, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | (e, Expr::Num(0f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:271:31 [INFO] [stdout] | [INFO] [stdout] 271 | (e, Expr::Num(0f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:277:28 [INFO] [stdout] | [INFO] [stdout] 277 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:278:31 [INFO] [stdout] | [INFO] [stdout] 278 | (_, Expr::Num(0f32)) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | (Expr::Num(1f32), f) => f, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:280:31 [INFO] [stdout] | [INFO] [stdout] 280 | (e, Expr::Num(1f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:286:28 [INFO] [stdout] | [INFO] [stdout] 286 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:289:31 [INFO] [stdout] | [INFO] [stdout] 289 | (e, Expr::Num(1f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:295:28 [INFO] [stdout] | [INFO] [stdout] 295 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:298:31 [INFO] [stdout] | [INFO] [stdout] 298 | (e, Expr::Num(1f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:517:28 [INFO] [stdout] | [INFO] [stdout] 517 | (Expr::Num(0f32), f) => f, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:518:31 [INFO] [stdout] | [INFO] [stdout] 518 | (e, Expr::Num(0f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:525:31 [INFO] [stdout] | [INFO] [stdout] 525 | (e, Expr::Num(0f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:532:31 [INFO] [stdout] | [INFO] [stdout] 532 | (_, Expr::Num(0f32)) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | (Expr::Num(1f32), f) => f, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:534:31 [INFO] [stdout] | [INFO] [stdout] 534 | (e, Expr::Num(1f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:540:28 [INFO] [stdout] | [INFO] [stdout] 540 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:543:31 [INFO] [stdout] | [INFO] [stdout] 543 | (e, Expr::Num(1f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:552:31 [INFO] [stdout] | [INFO] [stdout] 552 | (e, Expr::Num(1f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | (Expr::Num(0f32), f) => f, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `expr_parser` [INFO] [stdout] --> src/lib2.rs:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | fn expr_parser(input: &str) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pretty_print_func_ar_1` [INFO] [stdout] --> src/lib2.rs:412:4 [INFO] [stdout] | [INFO] [stdout] 412 | fn pretty_print_func_ar_1(func_ar_1: FuncAr1) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pretty_print_func_ar_2` [INFO] [stdout] --> src/lib2.rs:422:4 [INFO] [stdout] | [INFO] [stdout] 422 | fn pretty_print_func_ar_2(func_ar_1: FuncAr2) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pretty_print_expr` [INFO] [stdout] --> src/lib2.rs:432:4 [INFO] [stdout] | [INFO] [stdout] 432 | fn pretty_print_expr(expr: Expr) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sin` [INFO] [stdout] --> src/lib2.rs:448:4 [INFO] [stdout] | [INFO] [stdout] 448 | fn sin(expr: Expr) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cos` [INFO] [stdout] --> src/lib2.rs:452:4 [INFO] [stdout] | [INFO] [stdout] 452 | fn cos(expr: Expr) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tan` [INFO] [stdout] --> src/lib2.rs:456:4 [INFO] [stdout] | [INFO] [stdout] 456 | fn tan(expr: Expr) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exp` [INFO] [stdout] --> src/lib2.rs:460:4 [INFO] [stdout] | [INFO] [stdout] 460 | fn exp(expr: Expr) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `auto_diff_func_ar_1` [INFO] [stdout] --> src/lib2.rs:464:4 [INFO] [stdout] | [INFO] [stdout] 464 | fn auto_diff_func_ar_1(func_ar_1: FuncAr1, expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `num` [INFO] [stdout] --> src/lib2.rs:476:4 [INFO] [stdout] | [INFO] [stdout] 476 | fn num(f: f32) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pow` [INFO] [stdout] --> src/lib2.rs:480:4 [INFO] [stdout] | [INFO] [stdout] 480 | fn pow(expr1: Expr, expr2: Expr) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `auto_diff_func_ar_2` [INFO] [stdout] --> src/lib2.rs:484:4 [INFO] [stdout] | [INFO] [stdout] 484 | fn auto_diff_func_ar_2(func_ar_2: FuncAr2, expr1: Expr, expr2: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `auto_diff` [INFO] [stdout] --> src/lib2.rs:498:4 [INFO] [stdout] | [INFO] [stdout] 498 | fn auto_diff(expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simplify_one_step` [INFO] [stdout] --> src/lib2.rs:509:4 [INFO] [stdout] | [INFO] [stdout] 509 | fn simplify_one_step(expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `on_bx` [INFO] [stdout] --> src/lib2.rs:559:4 [INFO] [stdout] | [INFO] [stdout] 559 | fn on_bx(t: Box, f: F) -> Box where [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simplify_recurse` [INFO] [stdout] --> src/lib2.rs:569:4 [INFO] [stdout] | [INFO] [stdout] 569 | fn simplify_recurse(expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simplify` [INFO] [stdout] --> src/lib2.rs:580:4 [INFO] [stdout] | [INFO] [stdout] 580 | fn simplify(expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `diff` [INFO] [stdout] --> src/lib2.rs:592:4 [INFO] [stdout] | [INFO] [stdout] 592 | fn diff(expr: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_and_print` [INFO] [stdout] --> src/lib2.rs:596:4 [INFO] [stdout] | [INFO] [stdout] 596 | fn parse_and_print(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `expr_parser` [INFO] [stdout] --> src/main.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn expr_parser(input: &str) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pretty_print_func_ar_1` [INFO] [stdout] --> src/main.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn pretty_print_func_ar_1(func_ar_1: FuncAr1) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pretty_print_func_ar_2` [INFO] [stdout] --> src/main.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn pretty_print_func_ar_2(func_ar_1: FuncAr2) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pretty_print_expr` [INFO] [stdout] --> src/main.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn pretty_print_expr(expr: Expr) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sin` [INFO] [stdout] --> src/main.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn sin(expr: Expr) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cos` [INFO] [stdout] --> src/main.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn cos(expr: Expr) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tan` [INFO] [stdout] --> src/main.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn tan(expr: Expr) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `exp` [INFO] [stdout] --> src/main.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn exp(expr: Expr) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `auto_diff_func_ar_1` [INFO] [stdout] --> src/main.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn auto_diff_func_ar_1(func_ar_1: FuncAr1, expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `num` [INFO] [stdout] --> src/main.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn num(f: f32) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pow` [INFO] [stdout] --> src/main.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | fn pow(expr1: Expr, expr2: Expr) -> Expr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `auto_diff_func_ar_2` [INFO] [stdout] --> src/main.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn auto_diff_func_ar_2(func_ar_2: FuncAr2, expr1: Expr, expr2: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `auto_diff` [INFO] [stdout] --> src/main.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn auto_diff(expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simplify_one_step` [INFO] [stdout] --> src/main.rs:255:4 [INFO] [stdout] | [INFO] [stdout] 255 | fn simplify_one_step(expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `on_bx` [INFO] [stdout] --> src/main.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn on_bx(t: Box, f: F) -> Box where [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simplify_recurse` [INFO] [stdout] --> src/main.rs:315:4 [INFO] [stdout] | [INFO] [stdout] 315 | fn simplify_recurse(expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simplify` [INFO] [stdout] --> src/main.rs:326:4 [INFO] [stdout] | [INFO] [stdout] 326 | fn simplify(expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `diff` [INFO] [stdout] --> src/main.rs:338:4 [INFO] [stdout] | [INFO] [stdout] 338 | fn diff(expr: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_and_print` [INFO] [stdout] --> src/main.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn parse_and_print(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.36s [INFO] running `Command { std: "docker" "inspect" "ed0177465539512cf3b2f7e59b94b7977d25f7e23d46a1c8e5793fe7b8e6e471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed0177465539512cf3b2f7e59b94b7977d25f7e23d46a1c8e5793fe7b8e6e471", kill_on_drop: false }` [INFO] [stdout] ed0177465539512cf3b2f7e59b94b7977d25f7e23d46a1c8e5793fe7b8e6e471 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+1.52.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7f531fd935beeeb7e8824ed4ceda161bcfbf8a3ddaedd8b4048df0fe0950f25d [INFO] running `Command { std: "docker" "start" "-a" "7f531fd935beeeb7e8824ed4ceda161bcfbf8a3ddaedd8b4048df0fe0950f25d", kill_on_drop: false }` [INFO] [stderr] Compiling symbolic-differntiation-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | (Expr::Num(0f32), f) => f, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:264:31 [INFO] [stdout] | [INFO] [stdout] 264 | (e, Expr::Num(0f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:271:31 [INFO] [stdout] | [INFO] [stdout] 271 | (e, Expr::Num(0f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:277:28 [INFO] [stdout] | [INFO] [stdout] 277 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:278:31 [INFO] [stdout] | [INFO] [stdout] 278 | (_, Expr::Num(0f32)) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | (Expr::Num(1f32), f) => f, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:280:31 [INFO] [stdout] | [INFO] [stdout] 280 | (e, Expr::Num(1f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:286:28 [INFO] [stdout] | [INFO] [stdout] 286 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:289:31 [INFO] [stdout] | [INFO] [stdout] 289 | (e, Expr::Num(1f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:295:28 [INFO] [stdout] | [INFO] [stdout] 295 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:298:31 [INFO] [stdout] | [INFO] [stdout] 298 | (e, Expr::Num(1f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:517:28 [INFO] [stdout] | [INFO] [stdout] 517 | (Expr::Num(0f32), f) => f, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:518:31 [INFO] [stdout] | [INFO] [stdout] 518 | (e, Expr::Num(0f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:525:31 [INFO] [stdout] | [INFO] [stdout] 525 | (e, Expr::Num(0f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:532:31 [INFO] [stdout] | [INFO] [stdout] 532 | (_, Expr::Num(0f32)) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | (Expr::Num(1f32), f) => f, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:534:31 [INFO] [stdout] | [INFO] [stdout] 534 | (e, Expr::Num(1f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:540:28 [INFO] [stdout] | [INFO] [stdout] 540 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:543:31 [INFO] [stdout] | [INFO] [stdout] 543 | (e, Expr::Num(1f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib2.rs:552:31 [INFO] [stdout] | [INFO] [stdout] 552 | (e, Expr::Num(1f32)) => e, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | (Expr::Num(0f32), f) => f, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.79s [INFO] running `Command { std: "docker" "inspect" "7f531fd935beeeb7e8824ed4ceda161bcfbf8a3ddaedd8b4048df0fe0950f25d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f531fd935beeeb7e8824ed4ceda161bcfbf8a3ddaedd8b4048df0fe0950f25d", kill_on_drop: false }` [INFO] [stdout] 7f531fd935beeeb7e8824ed4ceda161bcfbf8a3ddaedd8b4048df0fe0950f25d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+1.52.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3fc614695a050d5c9bf565e1e8cad06ac79fd590e9e2564bf72de287e64b7ec2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3fc614695a050d5c9bf565e1e8cad06ac79fd590e9e2564bf72de287e64b7ec2", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stdout] running 37 tests [INFO] [stderr] --> src/main.rs:263:28 [INFO] [stdout] test lib2::tests::test_auto_diff_no_simp_1 ... ok [INFO] [stderr] | [INFO] [stdout] test lib2::tests::test_inner_func_ar_1 ... ok [INFO] [stderr] 263 | (Expr::Num(0f32), f) => f, [INFO] [stdout] test lib2::tests::test_parse_alts ... ok [INFO] [stderr] | ^^^^ [INFO] [stdout] test lib2::tests::test_parse_digit ... ok [INFO] [stderr] | [INFO] [stdout] test lib2::tests::test_parse_many1 ... ok [INFO] [stderr] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] test lib2::tests::test_parse_digits ... ok [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] test lib2::tests::test_parse_alt ... ok [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stdout] test lib2::tests::test_parse_num ... ok [INFO] [stderr] [INFO] [stdout] test lib2::tests::test_parse_char ... ok [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stdout] test lib2::tests::test_simplify_3 ... ok [INFO] [stderr] --> src/main.rs:264:31 [INFO] [stdout] test lib2::tests::test_parse_var ... ok [INFO] [stderr] | [INFO] [stdout] test lib2::tests::test_simplify_5 ... ok [INFO] [stderr] 264 | (e, Expr::Num(0f32)) => e, [INFO] [stdout] test lib2::tests::test_simplify_7 ... ok [INFO] [stderr] | ^^^^ [INFO] [stdout] test lib2::tests::test_parse_float ... ok [INFO] [stderr] | [INFO] [stdout] test tests::test_auto_diff_no_simp_1 ... ok [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] test lib2::tests::test_simplify_6 ... ok [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stdout] test tests::test_parse_expr ... ok [INFO] [stderr] [INFO] [stdout] test tests::test_expr_parser ... ok [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stdout] test tests::test_parse_num ... ok [INFO] [stderr] --> src/main.rs:271:31 [INFO] [stdout] test lib2::tests::test_parse_many ... ok [INFO] [stderr] | [INFO] [stdout] test lib2::tests::test_simplify_2 ... ok [INFO] [stderr] 271 | (e, Expr::Num(0f32)) => e, [INFO] [stdout] test lib2::tests::test_simplify_4 ... ok [INFO] [stderr] | ^^^^ [INFO] [stdout] test tests::test_parse_var ... ok [INFO] [stderr] | [INFO] [stdout] test lib2::tests::test_simplify ... ok [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] test lib2::tests::test_simplify_1 ... ok [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:277:28 [INFO] [stderr] | [INFO] [stderr] 277 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:278:31 [INFO] [stderr] | [INFO] [stderr] 278 | (_, Expr::Num(0f32)) => 0.into(), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:279:28 [INFO] [stderr] | [INFO] [stderr] 279 | (Expr::Num(1f32), f) => f, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:280:31 [INFO] [stderr] | [INFO] [stderr] 280 | (e, Expr::Num(1f32)) => e, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:286:28 [INFO] [stderr] | [INFO] [stderr] 286 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:289:31 [INFO] [stderr] | [INFO] [stderr] 289 | (e, Expr::Num(1f32)) => e, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:295:28 [INFO] [stderr] | [INFO] [stderr] 295 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:298:31 [INFO] [stderr] | [INFO] [stderr] 298 | (e, Expr::Num(1f32)) => e, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib2.rs:517:28 [INFO] [stderr] | [INFO] [stderr] 517 | (Expr::Num(0f32), f) => f, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib2.rs:518:31 [INFO] [stderr] | [INFO] [stderr] 518 | (e, Expr::Num(0f32)) => e, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib2.rs:525:31 [INFO] [stderr] | [INFO] [stderr] 525 | (e, Expr::Num(0f32)) => e, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib2.rs:531:28 [INFO] [stderr] | [INFO] [stderr] 531 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib2.rs:532:31 [INFO] [stderr] | [INFO] [stderr] 532 | (_, Expr::Num(0f32)) => 0.into(), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib2.rs:533:28 [INFO] [stderr] | [INFO] [stderr] 533 | (Expr::Num(1f32), f) => f, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib2.rs:534:31 [INFO] [stderr] | [INFO] [stderr] 534 | (e, Expr::Num(1f32)) => e, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib2.rs:540:28 [INFO] [stderr] | [INFO] [stderr] 540 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib2.rs:543:31 [INFO] [stderr] | [INFO] [stderr] 543 | (e, Expr::Num(1f32)) => e, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib2.rs:549:28 [INFO] [stderr] | [INFO] [stderr] 549 | (Expr::Num(0f32), _) => 0.into(), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib2.rs:552:31 [INFO] [stderr] | [INFO] [stderr] 552 | (e, Expr::Num(1f32)) => e, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:263:28 [INFO] [stderr] | [INFO] [stderr] 263 | (Expr::Num(0f32), f) => f, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: 23 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/symbolic_differntiation_rust-9c02794f60cc39ce) [INFO] [stdout] test tests::test_simplify ... ok [INFO] [stdout] test tests::test_simplify_4 ... ok [INFO] [stdout] test lib2::tests::test_fixed ... ok [INFO] [stdout] test tests::test_fixed ... ok [INFO] [stdout] test lib2::tests::test_expr_parser ... ok [INFO] [stdout] test lib2::tests::test_parse_expr ... ok [INFO] [stdout] test tests::test_simplify_2 ... ok [INFO] [stdout] test tests::test_simplify_3 ... ok [INFO] [stdout] test tests::test_simplify_5 ... ok [INFO] [stdout] test tests::test_simplify_6 ... ok [INFO] [stdout] test tests::test_simplify_7 ... ok [INFO] [stdout] test tests::test_simplify_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3fc614695a050d5c9bf565e1e8cad06ac79fd590e9e2564bf72de287e64b7ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fc614695a050d5c9bf565e1e8cad06ac79fd590e9e2564bf72de287e64b7ec2", kill_on_drop: false }` [INFO] [stdout] 3fc614695a050d5c9bf565e1e8cad06ac79fd590e9e2564bf72de287e64b7ec2