[INFO] fetching crate wrapgen 0.2.0... [INFO] testing wrapgen-0.2.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate wrapgen 0.2.0 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate wrapgen 0.2.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wrapgen 0.2.0 [INFO] finished tweaking crates.io crate wrapgen 0.2.0 [INFO] tweaked toml for crates.io crate wrapgen 0.2.0 written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate crates.io crate wrapgen 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 188bb3ac5736614b3a2ee952311369886a3af8f5289ddb2121c63fe53f9e43f4 [INFO] running `Command { std: "docker" "start" "-a" "188bb3ac5736614b3a2ee952311369886a3af8f5289ddb2121c63fe53f9e43f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "188bb3ac5736614b3a2ee952311369886a3af8f5289ddb2121c63fe53f9e43f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "188bb3ac5736614b3a2ee952311369886a3af8f5289ddb2121c63fe53f9e43f4", kill_on_drop: false }` [INFO] [stdout] 188bb3ac5736614b3a2ee952311369886a3af8f5289ddb2121c63fe53f9e43f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a92e3c2a6ece3b3e7b8413e334d607389c271d1e6c113d1ed6aeaef9919dc99 [INFO] running `Command { std: "docker" "start" "-a" "8a92e3c2a6ece3b3e7b8413e334d607389c271d1e6c113d1ed6aeaef9919dc99", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling wrapgen v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.15s [INFO] running `Command { std: "docker" "inspect" "8a92e3c2a6ece3b3e7b8413e334d607389c271d1e6c113d1ed6aeaef9919dc99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a92e3c2a6ece3b3e7b8413e334d607389c271d1e6c113d1ed6aeaef9919dc99", kill_on_drop: false }` [INFO] [stdout] 8a92e3c2a6ece3b3e7b8413e334d607389c271d1e6c113d1ed6aeaef9919dc99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf6c7ca33a234999dbc0ba9f3752c73787c6a3ce103f293367b45c54d4d59b96 [INFO] running `Command { std: "docker" "start" "-a" "cf6c7ca33a234999dbc0ba9f3752c73787c6a3ce103f293367b45c54d4d59b96", kill_on_drop: false }` [INFO] [stderr] Compiling wrapgen v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: free function without a body [INFO] [stdout] --> examples/to_wrap.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | fn page_symlink(inode: *mut inode, symname: *const cty::c_char, len: cty::c_int) -> cty::c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> examples/to_wrap.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn c_dget(dentry: *mut dentry) -> *mut dentry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> examples/to_wrap.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn test_fn(); [INFO] [stdout] | ^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cty` [INFO] [stdout] --> examples/to_wrap.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | fn page_symlink(inode: *mut inode, symname: *const cty::c_char, len: cty::c_int) -> cty::c_int; [INFO] [stdout] | ^^^ use of undeclared crate or module `cty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cty` [INFO] [stdout] --> examples/to_wrap.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | fn page_symlink(inode: *mut inode, symname: *const cty::c_char, len: cty::c_int) -> cty::c_int; [INFO] [stdout] | ^^^ use of undeclared crate or module `cty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cty` [INFO] [stdout] --> examples/to_wrap.rs:1:85 [INFO] [stdout] | [INFO] [stdout] 1 | fn page_symlink(inode: *mut inode, symname: *const cty::c_char, len: cty::c_int) -> cty::c_int; [INFO] [stdout] | ^^^ use of undeclared crate or module `cty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `inode` in this scope [INFO] [stdout] --> examples/to_wrap.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | fn page_symlink(inode: *mut inode, symname: *const cty::c_char, len: cty::c_int) -> cty::c_int; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `dentry` in this scope [INFO] [stdout] --> examples/to_wrap.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | fn c_dget(dentry: *mut dentry) -> *mut dentry; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `dentry` in this scope [INFO] [stdout] --> examples/to_wrap.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | fn c_dget(dentry: *mut dentry) -> *mut dentry; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `to_wrap` [INFO] [stdout] --> examples/to_wrap.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / fn page_symlink(inode: *mut inode, symname: *const cty::c_char, len: cty::c_int) -> cty::c_int; [INFO] [stdout] 2 | | fn c_dget(dentry: *mut dentry) -> *mut dentry; [INFO] [stdout] 3 | | fn test_fn(); [INFO] [stdout] | |_____________^ consider adding a `main` function to `examples/to_wrap.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wrapgen` due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cf6c7ca33a234999dbc0ba9f3752c73787c6a3ce103f293367b45c54d4d59b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf6c7ca33a234999dbc0ba9f3752c73787c6a3ce103f293367b45c54d4d59b96", kill_on_drop: false }` [INFO] [stdout] cf6c7ca33a234999dbc0ba9f3752c73787c6a3ce103f293367b45c54d4d59b96