[INFO] fetching crate thermal 0.3.1... [INFO] building thermal-0.3.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate thermal 0.3.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate thermal 0.3.1 [INFO] finished tweaking crates.io crate thermal 0.3.1 [INFO] tweaked toml for crates.io crate thermal 0.3.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate thermal 0.3.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate thermal 0.3.1 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deflate v0.8.6 [INFO] [stderr] Downloaded zerocopy v0.5.0 [INFO] [stderr] Downloaded byteordered v0.5.0 [INFO] [stderr] Downloaded console v0.14.1 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded semver v1.0.10 [INFO] [stderr] Downloaded img-parts v0.2.3 [INFO] [stderr] Downloaded png v0.16.8 [INFO] [stderr] Downloaded crossbeam-utils v0.8.10 [INFO] [stderr] Downloaded criterion-plot v0.4.4 [INFO] [stderr] Downloaded criterion v0.3.5 [INFO] [stderr] Downloaded dji-thermal-sys v0.1.0 [INFO] [stderr] Downloaded bytemuck v1.9.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.22 [INFO] [stderr] Downloaded gif v0.11.2 [INFO] [stderr] Downloaded ndarray v0.15.3 [INFO] [stderr] Downloaded image v0.23.14 [INFO] [stderr] Downloaded indicatif v0.16.2 [INFO] [stderr] Downloaded matrixmultiply v0.3.1 [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] [stderr] Downloaded zerocopy-derive v0.3.0 [INFO] [stderr] Downloaded tiff v0.6.1 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c52fea42ac29fddc9332c2b830397f906a64c7204dd78cf05cb33d19d57d121 [INFO] running `Command { std: "docker" "start" "-a" "9c52fea42ac29fddc9332c2b830397f906a64c7204dd78cf05cb33d19d57d121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c52fea42ac29fddc9332c2b830397f906a64c7204dd78cf05cb33d19d57d121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c52fea42ac29fddc9332c2b830397f906a64c7204dd78cf05cb33d19d57d121", kill_on_drop: false }` [INFO] [stdout] 9c52fea42ac29fddc9332c2b830397f906a64c7204dd78cf05cb33d19d57d121 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3675cb906cb4bb90abb61d0b20f398ab0a3dd029bb9a38d24c0a597a2dd2f7d6 [INFO] running `Command { std: "docker" "start" "-a" "3675cb906cb4bb90abb61d0b20f398ab0a3dd029bb9a38d24c0a597a2dd2f7d6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling byteordered v0.5.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling img-parts v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling ndarray v0.15.3 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling zerocopy-derive v0.3.0 [INFO] [stderr] Compiling zerocopy v0.5.0 [INFO] [stderr] Compiling thermal v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `thermal::arg`, `thermal::args_parser`, `thermal::opt` [INFO] [stdout] --> src/bin/thermal-transform/args.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use thermal::{arg, args_parser, opt}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^ no `opt` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `args_parser` in the root [INFO] [stdout] | no `arg` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `thermal::cli`, `thermal::dji` [INFO] [stdout] --> src/bin/thermal-transform/proc.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use thermal::{cli::ThermalInput, dji::RJpeg, image::ThermalImage}; [INFO] [stdout] | ^^^ ^^^ could not find `dji` in `thermal` [INFO] [stdout] | | [INFO] [stdout] | could not find `cli` in `thermal` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(feature = "dji")] [INFO] [stdout] | --------------- the item is gated behind the `dji` feature [INFO] [stdout] 90 | pub mod cli; [INFO] [stdout] | ^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(feature = "dji")] [INFO] [stdout] | --------------- the item is gated behind the `dji` feature [INFO] [stdout] 87 | pub mod dji; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thermal::cli` [INFO] [stdout] --> src/bin/thermal-transform/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use thermal::cli::process_paths_par; [INFO] [stdout] | ^^^ could not find `cli` in `thermal` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(feature = "dji")] [INFO] [stdout] | --------------- the item is gated behind the `dji` feature [INFO] [stdout] 90 | pub mod cli; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/thermal-transform/args.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|f| f.into()) [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 56 | .map(|f: /* Type */| f.into()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/thermal-transform/args.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let output = value_t_or_exit!(matches, "output", PathBuf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `value_t_or_exit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/thermal-transform/args.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | let min = value_t_or_exit!(matches, "min", f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `value_t_or_exit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/thermal-transform/args.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let max = value_t_or_exit!(matches, "max", f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `value_t_or_exit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/thermal-transform/args.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | .then(|| value_t_or_exit!(matches.value_of("distance"), f64)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `value_t_or_exit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thermal` (bin "thermal-transform") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved imports `thermal::arg`, `thermal::args_parser`, `thermal::opt` [INFO] [stdout] --> src/bin/thermal-stats/args.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use thermal::{arg, args_parser, opt}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^ no `opt` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `args_parser` in the root [INFO] [stdout] | no `arg` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thermal::cli` [INFO] [stdout] --> src/bin/thermal-stats/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use thermal::cli::{process_paths_par, GenericImage}; [INFO] [stdout] | ^^^ could not find `cli` in `thermal` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(feature = "dji")] [INFO] [stdout] | --------------- the item is gated behind the `dji` feature [INFO] [stdout] 90 | pub mod cli; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thermal::dji` [INFO] [stdout] --> src/bin/thermal-stats/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use thermal::dji::RJpeg; [INFO] [stdout] | ^^^ could not find `dji` in `thermal` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(feature = "dji")] [INFO] [stdout] | --------------- the item is gated behind the `dji` feature [INFO] [stdout] 87 | pub mod dji; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/thermal-stats/args.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | .map(|f| f.into()) [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 37 | .map(|f: /* Type */| f.into()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/thermal-stats/args.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | .then(|| value_t_or_exit!(matches.value_of("distance"), f64)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `value_t_or_exit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `thermal` (bin "thermal-stats") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "3675cb906cb4bb90abb61d0b20f398ab0a3dd029bb9a38d24c0a597a2dd2f7d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3675cb906cb4bb90abb61d0b20f398ab0a3dd029bb9a38d24c0a597a2dd2f7d6", kill_on_drop: false }` [INFO] [stdout] 3675cb906cb4bb90abb61d0b20f398ab0a3dd029bb9a38d24c0a597a2dd2f7d6