[INFO] fetching crate rusfuse 0.0.9... [INFO] checking rusfuse-0.0.9 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate rusfuse 0.0.9 into /workspace/builds/worker-105/source [INFO] validating manifest of crates.io crate rusfuse 0.0.9 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 rusfuse 0.0.9 [INFO] finished tweaking crates.io crate rusfuse 0.0.9 [INFO] tweaked toml for crates.io crate rusfuse 0.0.9 written to /workspace/builds/worker-105/source/Cargo.toml [INFO] crate crates.io crate rusfuse 0.0.9 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-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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] 9a066f7a149b1a0e53991965bf1b5921d12dfc41e130f8facc6f52e3706f89e7 [INFO] running `Command { std: "docker" "start" "-a" "9a066f7a149b1a0e53991965bf1b5921d12dfc41e130f8facc6f52e3706f89e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a066f7a149b1a0e53991965bf1b5921d12dfc41e130f8facc6f52e3706f89e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a066f7a149b1a0e53991965bf1b5921d12dfc41e130f8facc6f52e3706f89e7", kill_on_drop: false }` [INFO] [stdout] 9a066f7a149b1a0e53991965bf1b5921d12dfc41e130f8facc6f52e3706f89e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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] 933f88b7d63edb657b354892c76527412c965ab8edc7f3e6729a8a720f7cad0b [INFO] running `Command { std: "docker" "start" "-a" "933f88b7d63edb657b354892c76527412c965ab8edc7f3e6729a8a720f7cad0b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking rusfuse v0.0.9 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/inmemory.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/hello.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/fuse.rs (1 fix) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/fuse.rs:601:32 [INFO] [stdout] | [INFO] [stdout] 600 | let sb = unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 601 | let mut sb: stat = unsafe { mem::zeroed::() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/fuse.rs:602:23 [INFO] [stdout] | [INFO] [stdout] 600 | let sb = unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 601 | let mut sb: stat = unsafe { mem::zeroed::() }; [INFO] [stdout] 602 | let ret = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/fuse.rs:604:65 [INFO] [stdout] | [INFO] [stdout] 604 | CString::new("./tests/resource/a").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/inmemory.rs (5 fixes) [INFO] [stdout] warning: associated function is never used: `children` [INFO] [stdout] --> examples/inmemory.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn children(&self) -> &BTreeSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_ino` [INFO] [stdout] --> examples/inmemory.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | pub(self) fn update_ino(&mut self, ino: InoType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stamp_atime` [INFO] [stdout] --> examples/inmemory.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) fn stamp_atime(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stamp_mtime` [INFO] [stdout] --> examples/inmemory.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) fn stamp_mtime(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stamp_ctime` [INFO] [stdout] --> examples/inmemory.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn stamp_ctime(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.97s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking rusfuse v0.0.9 (/tmp/fixit) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/fuse.rs:601:32 [INFO] [stdout] | [INFO] [stdout] 600 | let sb = unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 601 | let mut sb: stat = unsafe { mem::zeroed::() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/fuse.rs:602:23 [INFO] [stdout] | [INFO] [stdout] 600 | let sb = unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 601 | let mut sb: stat = unsafe { mem::zeroed::() }; [INFO] [stdout] 602 | let ret = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/fuse.rs:604:65 [INFO] [stdout] | [INFO] [stdout] 604 | CString::new("./tests/resource/a").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `children` [INFO] [stdout] --> examples/inmemory.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn children(&self) -> &BTreeSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_ino` [INFO] [stdout] --> examples/inmemory.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | pub(self) fn update_ino(&mut self, ino: InoType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stamp_atime` [INFO] [stdout] --> examples/inmemory.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | pub(crate) fn stamp_atime(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stamp_mtime` [INFO] [stdout] --> examples/inmemory.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) fn stamp_mtime(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stamp_ctime` [INFO] [stdout] --> examples/inmemory.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn stamp_ctime(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "933f88b7d63edb657b354892c76527412c965ab8edc7f3e6729a8a720f7cad0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "933f88b7d63edb657b354892c76527412c965ab8edc7f3e6729a8a720f7cad0b", kill_on_drop: false }` [INFO] [stdout] 933f88b7d63edb657b354892c76527412c965ab8edc7f3e6729a8a720f7cad0b