[INFO] fetching crate pcf8591-hal 0.1.0... [INFO] checking pcf8591-hal-0.1.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate pcf8591-hal 0.1.0 into /workspace/builds/worker-65/source [INFO] validating manifest of crates.io crate pcf8591-hal 0.1.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pcf8591-hal 0.1.0 [INFO] finished tweaking crates.io crate pcf8591-hal 0.1.0 [INFO] tweaked toml for crates.io crate pcf8591-hal 0.1.0 written to /workspace/builds/worker-65/source/Cargo.toml [INFO] crate crates.io crate pcf8591-hal 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spidev v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 448ebac4dbfd0835dcd7b5c8f122c19ec52ce4b2eb1401285807820b38120669 [INFO] running `Command { std: "docker" "start" "-a" "448ebac4dbfd0835dcd7b5c8f122c19ec52ce4b2eb1401285807820b38120669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "448ebac4dbfd0835dcd7b5c8f122c19ec52ce4b2eb1401285807820b38120669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "448ebac4dbfd0835dcd7b5c8f122c19ec52ce4b2eb1401285807820b38120669", kill_on_drop: false }` [INFO] [stdout] 448ebac4dbfd0835dcd7b5c8f122c19ec52ce4b2eb1401285807820b38120669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 979dcd04b98155dbaa729a29f5b4bae6219916759945bbb560539719208d3db5 [INFO] running `Command { std: "docker" "start" "-a" "979dcd04b98155dbaa729a29f5b4bae6219916759945bbb560539719208d3db5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] embedded-hal v0.2.4: unproven [INFO] [stderr] nb v0.1.3: unstable [INFO] [stderr] void v1.0.2: default, std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking pcf8591-hal v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking i2cdev v0.4.4 [INFO] [stderr] Checking sysfs_gpio v0.5.4 [INFO] [stderr] Checking spidev v0.4.0 [INFO] [stderr] Checking linux-embedded-hal v0.3.0 [INFO] [stderr] Migrating examples/raspberry_pi_adc.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `pcf8591` [INFO] [stdout] --> examples/raspberry_pi_adc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pcf8591::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `pcf8591` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PCFADCNum` [INFO] [stdout] --> examples/raspberry_pi_adc.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | let a0 = adc.read(PCFADCNum::A0).expect("can read ADC0"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PCFADCNum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PCF8591` [INFO] [stdout] --> examples/raspberry_pi_adc.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let mut adc = PCF8591::new(i2c, PCF8591_DEFAULT_ADDRESS); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use pcf8591_hal::PCF8591; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PCF8591_DEFAULT_ADDRESS` in this scope [INFO] [stdout] --> examples/raspberry_pi_adc.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | let mut adc = PCF8591::new(i2c, PCF8591_DEFAULT_ADDRESS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 | use pcf8591_hal::PCF8591_DEFAULT_ADDRESS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pcf8591-hal` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "979dcd04b98155dbaa729a29f5b4bae6219916759945bbb560539719208d3db5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "979dcd04b98155dbaa729a29f5b4bae6219916759945bbb560539719208d3db5", kill_on_drop: false }` [INFO] [stdout] 979dcd04b98155dbaa729a29f5b4bae6219916759945bbb560539719208d3db5