[INFO] cloning repository https://github.com/omriShneor/rustlings-solutions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/omriShneor/rustlings-solutions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FomriShneor%2Frustlings-solutions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FomriShneor%2Frustlings-solutions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2856146903a4d1bb9d5e2a7cde000dfeb348757 [INFO] testing omriShneor/rustlings-solutions against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FomriShneor%2Frustlings-solutions" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/omriShneor/rustlings-solutions [INFO] finished tweaking git repo https://github.com/omriShneor/rustlings-solutions [INFO] tweaked toml for git repo https://github.com/omriShneor/rustlings-solutions written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/omriShneor/rustlings-solutions on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/omriShneor/rustlings-solutions 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9e51f71c60e4d95493cdf65242f6609991ed496c3672c40f5082905092873d0 [INFO] running `Command { std: "docker" "start" "-a" "b9e51f71c60e4d95493cdf65242f6609991ed496c3672c40f5082905092873d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9e51f71c60e4d95493cdf65242f6609991ed496c3672c40f5082905092873d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9e51f71c60e4d95493cdf65242f6609991ed496c3672c40f5082905092873d0", kill_on_drop: false }` [INFO] [stdout] b9e51f71c60e4d95493cdf65242f6609991ed496c3672c40f5082905092873d0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e7551961a462e726760d78f8c4b081fe70912ac8229bba988f8c085426a51e5 [INFO] running `Command { std: "docker" "start" "-a" "9e7551961a462e726760d78f8c4b081fe70912ac8229bba988f8c085426a51e5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling argh_shared v0.1.5 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling argh_derive v0.1.5 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling argh v0.1.5 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling rustlings v5.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.26s [INFO] running `Command { std: "docker" "inspect" "9e7551961a462e726760d78f8c4b081fe70912ac8229bba988f8c085426a51e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e7551961a462e726760d78f8c4b081fe70912ac8229bba988f8c085426a51e5", kill_on_drop: false }` [INFO] [stdout] 9e7551961a462e726760d78f8c4b081fe70912ac8229bba988f8c085426a51e5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35faad14382c89720ad43b4976ad470412d1b16b9d2a86f695b9672e28400325 [INFO] running `Command { std: "docker" "start" "-a" "35faad14382c89720ad43b4976ad470412d1b16b9d2a86f695b9672e28400325", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling assert_cmd v0.11.1 [INFO] [stderr] Compiling rustlings v5.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcnn9Lbe/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libtoml-7078c5d13a9c5b10.rlib,libserde_json-662ab9e169b6ea50.rlib,libryu-7364a19056563c74.rlib,libitoa-664e30a1b3449410.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libindicatif-146fb5b20ac8cf63.rlib,liblazy_static-2bb390fee0230a38.rlib,libnumber_prefix-8479f39d71e80d3e.rlib,libglob-2e0f0a938c2ab896.rlib,libserde-cde4ef631c4a8c9d.rlib,libnotify-e1dcb943c651e9d8.rlib,libwalkdir-d4051467a448ae9e.rlib,libsame_file-1ceb7b6153588b15.rlib,libinotify-c024ec21093b3c1c.rlib,libinotify_sys-ddcb08027dd61839.rlib,libmio_extras-0c6249c78bdac97e.rlib,liblazycell-0fc01752428421b1.rlib,libmio-ca37dcf19857e4d2.rlib,liblog-e324f1d2fae59712.rlib,libslab-26a3d359eb9be3d3.rlib,libiovec-f37ebf23dad938b4.rlib,libnet2-7ac426c3152dc41f.rlib,libcfg_if-7e9efee4241be1ca.rlib,libfiletime-f15cc9722f1671b8.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libbitflags-e2b4db6c651223da.rlib,libconsole-b785a38e4d0441d2.rlib,libterminal_size-40339292690bdfc7.rlib,liblibc-420543557ce4bd3c.rlib,libregex-2aa0e4194567f4b2.rlib,libaho_corasick-e345fb526f658cc9.rlib,libmemchr-52a166a992efed94.rlib,libregex_syntax-a8b7a392e3a16251.rlib,libunicode_width-8f833626c49fb0ed.rlib,libonce_cell-f2975474530e33fc.rlib,libargh-c31ca3e4da353fba.rlib,libargh_shared-8f23415f34739550.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcnn9Lbe/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rustlings-725a6e7f89742d79" "-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 `rustlings` (bin "rustlings" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "35faad14382c89720ad43b4976ad470412d1b16b9d2a86f695b9672e28400325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35faad14382c89720ad43b4976ad470412d1b16b9d2a86f695b9672e28400325", kill_on_drop: false }` [INFO] [stdout] 35faad14382c89720ad43b4976ad470412d1b16b9d2a86f695b9672e28400325