[INFO] cloning repository https://github.com/waterloop/relay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/waterloop/relay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwaterloop%2Frelay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwaterloop%2Frelay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a22ed1b1d19bbbbfc5c4f0e9bd2eee31fe669cc [INFO] checking waterloop/relay against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwaterloop%2Frelay" "/workspace/builds/worker-115/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-115/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/waterloop/relay 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 git repo https://github.com/waterloop/relay [INFO] finished tweaking git repo https://github.com/waterloop/relay [INFO] tweaked toml for git repo https://github.com/waterloop/relay written to /workspace/builds/worker-115/source/Cargo.toml [INFO] crate git repo https://github.com/waterloop/relay 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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] 5ca271ce802244ecc6a38a10906c434848f92272403f09e8f452737fbc2a0692 [INFO] running `Command { std: "docker" "start" "-a" "5ca271ce802244ecc6a38a10906c434848f92272403f09e8f452737fbc2a0692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ca271ce802244ecc6a38a10906c434848f92272403f09e8f452737fbc2a0692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca271ce802244ecc6a38a10906c434848f92272403f09e8f452737fbc2a0692", kill_on_drop: false }` [INFO] [stdout] 5ca271ce802244ecc6a38a10906c434848f92272403f09e8f452737fbc2a0692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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] 6c3769acc36b70af4ddc618cb6ec2e6741bd3a270748b90c57d07dd2e18c93eb [INFO] running `Command { std: "docker" "start" "-a" "6c3769acc36b70af4ddc618cb6ec2e6741bd3a270748b90c57d07dd2e18c93eb", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking relay v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error: expected `;`, found `println` [INFO] [stdout] --> src/lib.rs:233:81 [INFO] [stdout] | [INFO] [stdout] 233 | ... i2c::write_read(addr, write_buffer: TcpStream, read_buffer: &mut buffer) //write_read will read the max bytes as can fit in the buf... [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 234 | ... [INFO] [stdout] 235 | ... println!("UDP Packet: {}", String::from_utf8(buffer.to_vec()).unwrap()); [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `ioctl` [INFO] [stdout] --> src/i2c.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | mod ioctl; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `ioctl`, create file "src/i2c/ioctl.rs" or "src/i2c/ioctl/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::system` [INFO] [stdout] --> src/i2c.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | use crate::system; [INFO] [stdout] | ^^^^^^^^^^^^^ no `system` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::system` [INFO] [stdout] --> src/i2c.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | use crate::system::{DeviceInfo, Model}; [INFO] [stdout] | ^^^^^^ could not find `system` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::ioctl::Capabilities` [INFO] [stdout] --> src/i2c.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | pub use self::ioctl::Capabilities; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Capabilities` in `i2c::ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libc` [INFO] [stdout] --> src/i2c.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | use libc::c_ulong; [INFO] [stdout] | ^^^^ use of undeclared crate or module `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `i2c` [INFO] [stdout] --> src/lib.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | ... i2c::write_read(addr, write_buffer: TcpStream, read_buffer: &mut buffer) //write_read will read the max bytes as can fit in the buf... [INFO] [stdout] | ^^^ use of undeclared crate or module `i2c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `funcs` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 235 | let capabilities = ioctl::funcs(i2cdev.as_raw_fd())?; [INFO] [stdout] | ^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_addr_10bit` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | ioctl::set_addr_10bit(i2cdev.as_raw_fd(), 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_pec` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | ioctl::set_pec(i2cdev.as_raw_fd(), 0)?; [INFO] [stdout] | ^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_slave_address` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:309:16 [INFO] [stdout] | [INFO] [stdout] 309 | ioctl::set_slave_address(self.i2cdev.as_raw_fd(), c_ulong::from(slave_address))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_timeout` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:325:16 [INFO] [stdout] | [INFO] [stdout] 325 | ioctl::set_timeout(self.i2cdev.as_raw_fd(), timeout as c_ulong)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_retries` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:332:16 [INFO] [stdout] | [INFO] [stdout] 332 | ioctl::set_retries(self.i2cdev.as_raw_fd(), retries as c_ulong)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_addr_10bit` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:350:16 [INFO] [stdout] | [INFO] [stdout] 350 | ioctl::set_addr_10bit(self.i2cdev.as_raw_fd(), addr_10bit as c_ulong)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `i2c_write_read` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:393:16 [INFO] [stdout] | [INFO] [stdout] 393 | ioctl::i2c_write_read( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `i2c_block_read` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:419:16 [INFO] [stdout] | [INFO] [stdout] 419 | ioctl::i2c_block_read(self.i2cdev.as_raw_fd(), command, buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `i2c_block_write` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:438:16 [INFO] [stdout] | [INFO] [stdout] 438 | ioctl::i2c_block_write(self.i2cdev.as_raw_fd(), command, buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_quick_command` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:450:16 [INFO] [stdout] | [INFO] [stdout] 450 | ioctl::smbus_quick_command(self.i2cdev.as_raw_fd(), command)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_receive_byte` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:459:19 [INFO] [stdout] | [INFO] [stdout] 459 | Ok(ioctl::smbus_receive_byte(self.i2cdev.as_raw_fd())?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_send_byte` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:466:16 [INFO] [stdout] | [INFO] [stdout] 466 | ioctl::smbus_send_byte(self.i2cdev.as_raw_fd(), value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_read_byte` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:476:19 [INFO] [stdout] | [INFO] [stdout] 476 | Ok(ioctl::smbus_read_byte(self.i2cdev.as_raw_fd(), command)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_write_byte` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:483:16 [INFO] [stdout] | [INFO] [stdout] 483 | ioctl::smbus_write_byte(self.i2cdev.as_raw_fd(), command, value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_read_word` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:500:19 [INFO] [stdout] | [INFO] [stdout] 500 | Ok(ioctl::smbus_read_word(self.i2cdev.as_raw_fd(), command)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_read_word` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:514:28 [INFO] [stdout] | [INFO] [stdout] 514 | let value = ioctl::smbus_read_word(self.i2cdev.as_raw_fd(), command)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_write_word` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:530:16 [INFO] [stdout] | [INFO] [stdout] 530 | ioctl::smbus_write_word(self.i2cdev.as_raw_fd(), command, value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_write_word` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:544:16 [INFO] [stdout] | [INFO] [stdout] 544 | ioctl::smbus_write_word( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_process_call` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 566 | Ok(ioctl::smbus_process_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_process_call` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:586:31 [INFO] [stdout] | [INFO] [stdout] 586 | let response = ioctl::smbus_process_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_block_read` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:621:19 [INFO] [stdout] | [INFO] [stdout] 621 | Ok(ioctl::smbus_block_read( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_block_write` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:636:16 [INFO] [stdout] | [INFO] [stdout] 636 | ioctl::smbus_block_write(self.i2cdev.as_raw_fd(), command, buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_pec` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:650:16 [INFO] [stdout] | [INFO] [stdout] 650 | ioctl::set_pec(self.i2cdev.as_raw_fd(), pec as c_ulong)?; [INFO] [stdout] | ^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `write_buffer` in this scope [INFO] [stdout] --> src/lib.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 233 | ... i2c::write_read(addr, write_buffer: TcpStream, read_buffer: &mut buffer) //write_read will read the max bytes as can fit in the buf... [INFO] [stdout] | ^^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `read_buffer` in this scope [INFO] [stdout] --> src/lib.rs:233:56 [INFO] [stdout] | [INFO] [stdout] 233 | ... i2c::write_read(addr, write_buffer: TcpStream, read_buffer: &mut buffer) //write_read will read the max bytes as can fit in the buf... [INFO] [stdout] | ^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found local variable `buffer` [INFO] [stdout] --> src/lib.rs:233:74 [INFO] [stdout] | [INFO] [stdout] 233 | ... i2c::write_read(addr, write_buffer: TcpStream, read_buffer: &mut buffer) //write_read will read the max bytes as can fit in the buf... [INFO] [stdout] | ^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `println` [INFO] [stdout] --> src/lib.rs:233:81 [INFO] [stdout] | [INFO] [stdout] 233 | ... i2c::write_read(addr, write_buffer: TcpStream, read_buffer: &mut buffer) //write_read will read the max bytes as can fit in the buf... [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 234 | ... [INFO] [stdout] 235 | ... println!("UDP Packet: {}", String::from_utf8(buffer.to_vec()).unwrap()); [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `ioctl` [INFO] [stdout] --> src/i2c.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | mod ioctl; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `ioctl`, create file "src/i2c/ioctl.rs" or "src/i2c/ioctl/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0573, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `relay` due to 35 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `crate::system` [INFO] [stdout] --> src/i2c.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | use crate::system; [INFO] [stdout] | ^^^^^^^^^^^^^ no `system` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::system` [INFO] [stdout] --> src/i2c.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | use crate::system::{DeviceInfo, Model}; [INFO] [stdout] | ^^^^^^ could not find `system` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::ioctl::Capabilities` [INFO] [stdout] --> src/i2c.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | pub use self::ioctl::Capabilities; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Capabilities` in `i2c::ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libc` [INFO] [stdout] --> src/i2c.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | use libc::c_ulong; [INFO] [stdout] | ^^^^ use of undeclared crate or module `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `i2c` [INFO] [stdout] --> src/lib.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | ... i2c::write_read(addr, write_buffer: TcpStream, read_buffer: &mut buffer) //write_read will read the max bytes as can fit in the buf... [INFO] [stdout] | ^^^ use of undeclared crate or module `i2c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `funcs` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 235 | let capabilities = ioctl::funcs(i2cdev.as_raw_fd())?; [INFO] [stdout] | ^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_addr_10bit` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | ioctl::set_addr_10bit(i2cdev.as_raw_fd(), 0)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_pec` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | ioctl::set_pec(i2cdev.as_raw_fd(), 0)?; [INFO] [stdout] | ^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_slave_address` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:309:16 [INFO] [stdout] | [INFO] [stdout] 309 | ioctl::set_slave_address(self.i2cdev.as_raw_fd(), c_ulong::from(slave_address))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_timeout` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:325:16 [INFO] [stdout] | [INFO] [stdout] 325 | ioctl::set_timeout(self.i2cdev.as_raw_fd(), timeout as c_ulong)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_retries` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:332:16 [INFO] [stdout] | [INFO] [stdout] 332 | ioctl::set_retries(self.i2cdev.as_raw_fd(), retries as c_ulong)?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_addr_10bit` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:350:16 [INFO] [stdout] | [INFO] [stdout] 350 | ioctl::set_addr_10bit(self.i2cdev.as_raw_fd(), addr_10bit as c_ulong)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `i2c_write_read` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:393:16 [INFO] [stdout] | [INFO] [stdout] 393 | ioctl::i2c_write_read( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `i2c_block_read` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:419:16 [INFO] [stdout] | [INFO] [stdout] 419 | ioctl::i2c_block_read(self.i2cdev.as_raw_fd(), command, buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `i2c_block_write` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:438:16 [INFO] [stdout] | [INFO] [stdout] 438 | ioctl::i2c_block_write(self.i2cdev.as_raw_fd(), command, buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_quick_command` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:450:16 [INFO] [stdout] | [INFO] [stdout] 450 | ioctl::smbus_quick_command(self.i2cdev.as_raw_fd(), command)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_receive_byte` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:459:19 [INFO] [stdout] | [INFO] [stdout] 459 | Ok(ioctl::smbus_receive_byte(self.i2cdev.as_raw_fd())?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_send_byte` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:466:16 [INFO] [stdout] | [INFO] [stdout] 466 | ioctl::smbus_send_byte(self.i2cdev.as_raw_fd(), value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_read_byte` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:476:19 [INFO] [stdout] | [INFO] [stdout] 476 | Ok(ioctl::smbus_read_byte(self.i2cdev.as_raw_fd(), command)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_write_byte` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:483:16 [INFO] [stdout] | [INFO] [stdout] 483 | ioctl::smbus_write_byte(self.i2cdev.as_raw_fd(), command, value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_read_word` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:500:19 [INFO] [stdout] | [INFO] [stdout] 500 | Ok(ioctl::smbus_read_word(self.i2cdev.as_raw_fd(), command)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_read_word` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:514:28 [INFO] [stdout] | [INFO] [stdout] 514 | let value = ioctl::smbus_read_word(self.i2cdev.as_raw_fd(), command)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_write_word` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:530:16 [INFO] [stdout] | [INFO] [stdout] 530 | ioctl::smbus_write_word(self.i2cdev.as_raw_fd(), command, value)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_write_word` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:544:16 [INFO] [stdout] | [INFO] [stdout] 544 | ioctl::smbus_write_word( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_process_call` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 566 | Ok(ioctl::smbus_process_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_process_call` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:586:31 [INFO] [stdout] | [INFO] [stdout] 586 | let response = ioctl::smbus_process_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_block_read` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:621:19 [INFO] [stdout] | [INFO] [stdout] 621 | Ok(ioctl::smbus_block_read( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smbus_block_write` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:636:16 [INFO] [stdout] | [INFO] [stdout] 636 | ioctl::smbus_block_write(self.i2cdev.as_raw_fd(), command, buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_pec` in module `ioctl` [INFO] [stdout] --> src/i2c.rs:650:16 [INFO] [stdout] | [INFO] [stdout] 650 | ioctl::set_pec(self.i2cdev.as_raw_fd(), pec as c_ulong)?; [INFO] [stdout] | ^^^^^^^ not found in `ioctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `write_buffer` in this scope [INFO] [stdout] --> src/lib.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 233 | ... i2c::write_read(addr, write_buffer: TcpStream, read_buffer: &mut buffer) //write_read will read the max bytes as can fit in the buf... [INFO] [stdout] | ^^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `read_buffer` in this scope [INFO] [stdout] --> src/lib.rs:233:56 [INFO] [stdout] | [INFO] [stdout] 233 | ... i2c::write_read(addr, write_buffer: TcpStream, read_buffer: &mut buffer) //write_read will read the max bytes as can fit in the buf... [INFO] [stdout] | ^^^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found local variable `buffer` [INFO] [stdout] --> src/lib.rs:233:74 [INFO] [stdout] | [INFO] [stdout] 233 | ... i2c::write_read(addr, write_buffer: TcpStream, read_buffer: &mut buffer) //write_read will read the max bytes as can fit in the buf... [INFO] [stdout] | ^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0573, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [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" "6c3769acc36b70af4ddc618cb6ec2e6741bd3a270748b90c57d07dd2e18c93eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c3769acc36b70af4ddc618cb6ec2e6741bd3a270748b90c57d07dd2e18c93eb", kill_on_drop: false }` [INFO] [stdout] 6c3769acc36b70af4ddc618cb6ec2e6741bd3a270748b90c57d07dd2e18c93eb