[INFO] fetching crate z_table 0.1.3... [INFO] testing z_table-0.1.3 against 1.45.2 for beta-1.46-1 [INFO] extracting crate z_table 0.1.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate z_table 0.1.3 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate z_table 0.1.3 [INFO] finished tweaking crates.io crate z_table 0.1.3 [INFO] tweaked toml for crates.io crate z_table 0.1.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate z_table 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc3dfec68ceaa0a8363583d5ea3976243119ac402d95c5a268f8b8932dbe153f [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" "fc3dfec68ceaa0a8363583d5ea3976243119ac402d95c5a268f8b8932dbe153f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc3dfec68ceaa0a8363583d5ea3976243119ac402d95c5a268f8b8932dbe153f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc3dfec68ceaa0a8363583d5ea3976243119ac402d95c5a268f8b8932dbe153f", kill_on_drop: false }` [INFO] [stdout] fc3dfec68ceaa0a8363583d5ea3976243119ac402d95c5a268f8b8932dbe153f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e161e83897e02ac2cec60d1f911ac25da36ed71323460e4df67e9beb942ab3e [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" "0e161e83897e02ac2cec60d1f911ac25da36ed71323460e4df67e9beb942ab3e", kill_on_drop: false }` [INFO] [stderr] Compiling z_table v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_panic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / if z >= 0.0 { [INFO] [stdout] 14 | | lookup_index((z * 100.0) as u32) [INFO] [stdout] 15 | | } else { [INFO] [stdout] 16 | | 1.0 - lookup_index((z * -100.0) as u32) [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(0.0 <= p && p <= 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / if p >= 0.5 { [INFO] [stdout] 37 | | reverse_lookup_index(p) as f32 / 100.0 [INFO] [stdout] 38 | | } else { [INFO] [stdout] 39 | | reverse_lookup_index(1.0 - p) as f32 / -100.0 [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | assert!(0.5 <= p && p <= 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `loop` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / loop { [INFO] [stdout] 58 | | let curr_abs = abs(p - lookup_index(i)); [INFO] [stdout] 59 | | if prev_abs < curr_abs { [INFO] [stdout] 60 | | if prev_abs < curr_abs { [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #52000 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | / if prev_abs < curr_abs { [INFO] [stdout] 60 | | if prev_abs < curr_abs { [INFO] [stdout] 61 | | return i - 1; [INFO] [stdout] 62 | | } else { [INFO] [stdout] 63 | | return i; [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / if prev_abs < curr_abs { [INFO] [stdout] 61 | | return i - 1; [INFO] [stdout] 62 | | } else { [INFO] [stdout] 63 | | return i; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / if i == 400 { [INFO] [stdout] 69 | | return i; [INFO] [stdout] 70 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `if` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / if x >= 0.0 { [INFO] [stdout] 77 | | x [INFO] [stdout] 78 | | } else { [INFO] [stdout] 79 | | -x [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const fn` [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / match i { [INFO] [stdout] 86 | | 0 => 0.5, [INFO] [stdout] 87 | | 1 => 0.503989356314632, [INFO] [stdout] 88 | | 2 => 0.507978313716902, [INFO] [stdout] ... | [INFO] [stdout] 486 | | _ => 1.0, [INFO] [stdout] 487 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `z_table`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0e161e83897e02ac2cec60d1f911ac25da36ed71323460e4df67e9beb942ab3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e161e83897e02ac2cec60d1f911ac25da36ed71323460e4df67e9beb942ab3e", kill_on_drop: false }` [INFO] [stdout] 0e161e83897e02ac2cec60d1f911ac25da36ed71323460e4df67e9beb942ab3e