[INFO] cloning repository https://github.com/AidoP/bluemetal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AidoP/bluemetal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAidoP%2Fbluemetal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAidoP%2Fbluemetal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f9fe625f0d8064a3eb77069773e9f4dac8d0ecb [INFO] checking AidoP/bluemetal against master#2ad5292aea6328113b55968b4322528d48261316 for pr-80243 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAidoP%2Fbluemetal" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AidoP/bluemetal on toolchain 2ad5292aea6328113b55968b4322528d48261316 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AidoP/bluemetal [INFO] finished tweaking git repo https://github.com/AidoP/bluemetal [INFO] tweaked toml for git repo https://github.com/AidoP/bluemetal written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/AidoP/bluemetal already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 788635cc84bb9c1e5537da37eb43e23af6aa068a90ee7017feb3776fb8048645 [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" "788635cc84bb9c1e5537da37eb43e23af6aa068a90ee7017feb3776fb8048645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "788635cc84bb9c1e5537da37eb43e23af6aa068a90ee7017feb3776fb8048645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "788635cc84bb9c1e5537da37eb43e23af6aa068a90ee7017feb3776fb8048645", kill_on_drop: false }` [INFO] [stdout] 788635cc84bb9c1e5537da37eb43e23af6aa068a90ee7017feb3776fb8048645 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+2ad5292aea6328113b55968b4322528d48261316" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cb86151a55310000914c3083dbb8518d3567394a5ac5af8e963e363c82c569d [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" "1cb86151a55310000914c3083dbb8518d3567394a5ac5af8e963e363c82c569d", kill_on_drop: false }` [INFO] [stderr] Checking bluemetal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/parse.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashSet, HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `io::Read` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{fs::File, io::Read}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/parse.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashSet, HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `io::Read` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{fs::File, io::Read}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/parse.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn parse(from: &mut &str, unit: &mut Unit) -> Result<(Vec, Self), ParseError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut modules = vec![]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/parse.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn parse(from: &mut &str, unit: &mut Unit) -> Result<(Vec, Self), ParseError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut modules = vec![]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Identifier` in public interface (error E0446) [INFO] [stdout] --> src/parse.rs:279:15 [INFO] [stdout] | [INFO] [stdout] 279 | Structure(Identifier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `named` [INFO] [stdout] --> src/parse.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn named(name: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Global` [INFO] [stdout] --> src/parse.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `named` [INFO] [stdout] --> src/parse.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | fn named(name: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fn` [INFO] [stdout] --> src/parse.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | Fn, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Struct` [INFO] [stdout] --> src/parse.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | Struct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Identifier` in public interface (error E0446) [INFO] [stdout] --> src/parse.rs:279:15 [INFO] [stdout] | [INFO] [stdout] 279 | Structure(Identifier), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `named` [INFO] [stdout] --> src/parse.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn named(name: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Global` [INFO] [stdout] --> src/parse.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `named` [INFO] [stdout] --> src/parse.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | fn named(name: &str) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fn` [INFO] [stdout] --> src/parse.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | Fn, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Struct` [INFO] [stdout] --> src/parse.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | Struct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/parse.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | panic!("{:?}", unit["syscall"].functions["other"]); [INFO] [stdout] | --------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 7 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "1cb86151a55310000914c3083dbb8518d3567394a5ac5af8e963e363c82c569d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cb86151a55310000914c3083dbb8518d3567394a5ac5af8e963e363c82c569d", kill_on_drop: false }` [INFO] [stdout] 1cb86151a55310000914c3083dbb8518d3567394a5ac5af8e963e363c82c569d