[INFO] cloning repository https://github.com/beltegeuse/pbrt_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/beltegeuse/pbrt_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeltegeuse%2Fpbrt_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeltegeuse%2Fpbrt_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f912816c9bc57f504d9315bad9a12d05ba1b1e80 [INFO] checking beltegeuse/pbrt_rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeltegeuse%2Fpbrt_rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beltegeuse/pbrt_rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/beltegeuse/pbrt_rs [INFO] finished tweaking git repo https://github.com/beltegeuse/pbrt_rs [INFO] tweaked toml for git repo https://github.com/beltegeuse/pbrt_rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/beltegeuse/pbrt_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peg v0.6.3 [INFO] [stderr] Downloaded peg-runtime v0.6.3 [INFO] [stderr] Downloaded ply-rs v0.1.3 [INFO] [stderr] Downloaded peg-macros v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac747e9cc6d857565a10bce984f62edc0240919472e000bb23e92d247a058ebb [INFO] running `Command { std: "docker" "start" "-a" "ac747e9cc6d857565a10bce984f62edc0240919472e000bb23e92d247a058ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac747e9cc6d857565a10bce984f62edc0240919472e000bb23e92d247a058ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac747e9cc6d857565a10bce984f62edc0240919472e000bb23e92d247a058ebb", kill_on_drop: false }` [INFO] [stdout] ac747e9cc6d857565a10bce984f62edc0240919472e000bb23e92d247a058ebb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40fdfd3e172b0522b6f869e0580aa2202e55874fbe6273ef023eb7e03241eabf [INFO] running `Command { std: "docker" "start" "-a" "40fdfd3e172b0522b6f869e0580aa2202e55874fbe6273ef023eb7e03241eabf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling pulldown-cmark v0.9.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v3.2.15 [INFO] [stderr] Checking pbr v1.0.4 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking peg v0.6.3 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling ply-rs v0.1.3 [INFO] [stderr] Checking pbrt_rs v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ply.rs:111:47 [INFO] [stdout] | [INFO] [stdout] 111 | let f = match std::fs::File::open(filename.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 111 - let f = match std::fs::File::open(filename.clone()) { [INFO] [stdout] 111 + let f = match std::fs::File::open(filename) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ply.rs:111:47 [INFO] [stdout] | [INFO] [stdout] 111 | let f = match std::fs::File::open(filename.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 111 - let f = match std::fs::File::open(filename.clone()) { [INFO] [stdout] 111 + let f = match std::fs::File::open(filename) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0027]: pattern does not mention field `medium` [INFO] [stdout] --> examples/obj_exporter.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | / pbrt_rs::Camera::Perspective { [INFO] [stdout] 381 | | fov, [INFO] [stdout] 382 | | world_to_camera, [INFO] [stdout] 383 | | } => { [INFO] [stdout] | |_____________^ missing field `medium` [INFO] [stdout] | [INFO] [stdout] help: include the missing field in the pattern [INFO] [stdout] | [INFO] [stdout] 382 | world_to_camera, medium } => { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: if you don't care about this missing field, you can explicitly ignore it [INFO] [stdout] | [INFO] [stdout] 382 | world_to_camera, .. } => { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0027]: pattern does not mention field `medium` [INFO] [stdout] --> examples/viewer.rs:708:17 [INFO] [stdout] | [INFO] [stdout] 708 | / pbrt_rs::Camera::Perspective { [INFO] [stdout] 709 | | world_to_camera, [INFO] [stdout] 710 | | fov, [INFO] [stdout] 711 | | } => { [INFO] [stdout] | |_________________^ missing field `medium` [INFO] [stdout] | [INFO] [stdout] help: include the missing field in the pattern [INFO] [stdout] | [INFO] [stdout] 710 | fov, medium } => { [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: if you don't care about this missing field, you can explicitly ignore it [INFO] [stdout] | [INFO] [stdout] 710 | fov, .. } => { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/obj_exporter.rs:424:44 [INFO] [stdout] | [INFO] [stdout] 424 | .arg(Arg::with_name("debug").short("d").help("debug output")) [INFO] [stdout] | ----- ^^^ expected `char`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/clap-3.2.15/src/builder/arg.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn short(mut self, s: char) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: if you meant to write a `char` literal, use single quotes [INFO] [stdout] | [INFO] [stdout] 424 | .arg(Arg::with_name("debug").short('d').help("debug output")) [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/obj_exporter.rs:429:24 [INFO] [stdout] | [INFO] [stdout] 429 | .short("o") [INFO] [stdout] | ----- ^^^ expected `char`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/clap-3.2.15/src/builder/arg.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn short(mut self, s: char) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: if you meant to write a `char` literal, use single quotes [INFO] [stdout] | [INFO] [stdout] 429 | .short('o') [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0027`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pbrt_rs` (example "viewer") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0027, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0027`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pbrt_rs` (example "obj_exporter") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "40fdfd3e172b0522b6f869e0580aa2202e55874fbe6273ef023eb7e03241eabf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40fdfd3e172b0522b6f869e0580aa2202e55874fbe6273ef023eb7e03241eabf", kill_on_drop: false }` [INFO] [stdout] 40fdfd3e172b0522b6f869e0580aa2202e55874fbe6273ef023eb7e03241eabf [INFO] checking beltegeuse/pbrt_rs against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeltegeuse%2Fpbrt_rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beltegeuse/pbrt_rs on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/beltegeuse/pbrt_rs [INFO] finished tweaking git repo https://github.com/beltegeuse/pbrt_rs [INFO] tweaked toml for git repo https://github.com/beltegeuse/pbrt_rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/beltegeuse/pbrt_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b35e63a07f7f66c6c09cd49db090d2e7484ee2d0331fc0a88080c455162a842e [INFO] running `Command { std: "docker" "start" "-a" "b35e63a07f7f66c6c09cd49db090d2e7484ee2d0331fc0a88080c455162a842e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b35e63a07f7f66c6c09cd49db090d2e7484ee2d0331fc0a88080c455162a842e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35e63a07f7f66c6c09cd49db090d2e7484ee2d0331fc0a88080c455162a842e", kill_on_drop: false }` [INFO] [stdout] b35e63a07f7f66c6c09cd49db090d2e7484ee2d0331fc0a88080c455162a842e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7e4d7fa1568e6f21d84af50d304324d588cd044e479eb2f8dd3e6b5366e6e2a [INFO] running `Command { std: "docker" "start" "-a" "e7e4d7fa1568e6f21d84af50d304324d588cd044e479eb2f8dd3e6b5366e6e2a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "e7e4d7fa1568e6f21d84af50d304324d588cd044e479eb2f8dd3e6b5366e6e2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7e4d7fa1568e6f21d84af50d304324d588cd044e479eb2f8dd3e6b5366e6e2a", kill_on_drop: false }` [INFO] [stdout] e7e4d7fa1568e6f21d84af50d304324d588cd044e479eb2f8dd3e6b5366e6e2a