[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 try#9c1dcf141bc0875407c4eb36972857bd3db713e2 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAidoP%2Fbluemetal" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AidoP/bluemetal on toolchain 9c1dcf141bc0875407c4eb36972857bd3db713e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-2/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" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 110787c947acc15e54281d7ea10b2796a86824b039a98638cbce76567179be4a [INFO] running `Command { std: "docker" "start" "-a" "110787c947acc15e54281d7ea10b2796a86824b039a98638cbce76567179be4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "110787c947acc15e54281d7ea10b2796a86824b039a98638cbce76567179be4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "110787c947acc15e54281d7ea10b2796a86824b039a98638cbce76567179be4a", kill_on_drop: false }` [INFO] [stdout] 110787c947acc15e54281d7ea10b2796a86824b039a98638cbce76567179be4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58808fd4503cd4c679c1f6ad81ceb39711abc4708ac1f873d4dd6d2721826bb1 [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" "58808fd4503cd4c679c1f6ad81ceb39711abc4708ac1f873d4dd6d2721826bb1", 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 0.60s [INFO] running `Command { std: "docker" "inspect" "58808fd4503cd4c679c1f6ad81ceb39711abc4708ac1f873d4dd6d2721826bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58808fd4503cd4c679c1f6ad81ceb39711abc4708ac1f873d4dd6d2721826bb1", kill_on_drop: false }` [INFO] [stdout] 58808fd4503cd4c679c1f6ad81ceb39711abc4708ac1f873d4dd6d2721826bb1