[INFO] cloning repository https://github.com/TheNubOfLegend/camouflage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheNubOfLegend/camouflage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNubOfLegend%2Fcamouflage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNubOfLegend%2Fcamouflage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb62f5a2a1de4a4aa14928b5cd6f5b9c32679501 [INFO] checking TheNubOfLegend/camouflage against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNubOfLegend%2Fcamouflage" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TheNubOfLegend/camouflage [INFO] finished tweaking git repo https://github.com/TheNubOfLegend/camouflage [INFO] tweaked toml for git repo https://github.com/TheNubOfLegend/camouflage written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TheNubOfLegend/camouflage on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TheNubOfLegend/camouflage 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1460c664bcd577b57ae250d7904b05bd04671ef31003dcf3f6c99f02c0018067 [INFO] running `Command { std: "docker" "start" "-a" "1460c664bcd577b57ae250d7904b05bd04671ef31003dcf3f6c99f02c0018067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1460c664bcd577b57ae250d7904b05bd04671ef31003dcf3f6c99f02c0018067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1460c664bcd577b57ae250d7904b05bd04671ef31003dcf3f6c99f02c0018067", kill_on_drop: false }` [INFO] [stdout] 1460c664bcd577b57ae250d7904b05bd04671ef31003dcf3f6c99f02c0018067 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b62924f6384710d0d76acf43452b52221e9d97bb649cb4ab561ee6727c98181d [INFO] running `Command { std: "docker" "start" "-a" "b62924f6384710d0d76acf43452b52221e9d97bb649cb4ab561ee6727c98181d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_edit v0.22.15 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking camouflage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Deserialize; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `file` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | file.read_to_string(&mut contents).expect("no read"); [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `contents` in this scope [INFO] [stdout] --> src/main.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | file.read_to_string(&mut contents).expect("no read"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `file` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | file.read_to_string(&mut contents).expect("no read"); [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `contents` in this scope [INFO] [stdout] --> src/main.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | file.read_to_string(&mut contents).expect("no read"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | let mut config : Config = toml::from_str(File::open("camo.toml") [INFO] [stdout] | _______________________________--------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 21 | | .expect("no config") [INFO] [stdout] 22 | | .read_to_string(&mut config_contents)); [INFO] [stdout] | |_____________________________________________^ expected `&str`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found enum `Result` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.14/src/de.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_str(s: &'_ str) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | let mut config : Config = toml::from_str(File::open("camo.toml") [INFO] [stdout] | ______________________------___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 21 | | .expect("no config") [INFO] [stdout] 22 | | .read_to_string(&mut config_contents)); [INFO] [stdout] | |______________________________________________^ expected `Config`, found `Result<_, Error>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Config` [INFO] [stdout] found enum `Result<_, toml::de::Error>` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<_, toml::de::Error>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 22 | .read_to_string(&mut config_contents)).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `camouflage` (bin "camouflage" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | let mut config : Config = toml::from_str(File::open("camo.toml") [INFO] [stdout] | _______________________________--------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 21 | | .expect("no config") [INFO] [stdout] 22 | | .read_to_string(&mut config_contents)); [INFO] [stdout] | |_____________________________________________^ expected `&str`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found enum `Result` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.14/src/de.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_str(s: &'_ str) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | let mut config : Config = toml::from_str(File::open("camo.toml") [INFO] [stdout] | ______________________------___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 21 | | .expect("no config") [INFO] [stdout] 22 | | .read_to_string(&mut config_contents)); [INFO] [stdout] | |______________________________________________^ expected `Config`, found `Result<_, Error>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Config` [INFO] [stdout] found enum `Result<_, toml::de::Error>` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<_, toml::de::Error>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 22 | .read_to_string(&mut config_contents)).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `camouflage` (bin "camouflage") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "b62924f6384710d0d76acf43452b52221e9d97bb649cb4ab561ee6727c98181d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b62924f6384710d0d76acf43452b52221e9d97bb649cb4ab561ee6727c98181d", kill_on_drop: false }` [INFO] [stdout] b62924f6384710d0d76acf43452b52221e9d97bb649cb4ab561ee6727c98181d