[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 master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpastchick3%2Fagile-C" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pastchick3/agile-C on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-0-tc1/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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colored v1.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aee4a2739868aa5eb5f1e6651a802cb719158e3e4879476e7ed2edf185508fc7 [INFO] running `Command { std: "docker" "start" "-a" "aee4a2739868aa5eb5f1e6651a802cb719158e3e4879476e7ed2edf185508fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aee4a2739868aa5eb5f1e6651a802cb719158e3e4879476e7ed2edf185508fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aee4a2739868aa5eb5f1e6651a802cb719158e3e4879476e7ed2edf185508fc7", kill_on_drop: false }` [INFO] [stdout] aee4a2739868aa5eb5f1e6651a802cb719158e3e4879476e7ed2edf185508fc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc3096a5a8e00801f283a177047c8d1b135a28baf9318f6427ae26189627a783 [INFO] running `Command { std: "docker" "start" "-a" "fc3096a5a8e00801f283a177047c8d1b135a28baf9318f6427ae26189627a783", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling colored v1.9.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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.23s [INFO] running `Command { std: "docker" "inspect" "fc3096a5a8e00801f283a177047c8d1b135a28baf9318f6427ae26189627a783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc3096a5a8e00801f283a177047c8d1b135a28baf9318f6427ae26189627a783", kill_on_drop: false }` [INFO] [stdout] fc3096a5a8e00801f283a177047c8d1b135a28baf9318f6427ae26189627a783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f88d1bef940ae5a1e8876b811ef24ad4bf41bddf84a8f36d6bd95a881384022 [INFO] running `Command { std: "docker" "start" "-a" "6f88d1bef940ae5a1e8876b811ef24ad4bf41bddf84a8f36d6bd95a881384022", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling escargot v0.5.0 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [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] [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_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: 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` profile [unoptimized + debuginfo] target(s) in 9.42s [INFO] running `Command { std: "docker" "inspect" "6f88d1bef940ae5a1e8876b811ef24ad4bf41bddf84a8f36d6bd95a881384022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f88d1bef940ae5a1e8876b811ef24ad4bf41bddf84a8f36d6bd95a881384022", kill_on_drop: false }` [INFO] [stdout] 6f88d1bef940ae5a1e8876b811ef24ad4bf41bddf84a8f36d6bd95a881384022 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8409e977f316658b9484ee92b7d37c870e6de8024c08b7b99fc581ee16eb0f18 [INFO] running `Command { std: "docker" "start" "-a" "8409e977f316658b9484ee92b7d37c870e6de8024c08b7b99fc581ee16eb0f18", 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: 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` (lib test) generated 4 warnings (1 duplicate) (run `cargo fix --lib -p agile_c --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/agile_c-2f0ec7bf03688612) [INFO] [stdout] [INFO] [stdout] running 59 tests [INFO] [stdout] test lexer::tests::arithmetic ... ok [INFO] [stdout] test lexer::tests::compound_assignment ... ok [INFO] [stdout] test lexer::tests::ident_const ... 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::error ... ok [INFO] [stdout] test lexer::tests::error_str_eof ... ok [INFO] [stdout] test lexer::tests::parenthesis ... ok [INFO] [stdout] test lexer::tests::punctuation ... ok [INFO] [stdout] test lexer::tests::location ... ok [INFO] [stdout] test lexer::tests::relationship ... ok [INFO] [stdout] test lexer::tests::type_ ... ok [INFO] [stdout] test parser::tests::duplicate_parameters ... ok [INFO] [stdout] test parser::tests::comment ... ok [INFO] [stdout] test parser::tests::error_recovery ... ok [INFO] [stdout] test parser::tests::expression_compound_assignment ... ok [INFO] [stdout] test parser::tests::expression_arithmetic ... ok [INFO] [stdout] test parser::tests::dummy_type ... ok [INFO] [stdout] test parser::tests::expression_ident_const ... ok [INFO] [stdout] test parser::tests::function_multiple ... ok [INFO] [stdout] test parser::tests::expression_relational ... ok [INFO] [stdout] test parser::tests::include ... ok [INFO] [stdout] test parser::tests::function_ellipsis ... ok [INFO] [stdout] test parser::tests::function_unchecked ... ok [INFO] [stdout] test parser::tests::function_single ... ok [INFO] [stdout] test parser::tests::return_pointer ... ok [INFO] [stdout] test parser::tests::index_call_pointer_struct ... ok [INFO] [stdout] test parser::tests::function_void ... ok [INFO] [stdout] test parser::tests::statement_break ... ok [INFO] [stdout] test parser::tests::statement_def_nested ... ok [INFO] [stdout] test parser::tests::statement_do ... ok [INFO] [stdout] test parser::tests::statement_def_var ... ok [INFO] [stdout] test parser::tests::statement_for ... ok [INFO] [stdout] test parser::tests::statement_continue ... ok [INFO] [stdout] test parser::tests::statement_if ... ok [INFO] [stdout] test parser::tests::statement_null ... ok [INFO] [stdout] test parser::tests::statement_def_struct ... ok [INFO] [stdout] test parser::tests::statement_return ... ok [INFO] [stdout] test parser::tests::structure ... ok [INFO] [stdout] test parser::tests::statement_switch ... ok [INFO] [stdout] test preprocessor::tests::include_cstdlib ... ok [INFO] [stdout] test preprocessor::tests::unbalanced_include ... ok [INFO] [stdout] test parser::tests::statement_while ... ok [INFO] [stdout] test preprocessor::tests::include_userlib ... ok [INFO] [stdout] test resolver::tests::ellipsis ... ok [INFO] [stdout] test resolver::tests::expression_const ... ok [INFO] [stdout] test resolver::tests::array ... ok [INFO] [stdout] test resolver::tests::expression_infix_postfix ... ok [INFO] [stdout] test resolver::tests::implicit_return ... ok [INFO] [stdout] test resolver::tests::function_reverse ... ok [INFO] [stdout] test resolver::tests::function ... ok [INFO] [stdout] test serializer::tests::include ... ok [INFO] [stdout] test serializer::tests::struct_ ... ok [INFO] [stdout] test resolver::tests::structure ... ok [INFO] [stdout] test serializer::tests::function ... ok [INFO] [stdout] test resolver::tests::expression_prefix ... 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.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/agile_c-d23f1a4d06af24a8) [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/debug/deps/integration_test-d8c336f3e8589608) [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 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests agile_c [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - Transpiler (line 20) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8409e977f316658b9484ee92b7d37c870e6de8024c08b7b99fc581ee16eb0f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8409e977f316658b9484ee92b7d37c870e6de8024c08b7b99fc581ee16eb0f18", kill_on_drop: false }` [INFO] [stdout] 8409e977f316658b9484ee92b7d37c870e6de8024c08b7b99fc581ee16eb0f18 [INFO] testing pastchick3/agile-C against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpastchick3%2Fagile-C" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pastchick3/agile-C on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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-0-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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5426f6dff527111e4501fda3eb94a7047079cea2292fd108ebcb130e82147d2 [INFO] running `Command { std: "docker" "start" "-a" "f5426f6dff527111e4501fda3eb94a7047079cea2292fd108ebcb130e82147d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5426f6dff527111e4501fda3eb94a7047079cea2292fd108ebcb130e82147d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5426f6dff527111e4501fda3eb94a7047079cea2292fd108ebcb130e82147d2", kill_on_drop: false }` [INFO] [stdout] f5426f6dff527111e4501fda3eb94a7047079cea2292fd108ebcb130e82147d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8931c9f0ead6dba1fe8c1753218ac0f5e265a37da0a3f5136f20814313c94432 [INFO] running `Command { std: "docker" "start" "-a" "8931c9f0ead6dba1fe8c1753218ac0f5e265a37da0a3f5136f20814313c94432", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling colored v1.9.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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.38s [INFO] running `Command { std: "docker" "inspect" "8931c9f0ead6dba1fe8c1753218ac0f5e265a37da0a3f5136f20814313c94432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8931c9f0ead6dba1fe8c1753218ac0f5e265a37da0a3f5136f20814313c94432", kill_on_drop: false }` [INFO] [stdout] 8931c9f0ead6dba1fe8c1753218ac0f5e265a37da0a3f5136f20814313c94432 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd89c3b6a71fc3a019bb72d0289077994325372a7926e662b798b17744713d6a [INFO] running `Command { std: "docker" "start" "-a" "dd89c3b6a71fc3a019bb72d0289077994325372a7926e662b798b17744713d6a", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling escargot v0.5.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [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] [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_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: 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` profile [unoptimized + debuginfo] target(s) in 7.11s [INFO] running `Command { std: "docker" "inspect" "dd89c3b6a71fc3a019bb72d0289077994325372a7926e662b798b17744713d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd89c3b6a71fc3a019bb72d0289077994325372a7926e662b798b17744713d6a", kill_on_drop: false }` [INFO] [stdout] dd89c3b6a71fc3a019bb72d0289077994325372a7926e662b798b17744713d6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12cf17a73d4de183719f97c4b0d26d1c9030ae666e5eb29104aa2f9fe869dbfb [INFO] running `Command { std: "docker" "start" "-a" "12cf17a73d4de183719f97c4b0d26d1c9030ae666e5eb29104aa2f9fe869dbfb", 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: 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` (lib test) generated 4 warnings (1 duplicate) (run `cargo fix --lib -p agile_c --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/agile_c-2f0ec7bf03688612) [INFO] [stdout] [INFO] [stdout] running 59 tests [INFO] [stdout] test lexer::tests::error_str_eof ... ok [INFO] [stdout] test lexer::tests::arithmetic ... ok [INFO] [stdout] test lexer::tests::error ... ok [INFO] [stdout] test lexer::tests::comment ... ok [INFO] [stdout] test lexer::tests::compound_assignment ... ok [INFO] [stdout] test lexer::tests::ident_const ... ok [INFO] [stdout] test lexer::tests::include ... ok [INFO] [stdout] test lexer::tests::location ... ok [INFO] [stdout] test lexer::tests::parenthesis ... ok [INFO] [stdout] test lexer::tests::keyword ... ok [INFO] [stdout] test parser::tests::comment ... ok [INFO] [stdout] test lexer::tests::type_ ... ok [INFO] [stdout] test parser::tests::duplicate_parameters ... ok [INFO] [stdout] test parser::tests::dummy_type ... ok [INFO] [stdout] test parser::tests::error_recovery ... ok [INFO] [stdout] test lexer::tests::relationship ... ok [INFO] [stdout] test lexer::tests::punctuation ... ok [INFO] [stdout] test parser::tests::expression_arithmetic ... ok [INFO] [stdout] test parser::tests::expression_relational ... ok [INFO] [stdout] test parser::tests::function_ellipsis ... ok [INFO] [stdout] test parser::tests::expression_ident_const ... ok [INFO] [stdout] test parser::tests::function_multiple ... ok [INFO] [stdout] test parser::tests::function_single ... ok [INFO] [stdout] test parser::tests::function_void ... ok [INFO] [stdout] test parser::tests::include ... ok [INFO] [stdout] test parser::tests::return_pointer ... ok [INFO] [stdout] test parser::tests::index_call_pointer_struct ... ok [INFO] [stdout] test parser::tests::expression_compound_assignment ... ok [INFO] [stdout] test parser::tests::function_unchecked ... 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_for ... ok [INFO] [stdout] test parser::tests::statement_if ... ok [INFO] [stdout] test parser::tests::statement_def_var ... ok [INFO] [stdout] test parser::tests::statement_null ... ok [INFO] [stdout] test parser::tests::statement_return ... ok [INFO] [stdout] test parser::tests::statement_do ... ok [INFO] [stdout] test parser::tests::statement_switch ... ok [INFO] [stdout] test parser::tests::structure ... ok [INFO] [stdout] test parser::tests::statement_while ... ok [INFO] [stdout] test preprocessor::tests::include_cstdlib ... ok [INFO] [stdout] test preprocessor::tests::unbalanced_include ... ok [INFO] [stdout] test preprocessor::tests::include_userlib ... ok [INFO] [stdout] test resolver::tests::expression_const ... ok [INFO] [stdout] test resolver::tests::array ... ok [INFO] [stdout] test resolver::tests::ellipsis ... ok [INFO] [stdout] test resolver::tests::function_reverse ... ok [INFO] [stdout] test resolver::tests::implicit_return ... ok [INFO] [stdout] test resolver::tests::function ... ok [INFO] [stdout] test resolver::tests::expression_infix_postfix ... ok [INFO] [stdout] test serializer::tests::include ... ok [INFO] [stdout] test serializer::tests::function ... ok [INFO] [stdout] test serializer::tests::struct_ ... ok [INFO] [stdout] test resolver::tests::structure ... ok [INFO] [stdout] test serializer::tests::expression ... ok [INFO] [stdout] test resolver::tests::expression_prefix ... 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.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/agile_c-d23f1a4d06af24a8) [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/debug/deps/integration_test-d8c336f3e8589608) [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 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/assert_cmd-0.12.0/src/assert.rs:154:13: [INFO] [stdout] Unexpected failure. [INFO] [stdout] code-1 [INFO] [stdout] stderr=```cc1: fatal error: /tmp/_agile_c_temp_1716721032210.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/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_1716721032210.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] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55c9fa8a76c5 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5 [INFO] [stdout] 1: 0x55c9fa8a76c5 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55c9fa8a76c5 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x55c9fa8a76c5 - ::fmt::hfb01aa1fa3fb1821 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55c9fa8cedeb - core::fmt::rt::Argument::fmt::h125e56152abbc1c3 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63 [INFO] [stdout] 5: 0x55c9fa8cedeb - core::fmt::write::hb0ab4ff05ccfe741 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21 [INFO] [stdout] 6: 0x55c9fa8a483f - std::io::Write::write_fmt::hea6336dbf2fa00b8 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15 [INFO] [stdout] 7: 0x55c9fa8a749e - std::sys_common::backtrace::_print::h79ca548f3a2adf4b [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55c9fa8a749e - std::sys_common::backtrace::print::h9aebf997b2fea2d3 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55c9fa8a8e89 - std::panicking::default_hook::{{closure}}::h68a0954af2694526 [INFO] [stdout] 10: 0x55c9fa8a8bdc - std::panicking::default_hook::h5be50cc6849ffb00 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9 [INFO] [stdout] 11: 0x55c9fa85a8ef - as core::ops::function::Fn>::call::hd874405dcbd1d3ed [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 12: 0x55c9fa85a8ef - test::test_main::{{closure}}::h4f26a9df34a84b94 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x55c9fa8a948b - as core::ops::function::Fn>::call::h00e96d9c62aa9a12 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9 [INFO] [stdout] 14: 0x55c9fa8a948b - std::panicking::rust_panic_with_hook::h3c0df6036729334c [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13 [INFO] [stdout] 15: 0x55c9fa8a9204 - std::panicking::begin_panic_handler::{{closure}}::ha3a21e93c4cfd807 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:664:13 [INFO] [stdout] 16: 0x55c9fa8a7b89 - std::sys_common::backtrace::__rust_end_short_backtrace::h19508a8f8ae71dc9 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x55c9fa8a8f37 - rust_begin_unwind [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:652:5 [INFO] [stdout] 18: 0x55c9fa8228e3 - core::panicking::panic_fmt::h2ba8af99174d83ea [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x55c9fa865b37 - assert_cmd::assert::Assert::success::hf07a10ec79651ca5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/assert_cmd-0.12.0/src/assert.rs:154:13 [INFO] [stdout] 20: 0x55c9fa8267fd - integration_test::hello_world_gcc::h22b2e211d002a84a [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:50:5 [INFO] [stdout] 21: 0x55c9fa826277 - integration_test::hello_world_gcc::{{closure}}::h75d04d8ebaec397b [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:36:21 [INFO] [stdout] 22: 0x55c9fa8249b6 - core::ops::function::FnOnce::call_once::h40e62b076e87a80c [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x55c9fa85f20b - core::ops::function::FnOnce::call_once::h18c6bf92212b87a4 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55c9fa85f20b - test::__rust_begin_short_backtrace::hdcf0edcfa9080086 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:625:18 [INFO] [stdout] 25: 0x55c9fa85e8d1 - test::run_test_in_process::{{closure}}::heac2c4eb375d2d10 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:60 [INFO] [stdout] 26: 0x55c9fa85e8d1 - as core::ops::function::FnOnce<()>>::call_once::h0289bafc8a1cc004 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x55c9fa85e8d1 - std::panicking::try::do_call::h5e158f1ad8a5f983 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40 [INFO] [stdout] 28: 0x55c9fa85e8d1 - std::panicking::try::hea3411d60321c4de [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19 [INFO] [stdout] 29: 0x55c9fa85e8d1 - std::panic::catch_unwind::hafb7bb18bc47bbc7 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14 [INFO] [stdout] 30: 0x55c9fa85e8d1 - test::run_test_in_process::h74dd138dc7762d99 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:27 [INFO] [stdout] 31: 0x55c9fa85e8d1 - test::run_test::{{closure}}::h6b390822e63606cf [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:569:43 [INFO] [stdout] 32: 0x55c9fa8272a4 - test::run_test::{{closure}}::h6e11dba8131d354b [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:599:41 [INFO] [stdout] 33: 0x55c9fa8272a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha71b3541b59bdbbb [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 34: 0x55c9fa82bd72 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hef92127c5ef9e53c [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17 [INFO] [stdout] 35: 0x55c9fa82bd72 - as core::ops::function::FnOnce<()>>::call_once::h859c109f9d11c92b [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x55c9fa82bd72 - std::panicking::try::do_call::hbf534c458cd858f0 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40 [INFO] [stdout] 37: 0x55c9fa82bd72 - std::panicking::try::h65c18365a7b9ad90 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19 [INFO] [stdout] 38: 0x55c9fa82bd72 - std::panic::catch_unwind::h21b25d4c69478c39 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14 [INFO] [stdout] 39: 0x55c9fa82bd72 - std::thread::Builder::spawn_unchecked_::{{closure}}::h23335f620275a9bf [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30 [INFO] [stdout] 40: 0x55c9fa82bd72 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb491dc55513e9b7c [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x55c9fa8ae12b - as core::ops::function::FnOnce>::call_once::h41b39260afcffdc9 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 42: 0x55c9fa8ae12b - as core::ops::function::FnOnce>::call_once::h6694c8dc6dd010c4 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9 [INFO] [stdout] 43: 0x55c9fa8ae12b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99 [INFO] [stdout] at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7f1829df3ac3 - [INFO] [stdout] 45: 0x7f1829e84a04 - __clone [INFO] [stdout] 46: 0x0 - [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.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test integration_test` [INFO] running `Command { std: "docker" "inspect" "12cf17a73d4de183719f97c4b0d26d1c9030ae666e5eb29104aa2f9fe869dbfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12cf17a73d4de183719f97c4b0d26d1c9030ae666e5eb29104aa2f9fe869dbfb", kill_on_drop: false }` [INFO] [stdout] 12cf17a73d4de183719f97c4b0d26d1c9030ae666e5eb29104aa2f9fe869dbfb