[INFO] cloning repository https://github.com/yoanndw/shunting-yard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yoanndw/shunting-yard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoanndw%2Fshunting-yard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoanndw%2Fshunting-yard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8da31c80c32ff6b1272ca36d96d695041e6facb1 [INFO] testing yoanndw/shunting-yard against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoanndw%2Fshunting-yard" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yoanndw/shunting-yard on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yoanndw/shunting-yard [INFO] finished tweaking git repo https://github.com/yoanndw/shunting-yard [INFO] tweaked toml for git repo https://github.com/yoanndw/shunting-yard written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yoanndw/shunting-yard 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d7b2d9db935a0c55a6dd9ffc8a4bf42c9565cea8b99152b0a5056d8a4432e71 [INFO] running `Command { std: "docker" "start" "-a" "6d7b2d9db935a0c55a6dd9ffc8a4bf42c9565cea8b99152b0a5056d8a4432e71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d7b2d9db935a0c55a6dd9ffc8a4bf42c9565cea8b99152b0a5056d8a4432e71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d7b2d9db935a0c55a6dd9ffc8a4bf42c9565cea8b99152b0a5056d8a4432e71", kill_on_drop: false }` [INFO] [stdout] 6d7b2d9db935a0c55a6dd9ffc8a4bf42c9565cea8b99152b0a5056d8a4432e71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5de31312320727b6048318ab5aff2b12e30617b480cfa2a272a1a2dda3247f53 [INFO] running `Command { std: "docker" "start" "-a" "5de31312320727b6048318ab5aff2b12e30617b480cfa2a272a1a2dda3247f53", kill_on_drop: false }` [INFO] [stderr] Compiling shunting-yard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rpn::eval_rpn` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rpn::eval_rpn; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReplResult` is never used [INFO] [stdout] --> src/main.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum ReplResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_eval` is never used [INFO] [stdout] --> src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn read_eval() -> ReplResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/parse_eval.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn eval(input: &str) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_rpn` is never used [INFO] [stdout] --> src/rpn.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn eval_rpn(tokens: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Minus` and `Div` are never constructed [INFO] [stdout] --> src/tokens.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 5 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | Mul, [INFO] [stdout] 7 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_number` is never used [INFO] [stdout] --> src/tokens.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn insert_number(tokens: &mut Vec, number_buf: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize` is never used [INFO] [stdout] --> src/tokens.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn tokenize(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = io::stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | io::stdin().read_line(&mut input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = io::stdin().read_line(&mut input); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcREs4ju/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c961c021679cb080.rlib,libpanic_unwind-cf53e161ed1cff61.rlib,libobject-cb648d8066e1f446.rlib,libmemchr-c5d4f358058ea4b7.rlib,libaddr2line-c3d71356250e6616.rlib,libgimli-f87b04c9c9484f11.rlib,librustc_demangle-bcb6f2ec634b4b7c.rlib,libstd_detect-7c9c37927c8e6d84.rlib,libhashbrown-c2c9b281c2c2a277.rlib,librustc_std_workspace_alloc-436fb8ec294074ae.rlib,libminiz_oxide-8d1606a7c3a02301.rlib,libadler-b9d368accc529045.rlib,libunwind-8fa2d9148abc4bd4.rlib,libcfg_if-04c8eb04b1ca0e2e.rlib,liblibc-ac32c271036f683f.rlib,liballoc-954db56effadca87.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-d643a4794e0b0ebc.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/shunting_yard-e33753a1864e7ab2" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shunting-yard` (bin "shunting-yard") due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5de31312320727b6048318ab5aff2b12e30617b480cfa2a272a1a2dda3247f53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5de31312320727b6048318ab5aff2b12e30617b480cfa2a272a1a2dda3247f53", kill_on_drop: false }` [INFO] [stdout] 5de31312320727b6048318ab5aff2b12e30617b480cfa2a272a1a2dda3247f53