[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#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpastchick3%2Fagile-C" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pastchick3/agile-C on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "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-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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.9 [INFO] [stderr] Downloaded assert_cmd v0.12.0 [INFO] [stderr] Downloaded structopt-derive v0.4.2 [INFO] [stderr] Downloaded structopt v0.3.9 [INFO] [stderr] Downloaded escargot v0.5.0 [INFO] [stderr] Downloaded predicates v1.0.2 [INFO] [stderr] Downloaded proc-macro-error v0.4.9 [INFO] [stderr] Downloaded aho-corasick v0.7.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 291add49ef33b81c8666d1469d26e2bf2ba8c1920beda22a349cbc1901174fe9 [INFO] running `Command { std: "docker" "start" "-a" "291add49ef33b81c8666d1469d26e2bf2ba8c1920beda22a349cbc1901174fe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "291add49ef33b81c8666d1469d26e2bf2ba8c1920beda22a349cbc1901174fe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "291add49ef33b81c8666d1469d26e2bf2ba8c1920beda22a349cbc1901174fe9", kill_on_drop: false }` [INFO] [stdout] 291add49ef33b81c8666d1469d26e2bf2ba8c1920beda22a349cbc1901174fe9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd46ced3d939960d918d8dc8b3dcb356139470048b2658baec72aab6fee1a132 [INFO] running `Command { std: "docker" "start" "-a" "cd46ced3d939960d918d8dc8b3dcb356139470048b2658baec72aab6fee1a132", 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 autocfg v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [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 atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.2 [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 [unoptimized + debuginfo] target(s) in 6.77s [INFO] running `Command { std: "docker" "inspect" "cd46ced3d939960d918d8dc8b3dcb356139470048b2658baec72aab6fee1a132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd46ced3d939960d918d8dc8b3dcb356139470048b2658baec72aab6fee1a132", kill_on_drop: false }` [INFO] [stdout] cd46ced3d939960d918d8dc8b3dcb356139470048b2658baec72aab6fee1a132 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 163f0d7a5160ceb3b8ba74cbfb03864839914b0c32c14e8a6ca36b148b08e089 [INFO] running `Command { std: "docker" "start" "-a" "163f0d7a5160ceb3b8ba74cbfb03864839914b0c32c14e8a6ca36b148b08e089", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [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 difference v2.0.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling treeline v0.1.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 predicates-tree v1.0.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [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_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 [unoptimized + debuginfo] target(s) in 7.39s [INFO] running `Command { std: "docker" "inspect" "163f0d7a5160ceb3b8ba74cbfb03864839914b0c32c14e8a6ca36b148b08e089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "163f0d7a5160ceb3b8ba74cbfb03864839914b0c32c14e8a6ca36b148b08e089", kill_on_drop: false }` [INFO] [stdout] 163f0d7a5160ceb3b8ba74cbfb03864839914b0c32c14e8a6ca36b148b08e089 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e2e8995c68691b1d89364d578ede8757fce59c4187ee91b5be45d49e6ddff2ca [INFO] running `Command { std: "docker" "start" "-a" "e2e8995c68691b1d89364d578ede8757fce59c4187ee91b5be45d49e6ddff2ca", 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: 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) generated 1 warning [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 [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/agile_c-255fdeb1b555c699) [INFO] [stdout] [INFO] [stdout] running 59 tests [INFO] [stdout] test lexer::tests::error ... ok [INFO] [stdout] test lexer::tests::arithmetic ... ok [INFO] [stdout] test lexer::tests::error_str_eof ... ok [INFO] [stdout] test lexer::tests::compound_assignment ... ok [INFO] [stdout] test lexer::tests::ident_const ... ok [INFO] [stdout] test lexer::tests::comment ... ok [INFO] [stdout] test lexer::tests::include ... ok [INFO] [stdout] test lexer::tests::parenthesis ... ok [INFO] [stdout] test lexer::tests::keyword ... 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 lexer::tests::punctuation ... ok [INFO] [stdout] test parser::tests::comment ... ok [INFO] [stdout] test parser::tests::dummy_type ... ok [INFO] [stdout] test parser::tests::error_recovery ... ok [INFO] [stdout] test parser::tests::function_multiple ... ok [INFO] [stdout] test parser::tests::function_ellipsis ... ok [INFO] [stdout] test parser::tests::duplicate_parameters ... ok [INFO] [stdout] test parser::tests::expression_relational ... ok [INFO] [stdout] test parser::tests::function_unchecked ... ok [INFO] [stdout] test parser::tests::function_void ... ok [INFO] [stdout] test parser::tests::include ... ok [INFO] [stdout] test parser::tests::expression_compound_assignment ... ok [INFO] [stdout] test parser::tests::expression_arithmetic ... ok [INFO] [stdout] test parser::tests::statement_continue ... ok [INFO] [stdout] test parser::tests::statement_if ... ok [INFO] [stdout] test parser::tests::statement_do ... ok [INFO] [stdout] test parser::tests::statement_def_nested ... ok [INFO] [stdout] test parser::tests::statement_def_struct ... ok [INFO] [stdout] test parser::tests::expression_ident_const ... ok [INFO] [stdout] test parser::tests::return_pointer ... ok [INFO] [stdout] test parser::tests::index_call_pointer_struct ... ok [INFO] [stdout] test parser::tests::statement_break ... ok [INFO] [stdout] test parser::tests::function_single ... ok [INFO] [stdout] test parser::tests::statement_def_var ... ok [INFO] [stdout] test parser::tests::statement_null ... ok [INFO] [stdout] test parser::tests::statement_for ... ok [INFO] [stdout] test parser::tests::statement_while ... ok [INFO] [stdout] test parser::tests::structure ... ok [INFO] [stdout] test parser::tests::statement_switch ... ok [INFO] [stdout] test resolver::tests::array ... ok [INFO] [stdout] test parser::tests::statement_return ... ok [INFO] [stdout] test preprocessor::tests::include_cstdlib ... ok [INFO] [stdout] test resolver::tests::function_reverse ... ok [INFO] [stdout] test preprocessor::tests::unbalanced_include ... ok [INFO] [stdout] test resolver::tests::implicit_return ... ok [INFO] [stdout] test preprocessor::tests::include_userlib ... ok [INFO] [stdout] test resolver::tests::ellipsis ... ok [INFO] [stdout] test serializer::tests::function ... ok [INFO] [stdout] test resolver::tests::expression_const ... ok [INFO] [stdout] test serializer::tests::struct_ ... ok [INFO] [stdout] test serializer::tests::include ... ok [INFO] [stdout] test resolver::tests::function ... ok [INFO] [stdout] test resolver::tests::expression_infix_postfix ... 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.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/agile_c-55cf461d5c6cc02b) [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-49ef1f8a728b498b) [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_1702593560537.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_1702593560537.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: 0x56449fdd424c - std::backtrace_rs::backtrace::libunwind::trace::h03859d238dbdd93c [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x56449fdd424c - std::backtrace_rs::backtrace::trace_unsynchronized::h2e251246e2581a42 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56449fdd424c - std::sys_common::backtrace::_print_fmt::h5baa2f175792666a [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x56449fdd424c - ::fmt::h00d759009813d8ca [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x56449fdfece0 - core::fmt::rt::Argument::fmt::hcd158635f297e549 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x56449fdfece0 - core::fmt::write::h9c5087e04fe38018 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x56449fdd131f - std::io::Write::write_fmt::h34541c3dfc0362f2 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/io/mod.rs:1810:15 [INFO] [stdout] 7: 0x56449fdd4034 - std::sys_common::backtrace::_print::h25969b404f42f4bb [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x56449fdd4034 - std::sys_common::backtrace::print::h68d3414e8c63fb83 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x56449fdd5de7 - std::panicking::default_hook::{{closure}}::hccfef51edabebb9a [INFO] [stdout] 10: 0x56449fdd5ad3 - std::panicking::default_hook::hdec7a4759fa427e8 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x56449fd89557 - as core::ops::function::Fn>::call::h6770dc7dbbc843da [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 12: 0x56449fd89557 - test::test_main::{{closure}}::h037f0e9a244755ad [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x56449fdd63f8 - as core::ops::function::Fn>::call::h284e61fdb096ca02 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 14: 0x56449fdd63f8 - std::panicking::rust_panic_with_hook::h9d502a4da1912fba [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x56449fdd614e - std::panicking::begin_panic_handler::{{closure}}::h3a68181f2e6a785b [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:657:13 [INFO] [stdout] 16: 0x56449fdd4716 - std::sys_common::backtrace::__rust_end_short_backtrace::hc1d088e8c1328911 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x56449fdd5eb2 - rust_begin_unwind [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x56449fd51d95 - core::panicking::panic_fmt::h15511a438b78bb2f [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x56449fd94bd3 - assert_cmd::assert::Assert::success::h4a55d4f9f2a4d589 [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: 0x56449fd55603 - integration_test::hello_world_gcc::h7c6bb6a5f6e908a6 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:50:5 [INFO] [stdout] 21: 0x56449fd552d7 - integration_test::hello_world_gcc::{{closure}}::hfac264b269208745 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:36:21 [INFO] [stdout] 22: 0x56449fd53d56 - core::ops::function::FnOnce::call_once::hc5351bdb5ea83519 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x56449fd8ec4f - core::ops::function::FnOnce::call_once::h0dce7fb8ca7c533f [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x56449fd8ec4f - test::__rust_begin_short_backtrace::h75b023f3061039b8 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:627:18 [INFO] [stdout] 25: 0x56449fd8dbc5 - test::run_test_in_process::{{closure}}::hb995e3036449b1d2 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:650:60 [INFO] [stdout] 26: 0x56449fd8dbc5 - as core::ops::function::FnOnce<()>>::call_once::h63d3d9d9e7447cac [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x56449fd8dbc5 - std::panicking::try::do_call::hf358e48b8451abe8 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:552:40 [INFO] [stdout] 28: 0x56449fd8dbc5 - std::panicking::try::hdfb727124dd74530 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:516:19 [INFO] [stdout] 29: 0x56449fd8dbc5 - std::panic::catch_unwind::h384458a7c85f353a [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panic.rs:142:14 [INFO] [stdout] 30: 0x56449fd8dbc5 - test::run_test_in_process::h2b217e4014561d06 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:650:27 [INFO] [stdout] 31: 0x56449fd8dbc5 - test::run_test::{{closure}}::h2b7f88f2ebf46b48 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:573:43 [INFO] [stdout] 32: 0x56449fd55e06 - test::run_test::{{closure}}::h320ebf4a972a385e [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:601:41 [INFO] [stdout] 33: 0x56449fd55e06 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3ed64afcc71df931 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 34: 0x56449fd5afe7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb4c68cb7b0f88b9d [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 35: 0x56449fd5afe7 - as core::ops::function::FnOnce<()>>::call_once::h2a26cae7fae50093 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x56449fd5afe7 - std::panicking::try::do_call::h24f674b7fb619491 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:552:40 [INFO] [stdout] 37: 0x56449fd5afe7 - std::panicking::try::h7f5877eebc0c4325 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:516:19 [INFO] [stdout] 38: 0x56449fd5afe7 - std::panic::catch_unwind::h91815042a13af893 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panic.rs:142:14 [INFO] [stdout] 39: 0x56449fd5afe7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h5f5155c83af4a50e [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 40: 0x56449fd5afe7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5d62a6061c9ba69b [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x56449fddb895 - as core::ops::function::FnOnce>::call_once::h861fc3b698de2ffb [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 42: 0x56449fddb895 - as core::ops::function::FnOnce>::call_once::hc66d40344bf1789e [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 43: 0x56449fddb895 - std::sys::unix::thread::Thread::new::thread_start::h425b008cdc0113be [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7f023791bac3 - [INFO] [stdout] 45: 0x7f02379acbf4 - __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" "e2e8995c68691b1d89364d578ede8757fce59c4187ee91b5be45d49e6ddff2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2e8995c68691b1d89364d578ede8757fce59c4187ee91b5be45d49e6ddff2ca", kill_on_drop: false }` [INFO] [stdout] e2e8995c68691b1d89364d578ede8757fce59c4187ee91b5be45d49e6ddff2ca