[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#9ce6b522e9d830b1461df3e1b001b5831bd32346 for pr-101061-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpastchick3%2Fagile-C" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pastchick3/agile-C on toolchain 9ce6b522e9d830b1461df3e1b001b5831bd32346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9ce6b522e9d830b1461df3e1b001b5831bd32346" "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-4/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: "/workspace/cargo-home/bin/cargo" "+9ce6b522e9d830b1461df3e1b001b5831bd32346" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:06bd2dc561ac9b9120e7d8112cca06cd3b1bded0ddb8515a4f6a39439d56c944" "/opt/rustwide/cargo-home/bin/cargo" "+9ce6b522e9d830b1461df3e1b001b5831bd32346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3864f0e3b5fbf8d414a429e54d10a1f58af884a1d3636edf55ac6f4302568b12 [INFO] running `Command { std: "docker" "start" "-a" "3864f0e3b5fbf8d414a429e54d10a1f58af884a1d3636edf55ac6f4302568b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3864f0e3b5fbf8d414a429e54d10a1f58af884a1d3636edf55ac6f4302568b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3864f0e3b5fbf8d414a429e54d10a1f58af884a1d3636edf55ac6f4302568b12", kill_on_drop: false }` [INFO] [stdout] 3864f0e3b5fbf8d414a429e54d10a1f58af884a1d3636edf55ac6f4302568b12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:06bd2dc561ac9b9120e7d8112cca06cd3b1bded0ddb8515a4f6a39439d56c944" "/opt/rustwide/cargo-home/bin/cargo" "+9ce6b522e9d830b1461df3e1b001b5831bd32346" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f0c16f10436a063878764ac4203537390210a62447e01dfb575d37bf7593422 [INFO] running `Command { std: "docker" "start" "-a" "6f0c16f10436a063878764ac4203537390210a62447e01dfb575d37bf7593422", 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 bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.1 [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 atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling colored v1.9.2 [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: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 20.26s [INFO] running `Command { std: "docker" "inspect" "6f0c16f10436a063878764ac4203537390210a62447e01dfb575d37bf7593422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f0c16f10436a063878764ac4203537390210a62447e01dfb575d37bf7593422", kill_on_drop: false }` [INFO] [stdout] 6f0c16f10436a063878764ac4203537390210a62447e01dfb575d37bf7593422 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:06bd2dc561ac9b9120e7d8112cca06cd3b1bded0ddb8515a4f6a39439d56c944" "/opt/rustwide/cargo-home/bin/cargo" "+9ce6b522e9d830b1461df3e1b001b5831bd32346" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5530b6bf46b98ad05e77e883ac3c68de20aeb696688dff83977e2c07d2466d32 [INFO] running `Command { std: "docker" "start" "-a" "5530b6bf46b98ad05e77e883ac3c68de20aeb696688dff83977e2c07d2466d32", 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 doc-comment v0.3.1 [INFO] [stderr] Compiling escargot v0.5.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling predicates-core v1.0.0 [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 rand v0.7.3 [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: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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 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: 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: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: `#[warn(non_fmt_panics)]` on by default [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] 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 18.69s [INFO] running `Command { std: "docker" "inspect" "5530b6bf46b98ad05e77e883ac3c68de20aeb696688dff83977e2c07d2466d32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5530b6bf46b98ad05e77e883ac3c68de20aeb696688dff83977e2c07d2466d32", kill_on_drop: false }` [INFO] [stdout] 5530b6bf46b98ad05e77e883ac3c68de20aeb696688dff83977e2c07d2466d32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:06bd2dc561ac9b9120e7d8112cca06cd3b1bded0ddb8515a4f6a39439d56c944" "/opt/rustwide/cargo-home/bin/cargo" "+9ce6b522e9d830b1461df3e1b001b5831bd32346" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4062d97729258bb60842957eb5774ec95192840576d28f37d55583aefe4afbb0 [INFO] running `Command { std: "docker" "start" "-a" "4062d97729258bb60842957eb5774ec95192840576d28f37d55583aefe4afbb0", 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: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: `#[warn(non_fmt_panics)]` on by default [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] 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) [INFO] [stderr] warning: `agile_c` (bin "agile_c" test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/agile_c-5de327677658b7a8) [INFO] [stdout] [INFO] [stdout] running 59 tests [INFO] [stdout] test lexer::tests::ident_const ... ok [INFO] [stdout] test lexer::tests::include ... ok [INFO] [stdout] test lexer::tests::comment ... ok [INFO] [stdout] test lexer::tests::arithmetic ... ok [INFO] [stdout] test lexer::tests::error ... ok [INFO] [stdout] test lexer::tests::error_str_eof ... ok [INFO] [stdout] test lexer::tests::compound_assignment ... ok [INFO] [stdout] test lexer::tests::parenthesis ... ok [INFO] [stdout] test parser::tests::comment ... ok [INFO] [stdout] test lexer::tests::punctuation ... ok [INFO] [stdout] test lexer::tests::keyword ... ok [INFO] [stdout] test lexer::tests::relationship ... ok [INFO] [stdout] test parser::tests::dummy_type ... ok [INFO] [stdout] test lexer::tests::location ... ok [INFO] [stdout] test parser::tests::duplicate_parameters ... ok [INFO] [stdout] test lexer::tests::type_ ... ok [INFO] [stdout] test parser::tests::expression_arithmetic ... ok [INFO] [stdout] test parser::tests::error_recovery ... 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::expression_ident_const ... ok [INFO] [stdout] test parser::tests::function_void ... ok [INFO] [stdout] test parser::tests::include ... ok [INFO] [stdout] test parser::tests::function_single ... ok [INFO] [stdout] test parser::tests::function_ellipsis ... ok [INFO] [stdout] test parser::tests::statement_continue ... 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_def_nested ... ok [INFO] [stdout] test parser::tests::statement_if ... ok [INFO] [stdout] test parser::tests::statement_null ... ok [INFO] [stdout] test parser::tests::statement_def_var ... ok [INFO] [stdout] test parser::tests::statement_do ... ok [INFO] [stdout] test parser::tests::statement_switch ... ok [INFO] [stdout] test parser::tests::statement_def_struct ... ok [INFO] [stdout] test parser::tests::statement_break ... ok [INFO] [stdout] test parser::tests::function_unchecked ... ok [INFO] [stdout] test parser::tests::statement_while ... ok [INFO] [stdout] test preprocessor::tests::unbalanced_include ... ok [INFO] [stdout] test parser::tests::statement_return ... ok [INFO] [stdout] test parser::tests::statement_for ... ok [INFO] [stdout] test preprocessor::tests::include_userlib ... ok [INFO] [stdout] test parser::tests::structure ... ok [INFO] [stdout] test resolver::tests::expression_const ... ok [INFO] [stdout] test resolver::tests::ellipsis ... ok [INFO] [stdout] test preprocessor::tests::include_cstdlib ... ok [INFO] [stdout] test resolver::tests::array ... ok [INFO] [stdout] test resolver::tests::function ... ok [INFO] [stdout] test serializer::tests::function ... ok [INFO] [stdout] test resolver::tests::expression_infix_postfix ... ok [INFO] [stdout] test resolver::tests::function_reverse ... ok [INFO] [stdout] test resolver::tests::implicit_return ... ok [INFO] [stdout] test resolver::tests::expression_prefix ... ok [INFO] [stdout] test serializer::tests::include ... ok [INFO] [stdout] test serializer::tests::expression ... ok [INFO] [stdout] test serializer::tests::struct_ ... ok [INFO] [stdout] test resolver::tests::structure ... 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.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/agile_c-7e4122f10c44d15e) [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-8f2a248b68f65d82) [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_1663831640910.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_1663831640910.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: 0x55b26be698a0 - std::backtrace_rs::backtrace::libunwind::trace::hf53d662b5c6d77d2 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 1: 0x55b26be698a0 - std::backtrace_rs::backtrace::trace_unsynchronized::h6e3cf02005f608bf [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55b26be698a0 - std::sys_common::backtrace::_print_fmt::h6d567679a2265c44 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55b26be698a0 - ::fmt::h1a668cb169fcef22 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55b26be8ce4e - core::fmt::write::hd1139dfe9eec9a34 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/fmt/mod.rs:1202:17 [INFO] [stdout] 5: 0x55b26be65ca5 - std::io::Write::write_fmt::h31ccab35c8c522b7 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/io/mod.rs:1679:15 [INFO] [stdout] 6: 0x55b26be6b363 - std::sys_common::backtrace::_print::hd3a9cd6aaf1b9c8d [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55b26be6b363 - std::sys_common::backtrace::print::hfa27ea3e00247e12 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55b26be6b363 - std::panicking::default_hook::{{closure}}::h76f2cc009fc0e4ed [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55b26be6afd3 - std::panicking::default_hook::h84e3f8d9ac8ff74e [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55b26be6ba0a - std::panicking::rust_panic_with_hook::hb27f77e939cc5d74 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55b26be6b907 - std::panicking::begin_panic_handler::{{closure}}::h2c35a3b6ab1a1b5d [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55b26be69d4c - std::sys_common::backtrace::__rust_end_short_backtrace::hdd7621cbda95655d [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55b26be6b622 - rust_begin_unwind [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55b26bde8fd3 - core::panicking::panic_fmt::h5158c91fc6eda82a [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x55b26be2f0aa - assert_cmd::assert::Assert::success::h37c745e3e206d224 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assert_cmd-0.12.0/src/assert.rs:154:13 [INFO] [stdout] 16: 0x55b26bded212 - integration_test::hello_world_gcc::hbdf2af8118262c2b [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:50:5 [INFO] [stdout] 17: 0x55b26bdecefa - integration_test::hello_world_gcc::{{closure}}::h36621ed50270abc4 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:36:1 [INFO] [stdout] 18: 0x55b26bdeb36e - core::ops::function::FnOnce::call_once::h5803585d198f4829 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 19: 0x55b26be26ae3 - core::ops::function::FnOnce::call_once::h9295094f3a2f274a [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 20: 0x55b26be26ae3 - test::__rust_begin_short_backtrace::hc4e9047c1ba46df2 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/test/src/lib.rs:572:5 [INFO] [stdout] 21: 0x55b26be25750 - as core::ops::function::FnOnce>::call_once::he040c8e590211550 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/alloc/src/boxed.rs:1940:9 [INFO] [stdout] 22: 0x55b26be25750 - as core::ops::function::FnOnce<()>>::call_once::h0d91ee9b948b825d [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x55b26be25750 - std::panicking::try::do_call::h3d19aeafa70ed723 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x55b26be25750 - std::panicking::try::h135dabdea83a1c58 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x55b26be25750 - std::panic::catch_unwind::hf80a8ca158b8efa5 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x55b26be25750 - test::run_test_in_process::hee81e4132103b2a9 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/test/src/lib.rs:595:18 [INFO] [stdout] 27: 0x55b26be25750 - test::run_test::run_test_inner::{{closure}}::h727da8c02b489848 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/test/src/lib.rs:489:39 [INFO] [stdout] 28: 0x55b26bdf0db4 - test::run_test::run_test_inner::{{closure}}::h549d08510b19e013 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/test/src/lib.rs:516:37 [INFO] [stdout] 29: 0x55b26bdf0db4 - std::sys_common::backtrace::__rust_begin_short_backtrace::hacb00420d6394a74 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 30: 0x55b26bdf6717 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h374487babdc746a9 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/thread/mod.rs:514:17 [INFO] [stdout] 31: 0x55b26bdf6717 - as core::ops::function::FnOnce<()>>::call_once::hc77d0695676286d2 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x55b26bdf6717 - std::panicking::try::do_call::h9f79a627f611867c [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:492:40 [INFO] [stdout] 33: 0x55b26bdf6717 - std::panicking::try::ha05fa770fe5794fa [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:456:19 [INFO] [stdout] 34: 0x55b26bdf6717 - std::panic::catch_unwind::h534601d6cd2559a1 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panic.rs:137:14 [INFO] [stdout] 35: 0x55b26bdf6717 - std::thread::Builder::spawn_unchecked_::{{closure}}::hc2ae2a956f19ab11 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/thread/mod.rs:513:30 [INFO] [stdout] 36: 0x55b26bdf6717 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc056908992b2c711 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 37: 0x55b26be705e3 - as core::ops::function::FnOnce>::call_once::h755fdb7c937efc7f [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/alloc/src/boxed.rs:1940:9 [INFO] [stdout] 38: 0x55b26be705e3 - as core::ops::function::FnOnce>::call_once::h1e9985d975cd79fe [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/alloc/src/boxed.rs:1940:9 [INFO] [stdout] 39: 0x55b26be705e3 - std::sys::unix::thread::Thread::new::thread_start::h25c30bbf1476644a [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 40: 0x7fa88a0d8609 - start_thread [INFO] [stdout] 41: 0x7fa889ea8133 - clone [INFO] [stdout] 42: 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.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test integration_test` [INFO] running `Command { std: "docker" "inspect" "4062d97729258bb60842957eb5774ec95192840576d28f37d55583aefe4afbb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4062d97729258bb60842957eb5774ec95192840576d28f37d55583aefe4afbb0", kill_on_drop: false }` [INFO] [stdout] 4062d97729258bb60842957eb5774ec95192840576d28f37d55583aefe4afbb0