[INFO] fetching crate tract-nnef 0.12.4... [INFO] checking tract-nnef-0.12.4 against master#6526e5c772f2da07db745c94ca6bb0a591a39ba4 for pr-80920 [INFO] extracting crate tract-nnef 0.12.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate tract-nnef 0.12.4 on toolchain 6526e5c772f2da07db745c94ca6bb0a591a39ba4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tract-nnef 0.12.4 [INFO] finished tweaking crates.io crate tract-nnef 0.12.4 [INFO] tweaked toml for crates.io crate tract-nnef 0.12.4 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b28b511562efb1f0f62cd29bc1538d549994fb47190b398de4ef8ecaed6a03db [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" "b28b511562efb1f0f62cd29bc1538d549994fb47190b398de4ef8ecaed6a03db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b28b511562efb1f0f62cd29bc1538d549994fb47190b398de4ef8ecaed6a03db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b28b511562efb1f0f62cd29bc1538d549994fb47190b398de4ef8ecaed6a03db", kill_on_drop: false }` [INFO] [stdout] b28b511562efb1f0f62cd29bc1538d549994fb47190b398de4ef8ecaed6a03db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bab00da8f83bde5d8025cb96c22b4250690c9daf7bdbe668b4738f9e5ec4a1ee [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" "bab00da8f83bde5d8025cb96c22b4250690c9daf7bdbe668b4738f9e5ec4a1ee", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking memchr v2.3.4 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking log v0.4.13 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking tar v0.4.30 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling proc-quote v0.3.2 [INFO] [stderr] Compiling liquid-derive v0.21.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling enum-ordinalize v3.1.8 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling educe v0.4.11 [INFO] [stderr] Checking tract-data v0.12.5 [INFO] [stderr] Compiling kstring v1.0.0 [INFO] [stderr] Compiling liquid-core v0.21.2 [INFO] [stderr] Compiling liquid-lib v0.21.1 [INFO] [stderr] Compiling liquid v0.21.4 [INFO] [stderr] Compiling tract-linalg v0.12.5 [INFO] [stderr] Checking tract-core v0.12.5 [INFO] [stderr] Checking tract-nnef v0.12.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ops/nnef/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ops/nnef/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/ops/nnef/deser.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | if bias.is_uniform()? && bias.cast_to_scalar::()? == 0.0 { None } else { Some(bias) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `bool` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for type `bool` in the current scope [INFO] [stdout] --> src/ser.rs:273:51 [INFO] [stdout] | [INFO] [stdout] 273 | if !force_variable && tensor.is_uniform().unwrap() { [INFO] [stdout] | ^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tract-nnef` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/ops/nnef/deser.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | if bias.is_uniform()? && bias.cast_to_scalar::()? == 0.0 { None } else { Some(bias) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `bool` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for type `bool` in the current scope [INFO] [stdout] --> src/ser.rs:273:51 [INFO] [stdout] | [INFO] [stdout] 273 | if !force_variable && tensor.is_uniform().unwrap() { [INFO] [stdout] | ^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bab00da8f83bde5d8025cb96c22b4250690c9daf7bdbe668b4738f9e5ec4a1ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bab00da8f83bde5d8025cb96c22b4250690c9daf7bdbe668b4738f9e5ec4a1ee", kill_on_drop: false }` [INFO] [stdout] bab00da8f83bde5d8025cb96c22b4250690c9daf7bdbe668b4738f9e5ec4a1ee