[INFO] cloning repository https://github.com/skysimple/test1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skysimple/test1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskysimple%2Ftest1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskysimple%2Ftest1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b7cc7e78eac876f4e14be23038e06b14e01164c [INFO] checking skysimple/test1 against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskysimple%2Ftest1" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skysimple/test1 [INFO] finished tweaking git repo https://github.com/skysimple/test1 [INFO] tweaked toml for git repo https://github.com/skysimple/test1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skysimple/test1 on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skysimple/test1 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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3ce287550f83b6d974d076e0c3e3bcf50ff24ae37bb5525d9ad4aaebb418c1e [INFO] running `Command { std: "docker" "start" "-a" "d3ce287550f83b6d974d076e0c3e3bcf50ff24ae37bb5525d9ad4aaebb418c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3ce287550f83b6d974d076e0c3e3bcf50ff24ae37bb5525d9ad4aaebb418c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ce287550f83b6d974d076e0c3e3bcf50ff24ae37bb5525d9ad4aaebb418c1e", kill_on_drop: false }` [INFO] [stdout] d3ce287550f83b6d974d076e0c3e3bcf50ff24ae37bb5525d9ad4aaebb418c1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 523d706f17863931503cdb4dbe4bb1949d4e494b641e8b223caa4b6a9a11eb58 [INFO] running `Command { std: "docker" "start" "-a" "523d706f17863931503cdb4dbe4bb1949d4e494b641e8b223caa4b6a9a11eb58", kill_on_drop: false }` [INFO] [stderr] Checking test1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(option_result_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(option_result_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(x.contains(&2), true); [INFO] [stdout] | ^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/ba412a6e70ac84641be7764d088acabd0eb3fa39/library/core/src/str/mod.rs:1340:5 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `&str` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(x.expect("REASON").contains(&2), true); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(x.contains(&2), true); [INFO] [stdout] | ^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/ba412a6e70ac84641be7764d088acabd0eb3fa39/library/core/src/str/mod.rs:1340:5 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `&str` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(x.expect("REASON").contains(&2), true); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(x.contains(&2), false); [INFO] [stdout] | ^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/ba412a6e70ac84641be7764d088acabd0eb3fa39/library/core/src/str/mod.rs:1340:5 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `&str` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(x.expect("REASON").contains(&2), false); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(x.contains(&2), false); [INFO] [stdout] | ^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/ba412a6e70ac84641be7764d088acabd0eb3fa39/library/core/src/str/mod.rs:1340:5 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `&str` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(x.expect("REASON").contains(&2), false); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(x.contains(&2), false); [INFO] [stdout] | ^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/ba412a6e70ac84641be7764d088acabd0eb3fa39/library/core/src/str/mod.rs:1340:5 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `&str` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(x.expect("REASON").contains(&2), false); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Result` in the current scope [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(x.contains(&2), false); [INFO] [stdout] | ^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/ba412a6e70ac84641be7764d088acabd0eb3fa39/library/core/src/str/mod.rs:1340:5 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `&str` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(x.expect("REASON").contains(&2), false); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test1` (bin "test1") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `test1` (bin "test1" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "523d706f17863931503cdb4dbe4bb1949d4e494b641e8b223caa4b6a9a11eb58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "523d706f17863931503cdb4dbe4bb1949d4e494b641e8b223caa4b6a9a11eb58", kill_on_drop: false }` [INFO] [stdout] 523d706f17863931503cdb4dbe4bb1949d4e494b641e8b223caa4b6a9a11eb58