[INFO] fetching crate nsi 0.6.0... [INFO] checking nsi-0.6.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate nsi 0.6.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate nsi 0.6.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate nsi 0.6.0 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate nsi 0.6.0 [INFO] tweaked toml for crates.io crate nsi 0.6.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate nsi 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] a9910b9bb3236888940c8690554e2c4060a15bd854ebce1ecce457d03e418c4d [INFO] running `Command { std: "docker" "start" "-a" "a9910b9bb3236888940c8690554e2c4060a15bd854ebce1ecce457d03e418c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9910b9bb3236888940c8690554e2c4060a15bd854ebce1ecce457d03e418c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9910b9bb3236888940c8690554e2c4060a15bd854ebce1ecce457d03e418c4d", kill_on_drop: false }` [INFO] [stdout] a9910b9bb3236888940c8690554e2c4060a15bd854ebce1ecce457d03e418c4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c07116590bbde46f8a8268f7d2b72deb702e41968e3ecefb755d57abb398d1e [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" "5c07116590bbde46f8a8268f7d2b72deb702e41968e3ecefb755d57abb398d1e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking clamped v1.0.0 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking wide v0.5.5 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking ultraviolet v0.7.5 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling dlopen_derive v0.1.4 [INFO] [stderr] Checking exr v1.0.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking dlopen v0.1.8 [INFO] [stderr] Checking dl-openvdb-query v0.1.1 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling enum_dispatch v0.3.4 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Compiling nsi-sys v0.1.13 [INFO] [stderr] Checking nsi v0.5.6 [INFO] [stderr] Checking nsi v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking nsi-3delight v0.1.0 [INFO] [stderr] Checking polyhedron-ops v0.2.1 [INFO] [stdout] error[E0603]: function `generate_or_use_handle` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nsi-3delight-0.1.0/src/lib.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use nsi::toolbelt::generate_or_use_handle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ private function [INFO] [stdout] | [INFO] [stdout] note: the function `generate_or_use_handle` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nsi-0.5.6/src/toolbelt/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | fn generate_or_use_handle(handle: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nsi-3delight-0.1.0/src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | &ctx.node(Some(environment.as_str()), nsi::NodeType::Environment, &[]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Option`, found `&std::string::String` [INFO] [stdout] | help: try using a variant of the expected enum: `Some(&ctx.node(Some(environment.as_str()), nsi::NodeType::Environment, &[]))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nsi-3delight-0.1.0/src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | shader.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Option`, found `&str` [INFO] [stdout] | help: try using a variant of the expected enum: `Some(shader.as_str())` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `std::string::String` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nsi-3delight-0.1.0/src/lib.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | ).0, [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0603, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nsi-3delight` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5c07116590bbde46f8a8268f7d2b72deb702e41968e3ecefb755d57abb398d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c07116590bbde46f8a8268f7d2b72deb702e41968e3ecefb755d57abb398d1e", kill_on_drop: false }` [INFO] [stdout] 5c07116590bbde46f8a8268f7d2b72deb702e41968e3ecefb755d57abb398d1e