[INFO] cloning repository https://github.com/pastchick3/agile-C [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pastchick3/agile-C" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpastchick3%2Fagile-C", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpastchick3%2Fagile-C'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 662477f3b43589d38d2ae9dba538f0fb7423e995 [INFO] testing pastchick3/agile-C against try#a40ec913238f4f188d97c41aa605cb486451acf2+target=i686-unknown-linux-musl for musl_1_2_upgrade_i686_unknown_linux_musl [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpastchick3%2Fagile-C" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pastchick3/agile-C on toolchain a40ec913238f4f188d97c41aa605cb486451acf2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pastchick3/agile-C [INFO] finished tweaking git repo https://github.com/pastchick3/agile-C [INFO] tweaked toml for git repo https://github.com/pastchick3/agile-C written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pastchick3/agile-C 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" "+a40ec913238f4f188d97c41aa605cb486451acf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1297d815d62b61e268b6df046719c8cd15f6793fe55ccea026279f8878dcc81a [INFO] running `Command { std: "docker" "start" "-a" "1297d815d62b61e268b6df046719c8cd15f6793fe55ccea026279f8878dcc81a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1297d815d62b61e268b6df046719c8cd15f6793fe55ccea026279f8878dcc81a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1297d815d62b61e268b6df046719c8cd15f6793fe55ccea026279f8878dcc81a", kill_on_drop: false }` [INFO] [stdout] 1297d815d62b61e268b6df046719c8cd15f6793fe55ccea026279f8878dcc81a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ccbfea0ace937dbb692d97ff404de3fd8164c5df68d13966507475973ed15b5e [INFO] running `Command { std: "docker" "start" "-a" "ccbfea0ace937dbb692d97ff404de3fd8164c5df68d13966507475973ed15b5e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling colored v1.9.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling proc-macro-error v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.9 [INFO] [stderr] Compiling structopt-derive v0.4.2 [INFO] [stderr] Compiling structopt v0.3.9 [INFO] [stderr] Compiling agile_c v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/resolver.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 181 | struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 182 | index: usize, // the id of a scope [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/main.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | Other(Vec), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 35 | Other(Vec), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.56s [INFO] running `Command { std: "docker" "inspect" "ccbfea0ace937dbb692d97ff404de3fd8164c5df68d13966507475973ed15b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccbfea0ace937dbb692d97ff404de3fd8164c5df68d13966507475973ed15b5e", kill_on_drop: false }` [INFO] [stdout] ccbfea0ace937dbb692d97ff404de3fd8164c5df68d13966507475973ed15b5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dbd763d2b4fb9db3a882dbdded06259aa75ddc4dce403ebd8ef8ce3bf273c4a8 [INFO] running `Command { std: "docker" "start" "-a" "dbd763d2b4fb9db3a882dbdded06259aa75ddc4dce403ebd8ef8ce3bf273c4a8", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling escargot v0.5.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/resolver.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 181 | struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 182 | index: usize, // the id of a scope [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/main.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | Other(Vec), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 35 | Other(Vec), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling float-cmp v0.5.3 [INFO] [stderr] Compiling predicates v1.0.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling assert_cmd v0.12.0 [INFO] [stderr] Compiling agile_c v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/main.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | Other(Vec), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 35 | Other(Vec), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/resolver.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 181 | struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 182 | index: usize, // the id of a scope [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexer.rs:584:25 [INFO] [stdout] | [INFO] [stdout] 584 | _ => panic!(format!("Unexpected token[0]: {:#?}", tokens[0])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 584 - _ => panic!(format!("Unexpected token[0]: {:#?}", tokens[0])), [INFO] [stdout] 584 + _ => panic!("Unexpected token[0]: {:#?}", tokens[0]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexer.rs:593:25 [INFO] [stdout] | [INFO] [stdout] 593 | _ => panic!(format!("Unexpected token[1]: {:#?}", tokens[1])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 593 - _ => panic!(format!("Unexpected token[1]: {:#?}", tokens[1])), [INFO] [stdout] 593 + _ => panic!("Unexpected token[1]: {:#?}", tokens[1]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexer.rs:602:25 [INFO] [stdout] | [INFO] [stdout] 602 | _ => panic!(format!("Unexpected token[2]: {:#?}", tokens[2])), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 602 - _ => panic!(format!("Unexpected token[2]: {:#?}", tokens[2])), [INFO] [stdout] 602 + _ => panic!("Unexpected token[2]: {:#?}", tokens[2]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.37s [INFO] running `Command { std: "docker" "inspect" "dbd763d2b4fb9db3a882dbdded06259aa75ddc4dce403ebd8ef8ce3bf273c4a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbd763d2b4fb9db3a882dbdded06259aa75ddc4dce403ebd8ef8ce3bf273c4a8", kill_on_drop: false }` [INFO] [stdout] dbd763d2b4fb9db3a882dbdded06259aa75ddc4dce403ebd8ef8ce3bf273c4a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+a40ec913238f4f188d97c41aa605cb486451acf2" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bf998c995d1703f27bdd578614e6ce3c7a58100c45a737897db578cc5de086f5 [INFO] running `Command { std: "docker" "start" "-a" "bf998c995d1703f27bdd578614e6ce3c7a58100c45a737897db578cc5de086f5", kill_on_drop: false }` [INFO] [stderr] warning: field `index` is never read [INFO] [stderr] --> src/resolver.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 181 | struct Scope { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 182 | index: usize, // the id of a scope [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `agile_c` (lib) generated 1 warning [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> src/main.rs:35:15 [INFO] [stderr] | [INFO] [stderr] 35 | Other(Vec), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 35 | Other(Vec), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `agile_c` (bin "agile_c") generated 1 warning [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lexer.rs:584:25 [INFO] [stderr] | [INFO] [stderr] 584 | _ => panic!(format!("Unexpected token[0]: {:#?}", tokens[0])), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 584 - _ => panic!(format!("Unexpected token[0]: {:#?}", tokens[0])), [INFO] [stderr] 584 + _ => panic!("Unexpected token[0]: {:#?}", tokens[0]), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lexer.rs:593:25 [INFO] [stderr] | [INFO] [stderr] 593 | _ => panic!(format!("Unexpected token[1]: {:#?}", tokens[1])), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 593 - _ => panic!(format!("Unexpected token[1]: {:#?}", tokens[1])), [INFO] [stderr] 593 + _ => panic!("Unexpected token[1]: {:#?}", tokens[1]), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lexer.rs:602:25 [INFO] [stderr] | [INFO] [stderr] 602 | _ => panic!(format!("Unexpected token[2]: {:#?}", tokens[2])), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 602 - _ => panic!(format!("Unexpected token[2]: {:#?}", tokens[2])), [INFO] [stderr] 602 + _ => panic!("Unexpected token[2]: {:#?}", tokens[2]), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `agile_c` (bin "agile_c" test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `agile_c` (lib test) generated 4 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/agile_c-e608aef31743a14e) [INFO] [stdout] [INFO] [stdout] running 59 tests [INFO] [stdout] test lexer::tests::compound_assignment ... ok [INFO] [stdout] test lexer::tests::error ... ok [INFO] [stdout] test lexer::tests::ident_const ... ok [INFO] [stdout] test lexer::tests::error_str_eof ... ok [INFO] [stdout] test lexer::tests::keyword ... ok [INFO] [stdout] test lexer::tests::comment ... ok [INFO] [stdout] test lexer::tests::include ... ok [INFO] [stdout] test lexer::tests::arithmetic ... ok [INFO] [stdout] test lexer::tests::punctuation ... ok [INFO] [stdout] test lexer::tests::relationship ... ok [INFO] [stdout] test lexer::tests::type_ ... ok [INFO] [stdout] test lexer::tests::parenthesis ... ok [INFO] [stdout] test parser::tests::comment ... ok [INFO] [stdout] test lexer::tests::location ... ok [INFO] [stdout] test parser::tests::duplicate_parameters ... ok [INFO] [stdout] test parser::tests::expression_ident_const ... ok [INFO] [stdout] test parser::tests::function_ellipsis ... ok [INFO] [stdout] test parser::tests::error_recovery ... ok [INFO] [stdout] test parser::tests::expression_arithmetic ... ok [INFO] [stdout] test parser::tests::dummy_type ... ok [INFO] [stdout] test parser::tests::expression_relational ... ok [INFO] [stdout] test parser::tests::expression_compound_assignment ... ok [INFO] [stdout] test parser::tests::function_multiple ... ok [INFO] [stdout] test parser::tests::function_single ... ok [INFO] [stdout] test parser::tests::function_unchecked ... ok [INFO] [stdout] test parser::tests::include ... ok [INFO] [stdout] test parser::tests::function_void ... ok [INFO] [stdout] test parser::tests::index_call_pointer_struct ... ok [INFO] [stdout] test parser::tests::return_pointer ... ok [INFO] [stdout] test parser::tests::statement_continue ... ok [INFO] [stdout] test parser::tests::statement_break ... ok [INFO] [stdout] test parser::tests::statement_def_nested ... ok [INFO] [stdout] test parser::tests::statement_def_struct ... ok [INFO] [stdout] test parser::tests::statement_do ... ok [INFO] [stdout] test parser::tests::statement_if ... ok [INFO] [stdout] test parser::tests::statement_null ... ok [INFO] [stdout] test parser::tests::statement_return ... ok [INFO] [stdout] test parser::tests::statement_for ... ok [INFO] [stdout] test parser::tests::statement_def_var ... ok [INFO] [stdout] test parser::tests::statement_while ... ok [INFO] [stdout] test preprocessor::tests::include_cstdlib ... ok [INFO] [stdout] test parser::tests::statement_switch ... ok [INFO] [stdout] test parser::tests::structure ... ok [INFO] [stdout] test preprocessor::tests::unbalanced_include ... ok [INFO] [stdout] test preprocessor::tests::include_userlib ... ok [INFO] [stdout] test resolver::tests::ellipsis ... ok [INFO] [stdout] test resolver::tests::implicit_return ... ok [INFO] [stdout] test resolver::tests::expression_const ... ok [INFO] [stdout] test resolver::tests::array ... ok [INFO] [stdout] test resolver::tests::function ... ok [INFO] [stdout] test serializer::tests::include ... ok [INFO] [stdout] test resolver::tests::function_reverse ... ok [INFO] [stdout] test serializer::tests::function ... ok [INFO] [stdout] test resolver::tests::expression_infix_postfix ... ok [INFO] [stdout] test serializer::tests::struct_ ... ok [INFO] [stdout] test resolver::tests::expression_prefix ... ok [INFO] [stdout] test resolver::tests::structure ... ok [INFO] [stdout] test serializer::tests::expression ... ok [INFO] [stdout] test serializer::tests::statement ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 59 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/agile_c-d3121acc3221c4e9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/integration_test-d7ef34fee57cf1e8) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test hello_world_agile_c ... ok [INFO] [stdout] test hello_world_gcc_args ... ok [INFO] [stdout] test hello_world_gcc ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- hello_world_gcc stdout ---- [INFO] [stdout] thread 'hello_world_gcc' panicked at 'Unexpected failure. [INFO] [stdout] code-1 [INFO] [stdout] stderr=```cc1: fatal error: /tmp/_agile_c_temp_1674813111919.c: No such file or directory [INFO] [stdout] compilation terminated. [INFO] [stdout] Temp File Error: No such file or directory (os error 2) [INFO] [stdout] ``` [INFO] [stdout] command=`"/opt/rustwide/target/i686-unknown-linux-musl/debug/agile_c" "--input" "/tmp/_hello_world_gcc_input_temp.c" "--output" "/tmp/_hello_world_gcc_output_temp.exe" "--gcc"` [INFO] [stdout] code=1 [INFO] [stdout] stdout=`````` [INFO] [stdout] stderr=```cc1: fatal error: /tmp/_agile_c_temp_1674813111919.c: No such file or directory [INFO] [stdout] compilation terminated. [INFO] [stdout] Temp File Error: No such file or directory (os error 2) [INFO] [stdout] ``` [INFO] [stdout] ', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assert_cmd-0.12.0/src/assert.rs:154:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x80c5f61 - std::backtrace_rs::backtrace::libunwind::trace::h104fa452555c99d8 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x80c5f61 - std::backtrace_rs::backtrace::trace_unsynchronized::h0a8252d88f024747 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x80c5f61 - std::sys_common::backtrace::_print_fmt::h5cd63a03c21f7741 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x80c5f61 - ::fmt::hbd8d931cffed74c6 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x810463c - core::fmt::write::hf9516172e71ddf40 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/fmt/mod.rs:1213:17 [INFO] [stdout] 5: 0x80c2c4b - std::io::Write::write_fmt::hdf04330b9e16e0c0 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x80c5d66 - std::sys_common::backtrace::_print::hb81277fe50a8d899 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x80c5d66 - std::sys_common::backtrace::print::ha87c182f636b8daf [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x80c79c5 - std::panicking::default_hook::{{closure}}::he705de5c2afaeb86 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x80c76c5 - std::panicking::default_hook::h18d980bdf65e921f [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x80a458c - core::ops::function::Fn::call::h352171db07b38cc9 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/ops/function.rs:79:5 [INFO] [stdout] 11: 0x8081479 - as core::ops::function::Fn>::call::h087b52e51e83fc8e [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 12: 0x8081479 - test::test_main::{{closure}}::hb854e86f34352ae6 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/test/src/lib.rs:135:21 [INFO] [stdout] 13: 0x80c8101 - as core::ops::function::Fn>::call::h843cec44e0c3e0b1 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 14: 0x80c8101 - std::panicking::rust_panic_with_hook::he61419fbe644c5af [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:692:13 [INFO] [stdout] 15: 0x80c7ebc - std::panicking::begin_panic_handler::{{closure}}::h2a512cdc056f1e5c [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:579:13 [INFO] [stdout] 16: 0x80c63da - std::sys_common::backtrace::__rust_end_short_backtrace::h00cf281ca60df1fa [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 17: 0x80c7b93 - rust_begin_unwind [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:575:5 [INFO] [stdout] 18: 0x804c6c0 - core::panicking::panic_fmt::h5fe5ec922118750e [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/panicking.rs:64:14 [INFO] [stdout] 19: 0x808e035 - assert_cmd::assert::Assert::success::h1e30355646fcb109 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assert_cmd-0.12.0/src/assert.rs:154:13 [INFO] [stdout] 20: 0x8050042 - integration_test::hello_world_gcc::h28a0da3fb6cac16a [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:50:5 [INFO] [stdout] 21: 0x804fc87 - integration_test::hello_world_gcc::{{closure}}::h9efb8764ca14906c [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:36:22 [INFO] [stdout] 22: 0x805345d - core::ops::function::FnOnce::call_once::hbc7d2ee5a05c5900 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x8085ece - core::ops::function::FnOnce::call_once::h91d0dfda8bb9938e [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x8085ece - test::__rust_begin_short_backtrace::h1b678021c2c7c382 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/test/src/lib.rs:656:18 [INFO] [stdout] 25: 0x8059a00 - test::run_test::{{closure}}::h0608bfc5582d1472 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/test/src/lib.rs:647:30 [INFO] [stdout] 26: 0x8059a00 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0171ab92c79d505a [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x8085047 - as core::ops::function::FnOnce>::call_once::h44bb5e1b0b78658f [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 28: 0x8085047 - as core::ops::function::FnOnce<()>>::call_once::hf14b9bc9243bc6b0 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 29: 0x8085047 - std::panicking::try::do_call::h2614ccc7313d3f7f [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:483:40 [INFO] [stdout] 30: 0x8085047 - std::panicking::try::h9ae839d4ad9722f8 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:447:19 [INFO] [stdout] 31: 0x8085047 - std::panic::catch_unwind::hc1cb34e922e62e51 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panic.rs:140:14 [INFO] [stdout] 32: 0x8085047 - test::run_test_in_process::he32539bd91b43aae [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/test/src/lib.rs:679:27 [INFO] [stdout] 33: 0x8085047 - test::run_test::run_test_inner::{{closure}}::h251e49a2e77c04ae [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/test/src/lib.rs:573:39 [INFO] [stdout] 34: 0x805438a - test::run_test::run_test_inner::{{closure}}::h8efa48cfafca95a9 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/test/src/lib.rs:600:37 [INFO] [stdout] 35: 0x805438a - std::sys_common::backtrace::__rust_begin_short_backtrace::hd8d1cab504dcff1d [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 36: 0x8059cfb - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6b7049d1c34b0ebf [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/thread/mod.rs:558:17 [INFO] [stdout] 37: 0x8059cfb - as core::ops::function::FnOnce<()>>::call_once::h851a140381089cab [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 38: 0x8059cfb - std::panicking::try::do_call::hd62be527b2c88583 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:483:40 [INFO] [stdout] 39: 0x8059cfb - std::panicking::try::h224f4be6bf8f39b0 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panicking.rs:447:19 [INFO] [stdout] 40: 0x8059cfb - std::panic::catch_unwind::he51e6d58f5cc977e [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/panic.rs:140:14 [INFO] [stdout] 41: 0x8059cfb - std::thread::Builder::spawn_unchecked_::{{closure}}::hdeb5cc8debe6cfbf [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x8059cfb - core::ops::function::FnOnce::call_once{{vtable.shim}}::h37aeaa4cf4078e37 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x80cc7dd - as core::ops::function::FnOnce>::call_once::hbcf52fd66176976e [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 44: 0x80cc7dd - as core::ops::function::FnOnce>::call_once::h5505c14554e15331 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 45: 0x80cc7dd - std::sys::unix::thread::Thread::new::thread_start::h6464f27a12864ff1 [INFO] [stdout] at /rustc/a40ec913238f4f188d97c41aa605cb486451acf2/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] hello_world_gcc [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test integration_test` [INFO] running `Command { std: "docker" "inspect" "bf998c995d1703f27bdd578614e6ce3c7a58100c45a737897db578cc5de086f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf998c995d1703f27bdd578614e6ce3c7a58100c45a737897db578cc5de086f5", kill_on_drop: false }` [INFO] [stdout] bf998c995d1703f27bdd578614e6ce3c7a58100c45a737897db578cc5de086f5