[INFO] fetching crate rusfuse 0.0.9... [INFO] checking rusfuse-0.0.9 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate rusfuse 0.0.9 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rusfuse 0.0.9 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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-4/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e3e8fc56cb6e774bec35727a71299c0356e0734ab2703bd1ddac8742d172fe9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8e3e8fc56cb6e774bec35727a71299c0356e0734ab2703bd1ddac8742d172fe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e3e8fc56cb6e774bec35727a71299c0356e0734ab2703bd1ddac8742d172fe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e3e8fc56cb6e774bec35727a71299c0356e0734ab2703bd1ddac8742d172fe9", kill_on_drop: false }` [INFO] [stdout] 8e3e8fc56cb6e774bec35727a71299c0356e0734ab2703bd1ddac8742d172fe9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 656be91c7ea6669f7b9266e7352ea424f98bf0bbf58c86d3d3684d402ffc71e9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "656be91c7ea6669f7b9266e7352ea424f98bf0bbf58c86d3d3684d402ffc71e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking rusfuse v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `S_IWOTH` [INFO] [stdout] --> src/fuse.rs:594:67 [INFO] [stdout] | [INFO] [stdout] 594 | use libc::{stat, S_IFREG, S_IRGRP, S_IROTH, S_IRUSR, S_IWGRP, S_IWOTH, S_IWUSR}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> examples/inmemory.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FuseDirectory` [INFO] [stdout] --> examples/inmemory.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | use rusfuse::{FileType, FuseAttr, FuseDirectory}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> examples/inmemory.rs:366:35 [INFO] [stdout] | [INFO] [stdout] 366 | return Ok((FuseEntryParam::new(ch.to_attr(), 0, 0.0, 0.0))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 366 - return Ok((FuseEntryParam::new(ch.to_attr(), 0, 0.0, 0.0))); [INFO] [stdout] 366 + return Ok(FuseEntryParam::new(ch.to_attr(), 0, 0.0, 0.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> examples/inmemory.rs:397:30 [INFO] [stdout] | [INFO] [stdout] 397 | Some(node) => Ok((FuseEntryParam::new(node.to_attr(), 0, 0.0, 0.0))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 397 - Some(node) => Ok((FuseEntryParam::new(node.to_attr(), 0, 0.0, 0.0))), [INFO] [stdout] 397 + Some(node) => Ok(FuseEntryParam::new(node.to_attr(), 0, 0.0, 0.0)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> examples/inmemory.rs:426:30 [INFO] [stdout] | [INFO] [stdout] 426 | Some(node) => Ok((FuseEntryParam::new(node.to_attr(), 0, 0.0, 0.0))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 426 - Some(node) => Ok((FuseEntryParam::new(node.to_attr(), 0, 0.0, 0.0))), [INFO] [stdout] 426 + Some(node) => Ok(FuseEntryParam::new(node.to_attr(), 0, 0.0, 0.0)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gid` [INFO] [stdout] --> examples/inmemory.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) gid: u32, [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: `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] [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.88s [INFO] running `Command { std: "docker" "inspect" "656be91c7ea6669f7b9266e7352ea424f98bf0bbf58c86d3d3684d402ffc71e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "656be91c7ea6669f7b9266e7352ea424f98bf0bbf58c86d3d3684d402ffc71e9", kill_on_drop: false }` [INFO] [stdout] 656be91c7ea6669f7b9266e7352ea424f98bf0bbf58c86d3d3684d402ffc71e9