[INFO] fetching crate eva 0.2.7... [INFO] checking eva-0.2.7 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate eva 0.2.7 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate eva 0.2.7 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate eva 0.2.7 [INFO] finished tweaking crates.io crate eva 0.2.7 [INFO] tweaked toml for crates.io crate eva 0.2.7 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate eva 0.2.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de30bff366f44995ce99b6637f8e700287c09ba486d329819eea7271db41800c [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" "de30bff366f44995ce99b6637f8e700287c09ba486d329819eea7271db41800c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de30bff366f44995ce99b6637f8e700287c09ba486d329819eea7271db41800c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de30bff366f44995ce99b6637f8e700287c09ba486d329819eea7271db41800c", kill_on_drop: false }` [INFO] [stdout] de30bff366f44995ce99b6637f8e700287c09ba486d329819eea7271db41800c [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=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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b447b8958b0fb2224e2e2b73adc1e59b9a839d30601369217e42b39a6f996675 [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" "b447b8958b0fb2224e2e2b73adc1e59b9a839d30601369217e42b39a6f996675", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking rustyline v4.1.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking eva v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:205:62 [INFO] [stdout] | [INFO] [stdout] 205 | let evaled = eval_math_expression("6*2 + 3 + 12 -3", 0f64).unwrap(); [INFO] [stdout] | ^^^^ expected enum `Option`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `f64` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 205 | let evaled = eval_math_expression("6*2 + 3 + 12 -3", Some(0f64)).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:210:63 [INFO] [stdout] | [INFO] [stdout] 210 | let evaled = eval_math_expression("sin(30) + tan(45", 0f64).unwrap(); [INFO] [stdout] | ^^^^ expected enum `Option`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `f64` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 210 | let evaled = eval_math_expression("sin(30) + tan(45", Some(0f64)).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:215:71 [INFO] [stdout] | [INFO] [stdout] 215 | let evaled = eval_math_expression("(((1 + 2 + 3) ^ 2 ) - 4)", 0f64).unwrap(); [INFO] [stdout] | ^^^^ expected enum `Option`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `f64` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 215 | let evaled = eval_math_expression("(((1 + 2 + 3) ^ 2 ) - 4)", Some(0f64)).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:220:70 [INFO] [stdout] | [INFO] [stdout] 220 | let evaled = eval_math_expression("1.2816 + 1 + 1.2816/1.2", 0f64).unwrap(); [INFO] [stdout] | ^^^^ expected enum `Option`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `f64` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 220 | let evaled = eval_math_expression("1.2816 + 1 + 1.2816/1.2", Some(0f64)).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:225:69 [INFO] [stdout] | [INFO] [stdout] 225 | let evaled = eval_math_expression("deg(asin(1) + acos(1))", 0f64).unwrap(); [INFO] [stdout] | ^^^^ expected enum `Option`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `f64` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 225 | let evaled = eval_math_expression("deg(asin(1) + acos(1))", Some(0f64)).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:230:61 [INFO] [stdout] | [INFO] [stdout] 230 | let evaled = eval_math_expression("1 / (1 + e^-7)", 0f64).unwrap(); [INFO] [stdout] | ^^^^ expected enum `Option`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `f64` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 230 | let evaled = eval_math_expression("1 / (1 + e^-7)", Some(0f64)).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:235:52 [INFO] [stdout] | [INFO] [stdout] 235 | let evaled = eval_math_expression("_ + 9", 9f64).unwrap(); [INFO] [stdout] | ^^^^ expected enum `Option`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `f64` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 235 | let evaled = eval_math_expression("_ + 9", Some(9f64)).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:240:53 [INFO] [stdout] | [INFO] [stdout] 240 | let evaled = eval_math_expression("9 + _ ", 0f64).unwrap(); [INFO] [stdout] | ^^^^ expected enum `Option`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `f64` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 240 | let evaled = eval_math_expression("9 + _ ", Some(0f64)).unwrap(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eva` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "b447b8958b0fb2224e2e2b73adc1e59b9a839d30601369217e42b39a6f996675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b447b8958b0fb2224e2e2b73adc1e59b9a839d30601369217e42b39a6f996675", kill_on_drop: false }` [INFO] [stdout] b447b8958b0fb2224e2e2b73adc1e59b9a839d30601369217e42b39a6f996675