[INFO] cloning repository https://github.com/pgberlureau/kernel_shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pgberlureau/kernel_shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgberlureau%2Fkernel_shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgberlureau%2Fkernel_shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e7d937f1e999c31298d8b157336dbb07a2ba4c6 [INFO] checking pgberlureau/kernel_shell against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpgberlureau%2Fkernel_shell" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pgberlureau/kernel_shell [INFO] finished tweaking git repo https://github.com/pgberlureau/kernel_shell [INFO] tweaked toml for git repo https://github.com/pgberlureau/kernel_shell written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pgberlureau/kernel_shell on toolchain e117153a45c546e883c1f91d82611775fcaeffe0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pgberlureau/kernel_shell 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec29ad332adf2c929352d852cecdb3bd54f71c225040cd6fa163f6618beee9a3 [INFO] running `Command { std: "docker" "start" "-a" "ec29ad332adf2c929352d852cecdb3bd54f71c225040cd6fa163f6618beee9a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec29ad332adf2c929352d852cecdb3bd54f71c225040cd6fa163f6618beee9a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec29ad332adf2c929352d852cecdb3bd54f71c225040cd6fa163f6618beee9a3", kill_on_drop: false }` [INFO] [stdout] ec29ad332adf2c929352d852cecdb3bd54f71c225040cd6fa163f6618beee9a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 504a38ab6fee28fd6daa8b163824f5da265fd5e414d37eb069dbd5ac1a0c79fa [INFO] running `Command { std: "docker" "start" "-a" "504a38ab6fee28fd6daa8b163824f5da265fd5e414d37eb069dbd5ac1a0c79fa", kill_on_drop: false }` [INFO] [stderr] Checking fs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the `#[test]` attribute may only be used on a non-associated function [INFO] [stdout] --> src/shell/fs/hd.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[test] // TODO : remove it [INFO] [stdout] | ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions [INFO] [stdout] | [INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run [INFO] [stdout] | [INFO] [stdout] 33 - #[test] // TODO : remove it [INFO] [stdout] 33 + #[cfg(test)] // TODO : remove it [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[test]` attribute may only be used on a non-associated function [INFO] [stdout] --> src/shell/fs/hd.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[test] // TODO : remove it [INFO] [stdout] | ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions [INFO] [stdout] | [INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run [INFO] [stdout] | [INFO] [stdout] 48 - #[test] // TODO : remove it [INFO] [stdout] 48 + #[cfg(test)] // TODO : remove it [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[test]` attribute may only be used on a non-associated function [INFO] [stdout] --> src/shell/fs/hd.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[test] [INFO] [stdout] | ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions [INFO] [stdout] | [INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run [INFO] [stdout] | [INFO] [stdout] 53 - #[test] [INFO] [stdout] 53 + #[cfg(test)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[test]` attribute may only be used on a non-associated function [INFO] [stdout] --> src/shell/fs.rs:309:1 [INFO] [stdout] | [INFO] [stdout] 309 | #[test] // TODO : remove it [INFO] [stdout] | ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions [INFO] [stdout] 310 | / impl std::fmt::Display for Fdesc { [INFO] [stdout] 311 | | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> core::fmt::Result { [INFO] [stdout] 312 | | let name: std::string::String = self.name.iter().collect(); [INFO] [stdout] 313 | | write!(f, " [INFO] [stdout] ... | [INFO] [stdout] 320 | | } [INFO] [stdout] | |_- expected a non-associated function, found an implementation [INFO] [stdout] | [INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run [INFO] [stdout] | [INFO] [stdout] 309 - #[test] // TODO : remove it [INFO] [stdout] 309 + #[cfg(test)] // TODO : remove it [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start` is never read [INFO] [stdout] --> src/shell.rs:427:25 [INFO] [stdout] | [INFO] [stdout] 427 | ' ' => {start += 1; end += 1}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start` is never read [INFO] [stdout] --> src/shell.rs:427:25 [INFO] [stdout] | [INFO] [stdout] 427 | ' ' => {start += 1; end += 1}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fs` (bin "fs" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "504a38ab6fee28fd6daa8b163824f5da265fd5e414d37eb069dbd5ac1a0c79fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504a38ab6fee28fd6daa8b163824f5da265fd5e414d37eb069dbd5ac1a0c79fa", kill_on_drop: false }` [INFO] [stdout] 504a38ab6fee28fd6daa8b163824f5da265fd5e414d37eb069dbd5ac1a0c79fa