[INFO] cloning repository https://github.com/norlen/segment-generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/norlen/segment-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorlen%2Fsegment-generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorlen%2Fsegment-generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3bd3eab5303895a1af1dbd9eddb093e0081bdd2 [INFO] testing norlen/segment-generator against master#0d13f6afeba4935499abe0c9a07426c94492c94e for pr-96025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorlen%2Fsegment-generator" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/norlen/segment-generator on toolchain 0d13f6afeba4935499abe0c9a07426c94492c94e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/norlen/segment-generator [INFO] finished tweaking git repo https://github.com/norlen/segment-generator [INFO] tweaked toml for git repo https://github.com/norlen/segment-generator written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/norlen/segment-generator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2441110d992efe9cf55114f33e7eee4a4e7778b6b1fb30d11b7e70830fa5873d [INFO] running `Command { std: "docker" "start" "-a" "2441110d992efe9cf55114f33e7eee4a4e7778b6b1fb30d11b7e70830fa5873d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2441110d992efe9cf55114f33e7eee4a4e7778b6b1fb30d11b7e70830fa5873d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2441110d992efe9cf55114f33e7eee4a4e7778b6b1fb30d11b7e70830fa5873d", kill_on_drop: false }` [INFO] [stdout] 2441110d992efe9cf55114f33e7eee4a4e7778b6b1fb30d11b7e70830fa5873d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e60dea05f2da6cc1d7164656680b18a87665b4abff2677724e43c38212134dce [INFO] running `Command { std: "docker" "start" "-a" "e60dea05f2da6cc1d7164656680b18a87665b4abff2677724e43c38212134dce", kill_on_drop: false }` [INFO] [stderr] Compiling segment-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/segment.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | _ => panic!(format!("invalid char: {}", ch)), [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] 38 - _ => panic!(format!("invalid char: {}", ch)), [INFO] [stdout] 38 + _ => panic!("invalid char: {}", ch), [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 0.40s [INFO] running `Command { std: "docker" "inspect" "e60dea05f2da6cc1d7164656680b18a87665b4abff2677724e43c38212134dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e60dea05f2da6cc1d7164656680b18a87665b4abff2677724e43c38212134dce", kill_on_drop: false }` [INFO] [stdout] e60dea05f2da6cc1d7164656680b18a87665b4abff2677724e43c38212134dce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ec236a358b4a7eb57abc4fa594365ba06e7356ac55cb15762ffeaa565383b4e [INFO] running `Command { std: "docker" "start" "-a" "2ec236a358b4a7eb57abc4fa594365ba06e7356ac55cb15762ffeaa565383b4e", kill_on_drop: false }` [INFO] [stderr] Compiling segment-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/segment.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | _ => panic!(format!("invalid char: {}", ch)), [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] 38 - _ => panic!(format!("invalid char: {}", ch)), [INFO] [stdout] 38 + _ => panic!("invalid char: {}", ch), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/segment_generator-37f4df1f2cfdee79) [INFO] running `Command { std: "docker" "inspect" "2ec236a358b4a7eb57abc4fa594365ba06e7356ac55cb15762ffeaa565383b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec236a358b4a7eb57abc4fa594365ba06e7356ac55cb15762ffeaa565383b4e", kill_on_drop: false }` [INFO] [stdout] 2ec236a358b4a7eb57abc4fa594365ba06e7356ac55cb15762ffeaa565383b4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fe06546e8d97f2354f3495fe3216af68f4c4aae1548d227aa6ca71fa50a32862 [INFO] running `Command { std: "docker" "start" "-a" "fe06546e8d97f2354f3495fe3216af68f4c4aae1548d227aa6ca71fa50a32862", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/segment.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | _ => panic!(format!("invalid char: {}", ch)), [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] 38 - _ => panic!(format!("invalid char: {}", ch)), [INFO] [stderr] 38 + _ => panic!("invalid char: {}", ch), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `segment-generator` (bin "segment-generator" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/segment_generator-37f4df1f2cfdee79) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test tests::parse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fe06546e8d97f2354f3495fe3216af68f4c4aae1548d227aa6ca71fa50a32862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe06546e8d97f2354f3495fe3216af68f4c4aae1548d227aa6ca71fa50a32862", kill_on_drop: false }` [INFO] [stdout] fe06546e8d97f2354f3495fe3216af68f4c4aae1548d227aa6ca71fa50a32862