[INFO] cloning repository https://github.com/oxide-byte/cargo-tree-mermaid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oxide-byte/cargo-tree-mermaid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foxide-byte%2Fcargo-tree-mermaid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foxide-byte%2Fcargo-tree-mermaid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e335606581df345026dcff3a40789ee72592baf8 [INFO] testing oxide-byte/cargo-tree-mermaid against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foxide-byte%2Fcargo-tree-mermaid" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oxide-byte/cargo-tree-mermaid on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oxide-byte/cargo-tree-mermaid [INFO] finished tweaking git repo https://github.com/oxide-byte/cargo-tree-mermaid [INFO] tweaked toml for git repo https://github.com/oxide-byte/cargo-tree-mermaid written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/oxide-byte/cargo-tree-mermaid 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17b7805bfbe4f3c5a7eba3912fe264ede6c14b8128593ae0429e833e4cb8a771 [INFO] running `Command { std: "docker" "start" "-a" "17b7805bfbe4f3c5a7eba3912fe264ede6c14b8128593ae0429e833e4cb8a771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17b7805bfbe4f3c5a7eba3912fe264ede6c14b8128593ae0429e833e4cb8a771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17b7805bfbe4f3c5a7eba3912fe264ede6c14b8128593ae0429e833e4cb8a771", kill_on_drop: false }` [INFO] [stdout] 17b7805bfbe4f3c5a7eba3912fe264ede6c14b8128593ae0429e833e4cb8a771 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52c6103f26a8d84e22da2ee207a7d720ed4cb59f795bec2506a3d0757eba5477 [INFO] running `Command { std: "docker" "start" "-a" "52c6103f26a8d84e22da2ee207a7d720ed4cb59f795bec2506a3d0757eba5477", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling cargo-tree-mermaid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/args.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mermaid_graph.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / /** [INFO] [stdout] 130 | | if let Some((last_continues, rest)) = levels_continue.split_last() { [INFO] [stdout] 131 | | for continues in rest { [INFO] [stdout] 132 | | let c = if *continues { symbols.down } else { " " }; [INFO] [stdout] ... | [INFO] [stdout] 143 | | **/ [INFO] [stdout] | |_______^ [INFO] [stdout] ... [INFO] [stdout] 147 | / if !new { [INFO] [stdout] 148 | | return; [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/mermaid_graph.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let name = match kind { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mermaid` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mermaid = generate_mermaid_graph(&args, &graph)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mermaid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `format` is never read [INFO] [stdout] --> src/args.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Args { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub format: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc5LKJxl/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libpetgraph-7aec9afee4ea12b5.rlib,libindexmap-3e1330b84b3857ac.rlib,libequivalent-fdc46004df91ad08.rlib,libhashbrown-5d9404f16ad26a3c.rlib,libfixedbitset-3c4adce085318424.rlib,libcargo_metadata-2ba3dcce490e9023.rlib,libserde_json-dc129b85ba147785.rlib,libmemchr-4f0714dc45d95749.rlib,libitoa-4c6598116a867907.rlib,libryu-f8ba606093049f91.rlib,libthiserror-ea6f4c8afa00d4e9.rlib,libcargo_platform-7ca215859b626472.rlib,libsemver-288853b40efdbe07.rlib,libcamino-6420dd045cb1d0aa.rlib,libserde-41777ac2e1e64665.rlib,libanyhow-87f0d703eba785b6.rlib,libstructopt-d1e3d87745fef60d.rlib,liblazy_static-b3603208c0de2608.rlib,libclap-2efff9c7ddccedee.rlib,libvec_map-ecbce826993378bd.rlib,libtextwrap-735e490c4973b6c6.rlib,libunicode_width-ea37189c48be061a.rlib,libstrsim-1c33ff29e0d45111.rlib,libbitflags-e2b4db6c651223da.rlib,libatty-db9e560f4d0ca651.rlib,liblibc-358f4def4db3a9b6.rlib,libansi_term-4ffce2d8d1f5d132.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-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/cargo_tree_mermaid-93e9cc0ef8f70b75" "-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 `cargo-tree-mermaid` (bin "cargo-tree-mermaid") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "52c6103f26a8d84e22da2ee207a7d720ed4cb59f795bec2506a3d0757eba5477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52c6103f26a8d84e22da2ee207a7d720ed4cb59f795bec2506a3d0757eba5477", kill_on_drop: false }` [INFO] [stdout] 52c6103f26a8d84e22da2ee207a7d720ed4cb59f795bec2506a3d0757eba5477