[INFO] cloning repository https://github.com/knaka/rsshim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/knaka/rsshim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknaka%2Frsshim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknaka%2Frsshim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a1d29627b2ca48bf965337649ffa0aaaf01d2c7f
[INFO] checking knaka/rsshim against try#b152f5575a2ac7126ae0019e4e679abe9399213e for pr-157841
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknaka%2Frsshim" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/knaka/rsshim
[INFO] finished tweaking git repo https://github.com/knaka/rsshim
[INFO] tweaked toml for git repo https://github.com/knaka/rsshim written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/knaka/rsshim on toolchain b152f5575a2ac7126ae0019e4e679abe9399213e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/knaka/rsshim 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" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded xshell-macros v0.2.2
[INFO] [stderr]   Downloaded serde v1.0.143
[INFO] [stderr]   Downloaded xshell v0.2.2
[INFO] [stderr]   Downloaded serde_derive v1.0.143
[INFO] [stderr]   Downloaded rdrand v0.4.0
[INFO] [stderr]   Downloaded dirs-sys v0.3.7
[INFO] [stderr]   Downloaded fuchsia-cprng v0.1.1
[INFO] [stderr]   Downloaded dirs v4.0.0
[INFO] [stderr]   Downloaded tempdir v0.3.7
[INFO] [stderr]   Downloaded thiserror-impl v1.0.32
[INFO] [stderr]   Downloaded sha256 v1.0.3
[INFO] [stderr]   Downloaded redox_users v0.4.3
[INFO] [stderr]   Downloaded home v0.5.3
[INFO] [stderr]   Downloaded rand_core v0.3.1
[INFO] [stderr]   Downloaded cpufeatures v0.2.2
[INFO] [stderr]   Downloaded fs_extra v1.2.0
[INFO] [stderr]   Downloaded thiserror v1.0.32
[INFO] [stderr]   Downloaded os_str_bytes v6.2.0
[INFO] [stderr]   Downloaded glob v0.3.0
[INFO] [stderr]   Downloaded clap_derive v3.2.17
[INFO] [stderr]   Downloaded quote v1.0.21
[INFO] [stderr]   Downloaded shellexpand v2.1.2
[INFO] [stderr]   Downloaded filetime v0.2.17
[INFO] [stderr]   Downloaded rand_core v0.4.2
[INFO] [stderr]   Downloaded unicode-ident v1.0.3
[INFO] [stderr]   Downloaded proc-macro2 v1.0.43
[INFO] [stderr]   Downloaded once_cell v1.13.0
[INFO] [stderr]   Downloaded textwrap v0.15.0
[INFO] [stderr]   Downloaded rand v0.4.6
[INFO] [stderr]   Downloaded syn v1.0.99
[INFO] [stderr]   Downloaded clap v3.2.17
[INFO] [stderr]   Downloaded libc v0.2.131
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f762e52403e34e452882a8c38c8b6168c34ea4c0c9eee2e4de8c5ebfd593e0e7
[INFO] running `Command { std: "docker" "start" "f762e52403e34e452882a8c38c8b6168c34ea4c0c9eee2e4de8c5ebfd593e0e7", kill_on_drop: false }`
[INFO] running `Command { std: "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" "f762e52403e34e452882a8c38c8b6168c34ea4c0c9eee2e4de8c5ebfd593e0e7" "/opt/rustwide/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f762e52403e34e452882a8c38c8b6168c34ea4c0c9eee2e4de8c5ebfd593e0e7", kill_on_drop: false }`
[INFO] running `Command { std: "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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f762e52403e34e452882a8c38c8b6168c34ea4c0c9eee2e4de8c5ebfd593e0e7" "/opt/rustwide/cargo-home/bin/cargo" "+b152f5575a2ac7126ae0019e4e679abe9399213e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling libc v0.2.131
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling serde_derive v1.0.143
[INFO] [stderr]    Compiling serde v1.0.143
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking os_str_bytes v6.2.0
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]    Compiling xshell-macros v0.2.2
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking fs_extra v1.2.0
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking home v0.5.3
[INFO] [stderr]     Checking xshell v0.2.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking filetime v0.2.17
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking dirs v4.0.0
[INFO] [stderr]     Checking shellexpand v2.1.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking sha256 v1.0.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v3.2.17
[INFO] [stderr]     Checking clap v3.2.17
[INFO] [stderr]     Checking toml v0.5.9
[INFO] [stderr]     Checking rsshim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `toml_edit`
[INFO] [stdout]  --> src/utils/tests.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use toml_edit::{Document, value};
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `toml_edit`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `toml_edit`, use `cargo add toml_edit` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `exec` that must be used
[INFO] [stdout]   --> src/rsshim_exec.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         cmd.exec();
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let _ = cmd.exec();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `CargoToml` in this scope
[INFO] [stdout]  --> src/rsshim_env/tests.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let cargo_toml: CargoToml = toml::from_str(&toml_content).unwrap();
[INFO] [stdout]   |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 + use crate::cargo_toml::CargoToml;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TestEnv`
[INFO] [stdout]  --> src/rsshim_env/tests.rs:2:37
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::tests::{module_root_dir, TestEnv};
[INFO] [stdout]   |                                     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_prj_dir` in this scope
[INFO] [stdout]    --> src/utils/tests.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |     assert_eq!(get_prj_dir().expect("None").ends_with("src/rs"), true);
[INFO] [stdout]     |                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rsshim` (bin "rsshim" test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f762e52403e34e452882a8c38c8b6168c34ea4c0c9eee2e4de8c5ebfd593e0e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f762e52403e34e452882a8c38c8b6168c34ea4c0c9eee2e4de8c5ebfd593e0e7", kill_on_drop: false }`
[INFO] [stdout] f762e52403e34e452882a8c38c8b6168c34ea4c0c9eee2e4de8c5ebfd593e0e7
