[INFO] cloning repository https://github.com/segfo/plugin_poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/segfo/plugin_poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Fplugin_poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Fplugin_poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60172e5774f12e290a1baa08f705a55dc1a0f288 [INFO] checking segfo/plugin_poc/60172e5774f12e290a1baa08f705a55dc1a0f288 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124305 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Fplugin_poc" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/segfo/plugin_poc on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/segfo/plugin_poc [INFO] finished tweaking git repo https://github.com/segfo/plugin_poc [INFO] tweaked toml for git repo https://github.com/segfo/plugin_poc written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/segfo/plugin_poc 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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.50 [INFO] [stderr] Downloaded yaml-rust v0.4.2 [INFO] [stderr] Downloaded serde v1.0.84 [INFO] [stderr] Downloaded adler32 v1.0.3 [INFO] [stderr] Downloaded serde_yaml v0.8.8 [INFO] [stderr] Downloaded log4rs v0.8.1 [INFO] [stderr] Downloaded libloading v0.5.0 [INFO] [stderr] Downloaded num-integer v0.1.39 [INFO] [stderr] Downloaded crossbeam v0.3.2 [INFO] [stderr] Downloaded crc32fast v1.1.2 [INFO] [stderr] Downloaded chrono v0.4.6 [INFO] [stderr] Downloaded libc v0.2.46 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.2.0 [INFO] [stderr] Downloaded syn v0.15.24 [INFO] [stderr] Downloaded winapi v0.3.6 [INFO] [stderr] Downloaded miniz-sys v0.1.11 [INFO] [stderr] Downloaded cc v1.0.28 [INFO] [stderr] Downloaded miniz_oxide v0.2.0 [INFO] [stderr] Downloaded flate2 v1.0.6 [INFO] [stderr] Downloaded serde_derive v1.0.84 [INFO] [stderr] Downloaded ryu v0.2.7 [INFO] [stderr] Downloaded serde_json v1.0.34 [INFO] [stderr] Downloaded time v0.1.42 [INFO] [stderr] Downloaded crc v1.8.1 [INFO] [stderr] Downloaded num-traits v0.2.6 [INFO] [stderr] Downloaded ordered-float v1.0.1 [INFO] [stderr] Downloaded proc-macro2 v0.4.24 [INFO] [stderr] Downloaded toml v0.4.10 [INFO] [stderr] Downloaded antidote v1.0.0 [INFO] [stderr] Downloaded build_const v0.2.1 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded cfg-if v0.1.6 [INFO] [stderr] Downloaded serde-value v0.5.3 [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded itoa v0.4.3 [INFO] [stderr] Downloaded dtoa v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f83125671360a9fa1fc448f7883c4a448f0539a4c56b8487dbea790995734d23 [INFO] running `Command { std: "docker" "start" "-a" "f83125671360a9fa1fc448f7883c4a448f0539a4c56b8487dbea790995734d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f83125671360a9fa1fc448f7883c4a448f0539a4c56b8487dbea790995734d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f83125671360a9fa1fc448f7883c4a448f0539a4c56b8487dbea790995734d23", kill_on_drop: false }` [INFO] [stdout] f83125671360a9fa1fc448f7883c4a448f0539a4c56b8487dbea790995734d23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df9d98cfc4b1f09c5466497459a240b03af15c056cca16c400e240944b9c7884 [INFO] running `Command { std: "docker" "start" "-a" "df9d98cfc4b1f09c5466497459a240b03af15c056cca16c400e240944b9c7884", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.24 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking flate2 v1.0.6 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking serde_json v1.0.34 [INFO] [stderr] Checking serde_yaml v0.8.8 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking log4rs v0.8.1 [INFO] [stderr] Checking tax_calc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/common.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/common.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/common.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path,PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/common.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path,PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi` [INFO] [stdout] --> src/common.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi` [INFO] [stdout] --> src/common.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/common.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log4rs` [INFO] [stdout] --> src/common.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log4rs; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/common.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path,PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log4rs` [INFO] [stdout] --> src/common.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log4rs; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path,PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/common.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | OsString::from_wide(slice).to_string_lossy().into_owned() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/ffi/os_str.rs:143:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 | OsString::from_iter(slice).to_string_lossy().into_owned() [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/common.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | OsString::from_wide(slice).to_string_lossy().into_owned() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/ffi/os_str.rs:143:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 | OsString::from_iter(slice).to_string_lossy().into_owned() [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/common.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | fn unix_init()->InitData{ [INFO] [stdout] | --------- ^^^^^^^^ expected `InitData`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/common.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | fn unix_init()->InitData{ [INFO] [stdout] | --------- ^^^^^^^^ expected `InitData`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn callback(path:DirEntry){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn callback(path:DirEntry){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tax_calc` (bin "tax_calc" test) due to 4 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tax_calc` (bin "tax_calc") due to 4 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "df9d98cfc4b1f09c5466497459a240b03af15c056cca16c400e240944b9c7884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df9d98cfc4b1f09c5466497459a240b03af15c056cca16c400e240944b9c7884", kill_on_drop: false }` [INFO] [stdout] df9d98cfc4b1f09c5466497459a240b03af15c056cca16c400e240944b9c7884