[INFO] fetching crate cargo-subgraph 0.1.0...
[INFO] testing cargo-subgraph-0.1.0 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate cargo-subgraph 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate cargo-subgraph 0.1.0
[INFO] finished tweaking crates.io crate cargo-subgraph 0.1.0
[INFO] tweaked toml for crates.io crate cargo-subgraph 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate cargo-subgraph 0.1.0 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate cargo-subgraph 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95
[INFO] running `"docker" "start" "78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95"`
[INFO] running `"docker" "inspect" "78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling cc v1.0.77
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling serde_derive v1.0.147
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling serde v1.0.147
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.89
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling curl v0.4.44
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling openssl-sys v0.9.78
[INFO] [stderr]    Compiling libz-sys v1.1.8
[INFO] [stderr]    Compiling curl-sys v0.4.59+curl-7.86.0
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling wasmparser v0.77.0
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling itoa v1.0.4
[INFO] [stderr]    Compiling id-arena v2.2.1
[INFO] [stderr]    Compiling walrus-macro v0.19.0
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling walrus v0.19.0
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling cargo-subgraph v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/api/graph.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct Subgraph {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 47 |     /// The ID for the newly created subgraph.
[INFO] [stdout] 48 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `playground`, `queries`, and `subscriptions` are never read
[INFO] [stdout]   --> src/api/graph.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct Routes {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 66 |     /// The URL of GraphQL playground.
[INFO] [stdout] 67 |     pub playground: Url,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 68 |     /// The URL for the GraphQL query API.
[INFO] [stdout] 69 |     pub queries: Url,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 70 |     /// The URL for the GraphQL subscription API.
[INFO] [stdout] 71 |     pub subscriptions: Url,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/api/ipfs.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 178 | pub struct Add {
[INFO] [stdout]     |            --- field in this struct
[INFO] [stdout] 179 |     #[serde(rename = "Name")]
[INFO] [stdout] 180 |     pub name: PathBuf,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `code` is never read
[INFO] [stdout]    --> src/api/jsonrpc.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct Error {
[INFO] [stdout]     |        ----- field in this struct
[INFO] [stdout] 134 |     code: i64,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 23s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasmparser v0.77.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `"docker" "inspect" "78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling fastrand v1.8.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling cargo-subgraph v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/api/ipfs.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 178 | pub struct Add {
[INFO] [stdout]     |            --- field in this struct
[INFO] [stdout] 179 |     #[serde(rename = "Name")]
[INFO] [stdout] 180 |     pub name: PathBuf,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 8.63s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasmparser v0.77.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `"docker" "inspect" "78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: field `name` is never read
[INFO] [stderr]    --> src/api/ipfs.rs:180:9
[INFO] [stderr]     |
[INFO] [stderr] 178 | pub struct Add {
[INFO] [stderr]     |            --- field in this struct
[INFO] [stderr] 179 |     #[serde(rename = "Name")]
[INFO] [stderr] 180 |     pub name: PathBuf,
[INFO] [stderr]     |         ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `cargo-subgraph` (bin "cargo-subgraph" test) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.07s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasmparser v0.77.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/cargo-subgraph/61eea5b64b1bb6d2/out/cargo_subgraph-61eea5b64b1bb6d2)
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test api::cargo::tests::sample_builds ... ignored
[INFO] [stdout] test api::graph::tests::create_subgraph ... ignored
[INFO] [stdout] test api::graph::tests::deploy_subgraph ... ignored
[INFO] [stdout] test api::ipfs::tests::add_and_pin ... ignored
[INFO] [stdout] test api::ipfs::tests::cid_as_base58 ... ok
[INFO] [stdout] test api::ipfs::tests::cid_from_base58 ... ok
[INFO] [stdout] test api::graph::tests::deserialize_deploy ... ok
[INFO] [stdout] test api::jsonrpc::tests::eth_rpc ... ignored
[INFO] [stdout] test api::jsonrpc::tests::serialize_request ... ok
[INFO] [stdout] test linker::tests::copy_and_upload ... ignored
[INFO] [stdout] test api::graph::tests::serialize_deploy ... ok
[INFO] [stdout] test api::cargo::tests::sample_paths ... FAILED
[INFO] [stdout] test manifest::tests::link_manifest ... ignored
[INFO] [stdout] test api::jsonrpc::tests::deserialize_response ... ok
[INFO] [stdout] test api::graph::tests::serialize_create ... ok
[INFO] [stdout] test api::jsonrpc::tests::deserialize_response_error ... ok
[INFO] [stdout] test api::graph::tests::deserialize_create ... ok
[INFO] [stdout] test api::ipfs::tests::cid_serialization ... ok
[INFO] [stdout] test manifest::tests::deserialize_manifest ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- api::cargo::tests::sample_paths stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'api::cargo::tests::sample_paths' (1234) panicked at src/api/cargo.rs:156:42:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x618a220c7091 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x618a220deeea - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x618a220ccc4c - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x618a220a08c6 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x618a220bd409 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x618a21fbb140 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x618a220bd732 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x618a220a0972 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x618a22098b09 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x618a220a157d - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x618a220dfc2c - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x618a220e4712 - core[5c14b8d5a259cc4e]::result::unwrap_failed::unwrap_failed_inner
[INFO] [stdout]   12:     0x618a21f9b87f - core[5c14b8d5a259cc4e]::result::unwrap_failed::<core[5c14b8d5a259cc4e]::io::error::Error>
[INFO] [stdout]   13:     0x618a21fa5348 - <cargo_subgraph[6973545d6898aaca]::api::cargo::tests::sample_paths::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   14:     0x618a21fadfab - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   15:     0x618a21fbb765 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   16:     0x618a21fb4bb4 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   17:     0x618a21fbe6f2 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   18:     0x618a220c5f8f - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   19:     0x7cfcf9d44dfa - <unknown>
[INFO] [stdout]   20:     0x7cfcf9dd83d4 - clone
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     api::cargo::tests::sample_paths
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 11 passed; 1 failed; 7 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin cargo-subgraph`
[INFO] running `"docker" "inspect" "78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95"`
[INFO] running `"docker" "rm" "-f" "78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95"`
[INFO] [stdout] 78c8c924f00173ea7d19c71572a1b955b4e0a6f32a0e34363839aef777055f95
