[INFO] fetching crate librender 0.1.0...
[INFO] checking librender-0.1.0 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate librender 0.1.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate librender 0.1.0 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate librender 0.1.0
[INFO] finished tweaking crates.io crate librender 0.1.0
[INFO] tweaked toml for crates.io crate librender 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 74c1c873a410acfb20bc9d9de8099c9369a3cb3f4f5f30a72e7508901f220cc5
[INFO] running `Command { std: "docker" "start" "-a" "74c1c873a410acfb20bc9d9de8099c9369a3cb3f4f5f30a72e7508901f220cc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74c1c873a410acfb20bc9d9de8099c9369a3cb3f4f5f30a72e7508901f220cc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74c1c873a410acfb20bc9d9de8099c9369a3cb3f4f5f30a72e7508901f220cc5", kill_on_drop: false }`
[INFO] [stdout] 74c1c873a410acfb20bc9d9de8099c9369a3cb3f4f5f30a72e7508901f220cc5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0a15c480db192a29f5ab9d9d2df93c04fe7172d18c381dfb967ab00e44bd234
[INFO] running `Command { std: "docker" "start" "-a" "c0a15c480db192a29f5ab9d9d2df93c04fe7172d18c381dfb967ab00e44bd234", kill_on_drop: false }`
[INFO] [stderr]     Checking librender v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:46:39
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn fclose(__stream: *mut FILE) -> libc::c_int;
[INFO] [stdout]    |                                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:47:24
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn fopen(_: *const libc::c_char, _: *const libc::c_char) -> *mut FILE;
[INFO] [stdout]    |                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:47:48
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn fopen(_: *const libc::c_char, _: *const libc::c_char) -> *mut FILE;
[INFO] [stdout]    |                                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:48:40
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn fprintf(_: *mut FILE, _: *const libc::c_char, _: ...) -> libc::c_int;
[INFO] [stdout]    |                                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:48:65
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn fprintf(_: *mut FILE, _: *const libc::c_char, _: ...) -> libc::c_int;
[INFO] [stdout]    |                                                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 50 |         _: *const libc::c_void,
[INFO] [stdout]    |                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |         _: libc::c_ulong,
[INFO] [stdout]    |            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |         _: libc::c_ulong,
[INFO] [stdout]    |            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 |     ) -> libc::c_ulong;
[INFO] [stdout]    |          ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn malloc(_: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:55:41
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn malloc(_: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:56:24
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn realloc(_: *mut libc::c_void, _: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:56:41
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn realloc(_: *mut libc::c_void, _: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:56:64
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn realloc(_: *mut libc::c_void, _: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |                                                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn free(_: *mut libc::c_void);
[INFO] [stdout]    |                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn exit(_: libc::c_int) -> !;
[INFO] [stdout]    |                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub type size_t = libc::c_ulong;
[INFO] [stdout]    |                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub type __uint8_t = libc::c_uchar;
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub type __off_t = libc::c_long;
[INFO] [stdout]    |                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:64:22
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub type __off64_t = libc::c_long;
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub _flags: libc::c_int,
[INFO] [stdout]    |                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:71:28
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub _IO_read_ptr: *mut libc::c_char,
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:72:28
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub _IO_read_end: *mut libc::c_char,
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:73:29
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub _IO_read_base: *mut libc::c_char,
[INFO] [stdout]    |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:74:30
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub _IO_write_base: *mut libc::c_char,
[INFO] [stdout]    |                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub _IO_write_ptr: *mut libc::c_char,
[INFO] [stdout]    |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub _IO_write_end: *mut libc::c_char,
[INFO] [stdout]    |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:77:28
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub _IO_buf_base: *mut libc::c_char,
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:78:27
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub _IO_buf_end: *mut libc::c_char,
[INFO] [stdout]    |                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:79:29
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub _IO_save_base: *mut libc::c_char,
[INFO] [stdout]    |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:80:31
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub _IO_backup_base: *mut libc::c_char,
[INFO] [stdout]    |                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub _IO_save_end: *mut libc::c_char,
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:84:18
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub _fileno: libc::c_int,
[INFO] [stdout]    |                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:85:18
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub _flags2: libc::c_int,
[INFO] [stdout]    |                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:87:22
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub _cur_column: libc::c_ushort,
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:88:25
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub _vtable_offset: libc::c_schar,
[INFO] [stdout]    |                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub _shortbuf: [libc::c_char; 1],
[INFO] [stdout]    |                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:90:21
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub _lock: *mut libc::c_void,
[INFO] [stdout]    |                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:95:28
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub _freeres_buf: *mut libc::c_void,
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub _mode: libc::c_int,
[INFO] [stdout]    |                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub _unused2: [libc::c_char; 20],
[INFO] [stdout]    |                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:104:34
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub const OPCODE_APPEND_SIBLING: libc::c_uint = 11;
[INFO] [stdout]     |                                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:105:34
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub const OPCODE_EVENT_LISTENER: libc::c_uint = 10;
[INFO] [stdout]     |                                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:106:25
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub const OPCODE_STYLE: libc::c_uint = 9;
[INFO] [stdout]     |                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:107:36
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub const OPCODE_REMOVE_ATTRIBUTE: libc::c_uint = 8;
[INFO] [stdout]     |                                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:108:28
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub const OPCODE_SET_TEXT: libc::c_uint = 7;
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub const OPCODE_TEXT_NODE: libc::c_uint = 6;
[INFO] [stdout]     |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:110:33
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub const OPCODE_REPLACE_CHILD: libc::c_uint = 5;
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:111:32
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub const OPCODE_REMOVE_CHILD: libc::c_uint = 4;
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub const OPCODE_APPEND_CHILD: libc::c_uint = 3;
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:113:33
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub const OPCODE_SET_ATTRIBUTE: libc::c_uint = 2;
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:114:34
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub const OPCODE_CREATE_ELEMENT: libc::c_uint = 1;
[INFO] [stdout]     |                                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:115:23
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub const OPCODE_NOP: libc::c_uint = 0;
[INFO] [stdout]     |                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:123:20
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub is_locked: libc::c_int,
[INFO] [stdout]     |                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:130:33
[INFO] [stdout]     |
[INFO] [stdout] 130 |     if initial_capacity == 0 as libc::c_int as libc::c_ulong {
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:130:48
[INFO] [stdout]     |
[INFO] [stdout] 130 |     if initial_capacity == 0 as libc::c_int as libc::c_ulong {
[INFO] [stdout]     |                                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:131:36
[INFO] [stdout]     |
[INFO] [stdout] 131 |         initial_capacity = 1024 as libc::c_int as size_t;
[INFO] [stdout]     |                                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:135:71
[INFO] [stdout]     |
[INFO] [stdout] 135 |         malloc(::core::mem::size_of::<librender_bytecode_buffer>() as libc::c_ulong)
[INFO] [stdout]     |                                                                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:142:27
[INFO] [stdout]     |
[INFO] [stdout] 142 |                 as *const libc::c_char,
[INFO] [stdout]     |                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:144:19
[INFO] [stdout]     |
[INFO] [stdout] 144 |         exit(1 as libc::c_int);
[INFO] [stdout]     |                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:148:83
[INFO] [stdout]     |
[INFO] [stdout] 148 |         malloc(initial_capacity.wrapping_mul(::core::mem::size_of::<uint8_t>() as libc::c_ulong))
[INFO] [stdout]     |                                                                                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:154:85
[INFO] [stdout]     |
[INFO] [stdout] 154 |             b"Failed to allocate memory for buffer data\n\0" as *const u8 as *const libc::c_char,
[INFO] [stdout]     |                                                                                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:156:26
[INFO] [stdout]     |
[INFO] [stdout] 156 |         free(buf as *mut libc::c_void);
[INFO] [stdout]     |                          ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:157:19
[INFO] [stdout]     |
[INFO] [stdout] 157 |         exit(1 as libc::c_int);
[INFO] [stdout]     |                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 |     (*buf).size = 0 as libc::c_int as size_t;
[INFO] [stdout]     |                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:162:29
[INFO] [stdout]     |
[INFO] [stdout] 162 |     (*buf).is_locked = 0 as libc::c_int;
[INFO] [stdout]     |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:174:36
[INFO] [stdout]     |
[INFO] [stdout] 174 |         free((*buf).buffer as *mut libc::c_void);
[INFO] [stdout]     |                                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |     free(buf as *mut libc::c_void);
[INFO] [stdout]     |                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:186:29
[INFO] [stdout]     |
[INFO] [stdout] 186 |     (*buf).is_locked = 1 as libc::c_int;
[INFO] [stdout]     |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:195:29
[INFO] [stdout]     |
[INFO] [stdout] 195 |     (*buf).is_locked = 0 as libc::c_int;
[INFO] [stdout]     |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:201:6
[INFO] [stdout]     |
[INFO] [stdout] 201 | ) -> libc::c_int {
[INFO] [stdout]     |      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:203:21
[INFO] [stdout]     |
[INFO] [stdout] 203 |         return 0 as libc::c_int;
[INFO] [stdout]     |                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:219:47
[INFO] [stdout]     |
[INFO] [stdout] 219 |         (*buf).capacity = ((*buf).capacity as libc::c_ulong)
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:220:32
[INFO] [stdout]     |
[INFO] [stdout] 220 |             .wrapping_mul(2 as libc::c_int as libc::c_ulong) as size_t
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:220:47
[INFO] [stdout]     |
[INFO] [stdout] 220 |             .wrapping_mul(2 as libc::c_int as libc::c_ulong) as size_t
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:224:35
[INFO] [stdout]     |
[INFO] [stdout] 224 |             (*buf).buffer as *mut libc::c_void,
[INFO] [stdout]     |                                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:225:81
[INFO] [stdout]     |
[INFO] [stdout] 225 |             ((*buf).capacity).wrapping_mul(::core::mem::size_of::<uint8_t>() as libc::c_ulong),
[INFO] [stdout]     |                                                                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:231:86
[INFO] [stdout]     |
[INFO] [stdout] 231 |                 b"Failed to reallocate memory for buffer\n\0" as *const u8 as *const libc::c_char,
[INFO] [stdout]     |                                                                                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:233:23
[INFO] [stdout]     |
[INFO] [stdout] 233 |             exit(1 as libc::c_int);
[INFO] [stdout]     |                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:252:30
[INFO] [stdout]     |
[INFO] [stdout] 252 |     let mut i: size_t = 0 as libc::c_int as size_t;
[INFO] [stdout]     |                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:264:26
[INFO] [stdout]     |
[INFO] [stdout] 264 |     mut tag_name: *const libc::c_char,
[INFO] [stdout]     |                          ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:270:26
[INFO] [stdout]     |
[INFO] [stdout] 270 |         || tag_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                          ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:270:46
[INFO] [stdout]     |
[INFO] [stdout] 270 |         || tag_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:275:57
[INFO] [stdout]     |
[INFO] [stdout] 275 |     librender_append_byte(buf, OPCODE_CREATE_ELEMENT as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:283:27
[INFO] [stdout]     |
[INFO] [stdout] 283 |     mut attr_name: *const libc::c_char,
[INFO] [stdout]     |                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:285:28
[INFO] [stdout]     |
[INFO] [stdout] 285 |     mut attr_value: *const libc::c_char,
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:292:32
[INFO] [stdout]     |
[INFO] [stdout] 292 |         || attr_name_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:292:52
[INFO] [stdout]     |
[INFO] [stdout] 292 |         || attr_name_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:293:33
[INFO] [stdout]     |
[INFO] [stdout] 293 |         || attr_value_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:293:53
[INFO] [stdout]     |
[INFO] [stdout] 293 |         || attr_value_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:298:56
[INFO] [stdout]     |
[INFO] [stdout] 298 |     librender_append_byte(buf, OPCODE_SET_ATTRIBUTE as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:315:55
[INFO] [stdout]     |
[INFO] [stdout] 315 |     librender_append_byte(buf, OPCODE_APPEND_CHILD as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:324:57
[INFO] [stdout]     |
[INFO] [stdout] 324 |     librender_append_byte(buf, OPCODE_APPEND_SIBLING as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:333:55
[INFO] [stdout]     |
[INFO] [stdout] 333 |     librender_append_byte(buf, OPCODE_REMOVE_CHILD as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:342:56
[INFO] [stdout]     |
[INFO] [stdout] 342 |     librender_append_byte(buf, OPCODE_REPLACE_CHILD as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:348:22
[INFO] [stdout]     |
[INFO] [stdout] 348 |     mut text: *const libc::c_char,
[INFO] [stdout]     |                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:354:27
[INFO] [stdout]     |
[INFO] [stdout] 354 |         || text_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:354:47
[INFO] [stdout]     |
[INFO] [stdout] 354 |         || text_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:359:52
[INFO] [stdout]     |
[INFO] [stdout] 359 |     librender_append_byte(buf, OPCODE_TEXT_NODE as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:367:22
[INFO] [stdout]     |
[INFO] [stdout] 367 |     mut text: *const libc::c_char,
[INFO] [stdout]     |                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:373:27
[INFO] [stdout]     |
[INFO] [stdout] 373 |         || text_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:46:39
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn fclose(__stream: *mut FILE) -> libc::c_int;
[INFO] [stdout]    |                                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:373:47
[INFO] [stdout]     |
[INFO] [stdout] 373 |         || text_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:378:51
[INFO] [stdout]     |
[INFO] [stdout] 378 |     librender_append_byte(buf, OPCODE_SET_TEXT as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:386:27
[INFO] [stdout]     |
[INFO] [stdout] 386 |     mut attr_name: *const libc::c_char,
[INFO] [stdout]     |                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:392:32
[INFO] [stdout]     |
[INFO] [stdout] 392 |         || attr_name_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:47:24
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn fopen(_: *const libc::c_char, _: *const libc::c_char) -> *mut FILE;
[INFO] [stdout]    |                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:392:52
[INFO] [stdout]     |
[INFO] [stdout] 392 |         || attr_name_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:397:59
[INFO] [stdout]     |
[INFO] [stdout] 397 |     librender_append_byte(buf, OPCODE_REMOVE_ATTRIBUTE as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:405:28
[INFO] [stdout]     |
[INFO] [stdout] 405 |     mut style_name: *const libc::c_char,
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:407:29
[INFO] [stdout]     |
[INFO] [stdout] 407 |     mut style_value: *const libc::c_char,
[INFO] [stdout]     |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:414:33
[INFO] [stdout]     |
[INFO] [stdout] 414 |         || style_name_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:47:48
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn fopen(_: *const libc::c_char, _: *const libc::c_char) -> *mut FILE;
[INFO] [stdout]    |                                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:48:40
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn fprintf(_: *mut FILE, _: *const libc::c_char, _: ...) -> libc::c_int;
[INFO] [stdout]    |                                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:48:65
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn fprintf(_: *mut FILE, _: *const libc::c_char, _: ...) -> libc::c_int;
[INFO] [stdout]    |                                                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 50 |         _: *const libc::c_void,
[INFO] [stdout]    |                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |         _: libc::c_ulong,
[INFO] [stdout]    |            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |         _: libc::c_ulong,
[INFO] [stdout]    |            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:414:53
[INFO] [stdout]     |
[INFO] [stdout] 414 |         || style_name_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:415:34
[INFO] [stdout]     |
[INFO] [stdout] 415 |         || style_value_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:415:54
[INFO] [stdout]     |
[INFO] [stdout] 415 |         || style_value_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:420:48
[INFO] [stdout]     |
[INFO] [stdout] 420 |     librender_append_byte(buf, OPCODE_STYLE as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:438:28
[INFO] [stdout]     |
[INFO] [stdout] 438 |     mut event_type: *const libc::c_char,
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:444:33
[INFO] [stdout]     |
[INFO] [stdout] 444 |         || event_type_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:444:53
[INFO] [stdout]     |
[INFO] [stdout] 444 |         || event_type_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 |     ) -> libc::c_ulong;
[INFO] [stdout]    |          ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn malloc(_: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:449:57
[INFO] [stdout]     |
[INFO] [stdout] 449 |     librender_append_byte(buf, OPCODE_EVENT_LISTENER as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:464:46
[INFO] [stdout]     |
[INFO] [stdout] 464 |     librender_append_byte(buf, OPCODE_NOP as libc::c_int as uint8_t);
[INFO] [stdout]     |                                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:470:26
[INFO] [stdout]     |
[INFO] [stdout] 470 |     mut filename: *const libc::c_char,
[INFO] [stdout]     |                          ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:476:78
[INFO] [stdout]     |
[INFO] [stdout] 476 |     let mut file: *mut FILE = fopen(filename, b"wb\0" as *const u8 as *const libc::c_char);
[INFO] [stdout]     |                                                                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:481:78
[INFO] [stdout]     |
[INFO] [stdout] 481 |             b"Failed to open file %s for writing\n\0" as *const u8 as *const libc::c_char,
[INFO] [stdout]     |                                                                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:55:41
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn malloc(_: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:488:33
[INFO] [stdout]     |
[INFO] [stdout] 488 |         (*buf).buffer as *const libc::c_void,
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:489:14
[INFO] [stdout]     |
[INFO] [stdout] 489 |         1 as libc::c_int as libc::c_ulong,
[INFO] [stdout]     |              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:489:29
[INFO] [stdout]     |
[INFO] [stdout] 489 |         1 as libc::c_int as libc::c_ulong,
[INFO] [stdout]     |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:503:24
[INFO] [stdout]     |
[INFO] [stdout] 503 |     (*buf).size = 0 as libc::c_int as size_t;
[INFO] [stdout]     |                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:56:24
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn realloc(_: *mut libc::c_void, _: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:511:49
[INFO] [stdout]     |
[INFO] [stdout] 511 |     if buffers.is_null() || num_buffers == 0 as libc::c_int as libc::c_ulong {
[INFO] [stdout]     |                                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:511:64
[INFO] [stdout]     |
[INFO] [stdout] 511 |     if buffers.is_null() || num_buffers == 0 as libc::c_int as libc::c_ulong {
[INFO] [stdout]     |                                                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:56:41
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn realloc(_: *mut libc::c_void, _: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:56:64
[INFO] [stdout]    |
[INFO] [stdout] 56 |     fn realloc(_: *mut libc::c_void, _: libc::c_ulong) -> *mut libc::c_void;
[INFO] [stdout]    |                                                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn free(_: *mut libc::c_void);
[INFO] [stdout]    |                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn exit(_: libc::c_int) -> !;
[INFO] [stdout]    |                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub type size_t = libc::c_ulong;
[INFO] [stdout]    |                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub type __uint8_t = libc::c_uchar;
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub type __off_t = libc::c_long;
[INFO] [stdout]    |                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:515:39
[INFO] [stdout]     |
[INFO] [stdout] 515 |     let mut total_size: size_t = 0 as libc::c_int as size_t;
[INFO] [stdout]     |                                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:64:22
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub type __off64_t = libc::c_long;
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub _flags: libc::c_int,
[INFO] [stdout]    |                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:71:28
[INFO] [stdout]    |
[INFO] [stdout] 71 |     pub _IO_read_ptr: *mut libc::c_char,
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:72:28
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub _IO_read_end: *mut libc::c_char,
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:73:29
[INFO] [stdout]    |
[INFO] [stdout] 73 |     pub _IO_read_base: *mut libc::c_char,
[INFO] [stdout]    |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:74:30
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub _IO_write_base: *mut libc::c_char,
[INFO] [stdout]    |                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub _IO_write_ptr: *mut libc::c_char,
[INFO] [stdout]    |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub _IO_write_end: *mut libc::c_char,
[INFO] [stdout]    |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:77:28
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub _IO_buf_base: *mut libc::c_char,
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:78:27
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub _IO_buf_end: *mut libc::c_char,
[INFO] [stdout]    |                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:79:29
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub _IO_save_base: *mut libc::c_char,
[INFO] [stdout]    |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:80:31
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub _IO_backup_base: *mut libc::c_char,
[INFO] [stdout]    |                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub _IO_save_end: *mut libc::c_char,
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:84:18
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub _fileno: libc::c_int,
[INFO] [stdout]    |                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:85:18
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub _flags2: libc::c_int,
[INFO] [stdout]    |                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:87:22
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub _cur_column: libc::c_ushort,
[INFO] [stdout]    |                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:88:25
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub _vtable_offset: libc::c_schar,
[INFO] [stdout]    |                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:89:21
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub _shortbuf: [libc::c_char; 1],
[INFO] [stdout]    |                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:90:21
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub _lock: *mut libc::c_void,
[INFO] [stdout]    |                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:95:28
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub _freeres_buf: *mut libc::c_void,
[INFO] [stdout]    |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub _mode: libc::c_int,
[INFO] [stdout]    |                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]   --> src/target.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub _unused2: [libc::c_char; 20],
[INFO] [stdout]    |                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:516:30
[INFO] [stdout]     |
[INFO] [stdout] 516 |     let mut i: size_t = 0 as libc::c_int as size_t;
[INFO] [stdout]     |                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:104:34
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub const OPCODE_APPEND_SIBLING: libc::c_uint = 11;
[INFO] [stdout]     |                                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:520:41
[INFO] [stdout]     |
[INFO] [stdout] 520 |             total_size = (total_size as libc::c_ulong)
[INFO] [stdout]     |                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:534:32
[INFO] [stdout]     |
[INFO] [stdout] 534 |     let mut i_0: size_t = 0 as libc::c_int as size_t;
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:559:32
[INFO] [stdout]     |
[INFO] [stdout] 559 |         || (*src).size == 0 as libc::c_int as libc::c_ulong
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:559:47
[INFO] [stdout]     |
[INFO] [stdout] 559 |         || (*src).size == 0 as libc::c_int as libc::c_ulong
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:577:31
[INFO] [stdout]     |
[INFO] [stdout] 577 |         (*buf).buffer as *mut libc::c_void,
[INFO] [stdout]     |                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:578:72
[INFO] [stdout]     |
[INFO] [stdout] 578 |         new_capacity.wrapping_mul(::core::mem::size_of::<uint8_t>() as libc::c_ulong),
[INFO] [stdout]     |                                                                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:584:71
[INFO] [stdout]     |
[INFO] [stdout] 584 |             b"Failed to reallocate buffer\n\0" as *const u8 as *const libc::c_char,
[INFO] [stdout]     |                                                                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:105:34
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub const OPCODE_EVENT_LISTENER: libc::c_uint = 10;
[INFO] [stdout]     |                                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:106:25
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub const OPCODE_STYLE: libc::c_uint = 9;
[INFO] [stdout]     |                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:107:36
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub const OPCODE_REMOVE_ATTRIBUTE: libc::c_uint = 8;
[INFO] [stdout]     |                                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:108:28
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub const OPCODE_SET_TEXT: libc::c_uint = 7;
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub const OPCODE_TEXT_NODE: libc::c_uint = 6;
[INFO] [stdout]     |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:110:33
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub const OPCODE_REPLACE_CHILD: libc::c_uint = 5;
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:586:19
[INFO] [stdout]     |
[INFO] [stdout] 586 |         exit(1 as libc::c_int);
[INFO] [stdout]     |                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:601:34
[INFO] [stdout]     |
[INFO] [stdout] 601 |         || bytecode_size == 0 as libc::c_int as libc::c_ulong
[INFO] [stdout]     |                                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:111:32
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub const OPCODE_REMOVE_CHILD: libc::c_uint = 4;
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:601:49
[INFO] [stdout]     |
[INFO] [stdout] 601 |         || bytecode_size == 0 as libc::c_int as libc::c_ulong
[INFO] [stdout]     |                                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub const OPCODE_APPEND_CHILD: libc::c_uint = 3;
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:620:47
[INFO] [stdout]     |
[INFO] [stdout] 620 |         (*buf).capacity = ((*buf).capacity as libc::c_ulong)
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:621:32
[INFO] [stdout]     |
[INFO] [stdout] 621 |             .wrapping_mul(2 as libc::c_int as libc::c_ulong) as size_t
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:113:33
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub const OPCODE_SET_ATTRIBUTE: libc::c_uint = 2;
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:621:47
[INFO] [stdout]     |
[INFO] [stdout] 621 |             .wrapping_mul(2 as libc::c_int as libc::c_ulong) as size_t
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:625:35
[INFO] [stdout]     |
[INFO] [stdout] 625 |             (*buf).buffer as *mut libc::c_void,
[INFO] [stdout]     |                                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:626:81
[INFO] [stdout]     |
[INFO] [stdout] 626 |             ((*buf).capacity).wrapping_mul(::core::mem::size_of::<uint8_t>() as libc::c_ulong),
[INFO] [stdout]     |                                                                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:114:34
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub const OPCODE_CREATE_ELEMENT: libc::c_uint = 1;
[INFO] [stdout]     |                                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:633:31
[INFO] [stdout]     |
[INFO] [stdout] 633 |                     as *const libc::c_char,
[INFO] [stdout]     |                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:635:23
[INFO] [stdout]     |
[INFO] [stdout] 635 |             exit(1 as libc::c_int);
[INFO] [stdout]     |                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:115:23
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub const OPCODE_NOP: libc::c_uint = 0;
[INFO] [stdout]     |                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:643:57
[INFO] [stdout]     |
[INFO] [stdout] 643 |             *((*buf).buffer).offset(i.wrapping_sub(1 as libc::c_int as libc::c_ulong) as isize);
[INFO] [stdout]     |                                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:643:72
[INFO] [stdout]     |
[INFO] [stdout] 643 |             *((*buf).buffer).offset(i.wrapping_sub(1 as libc::c_int as libc::c_ulong) as isize);
[INFO] [stdout]     |                                                                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:123:20
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub is_locked: libc::c_int,
[INFO] [stdout]     |                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:130:33
[INFO] [stdout]     |
[INFO] [stdout] 130 |     if initial_capacity == 0 as libc::c_int as libc::c_ulong {
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:130:48
[INFO] [stdout]     |
[INFO] [stdout] 130 |     if initial_capacity == 0 as libc::c_int as libc::c_ulong {
[INFO] [stdout]     |                                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:131:36
[INFO] [stdout]     |
[INFO] [stdout] 131 |         initial_capacity = 1024 as libc::c_int as size_t;
[INFO] [stdout]     |                                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:135:71
[INFO] [stdout]     |
[INFO] [stdout] 135 |         malloc(::core::mem::size_of::<librender_bytecode_buffer>() as libc::c_ulong)
[INFO] [stdout]     |                                                                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:142:27
[INFO] [stdout]     |
[INFO] [stdout] 142 |                 as *const libc::c_char,
[INFO] [stdout]     |                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:144:19
[INFO] [stdout]     |
[INFO] [stdout] 144 |         exit(1 as libc::c_int);
[INFO] [stdout]     |                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:148:83
[INFO] [stdout]     |
[INFO] [stdout] 148 |         malloc(initial_capacity.wrapping_mul(::core::mem::size_of::<uint8_t>() as libc::c_ulong))
[INFO] [stdout]     |                                                                                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:154:85
[INFO] [stdout]     |
[INFO] [stdout] 154 |             b"Failed to allocate memory for buffer data\n\0" as *const u8 as *const libc::c_char,
[INFO] [stdout]     |                                                                                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:156:26
[INFO] [stdout]     |
[INFO] [stdout] 156 |         free(buf as *mut libc::c_void);
[INFO] [stdout]     |                          ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:157:19
[INFO] [stdout]     |
[INFO] [stdout] 157 |         exit(1 as libc::c_int);
[INFO] [stdout]     |                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 |     (*buf).size = 0 as libc::c_int as size_t;
[INFO] [stdout]     |                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:162:29
[INFO] [stdout]     |
[INFO] [stdout] 162 |     (*buf).is_locked = 0 as libc::c_int;
[INFO] [stdout]     |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:174:36
[INFO] [stdout]     |
[INFO] [stdout] 174 |         free((*buf).buffer as *mut libc::c_void);
[INFO] [stdout]     |                                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |     free(buf as *mut libc::c_void);
[INFO] [stdout]     |                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:186:29
[INFO] [stdout]     |
[INFO] [stdout] 186 |     (*buf).is_locked = 1 as libc::c_int;
[INFO] [stdout]     |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:195:29
[INFO] [stdout]     |
[INFO] [stdout] 195 |     (*buf).is_locked = 0 as libc::c_int;
[INFO] [stdout]     |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:201:6
[INFO] [stdout]     |
[INFO] [stdout] 201 | ) -> libc::c_int {
[INFO] [stdout]     |      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:203:21
[INFO] [stdout]     |
[INFO] [stdout] 203 |         return 0 as libc::c_int;
[INFO] [stdout]     |                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:219:47
[INFO] [stdout]     |
[INFO] [stdout] 219 |         (*buf).capacity = ((*buf).capacity as libc::c_ulong)
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:220:32
[INFO] [stdout]     |
[INFO] [stdout] 220 |             .wrapping_mul(2 as libc::c_int as libc::c_ulong) as size_t
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:220:47
[INFO] [stdout]     |
[INFO] [stdout] 220 |             .wrapping_mul(2 as libc::c_int as libc::c_ulong) as size_t
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:224:35
[INFO] [stdout]     |
[INFO] [stdout] 224 |             (*buf).buffer as *mut libc::c_void,
[INFO] [stdout]     |                                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:225:81
[INFO] [stdout]     |
[INFO] [stdout] 225 |             ((*buf).capacity).wrapping_mul(::core::mem::size_of::<uint8_t>() as libc::c_ulong),
[INFO] [stdout]     |                                                                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:231:86
[INFO] [stdout]     |
[INFO] [stdout] 231 |                 b"Failed to reallocate memory for buffer\n\0" as *const u8 as *const libc::c_char,
[INFO] [stdout]     |                                                                                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:664:47
[INFO] [stdout]     |
[INFO] [stdout] 664 |     while i < ((*buf).size).wrapping_sub(1 as libc::c_int as libc::c_ulong) {
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:233:23
[INFO] [stdout]     |
[INFO] [stdout] 233 |             exit(1 as libc::c_int);
[INFO] [stdout]     |                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:252:30
[INFO] [stdout]     |
[INFO] [stdout] 252 |     let mut i: size_t = 0 as libc::c_int as size_t;
[INFO] [stdout]     |                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:664:62
[INFO] [stdout]     |
[INFO] [stdout] 664 |     while i < ((*buf).size).wrapping_sub(1 as libc::c_int as libc::c_ulong) {
[INFO] [stdout]     |                                                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:264:26
[INFO] [stdout]     |
[INFO] [stdout] 264 |     mut tag_name: *const libc::c_char,
[INFO] [stdout]     |                          ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:666:57
[INFO] [stdout]     |
[INFO] [stdout] 666 |             *((*buf).buffer).offset(i.wrapping_add(1 as libc::c_int as libc::c_ulong) as isize);
[INFO] [stdout]     |                                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:270:26
[INFO] [stdout]     |
[INFO] [stdout] 270 |         || tag_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                          ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:666:72
[INFO] [stdout]     |
[INFO] [stdout] 666 |             *((*buf).buffer).offset(i.wrapping_add(1 as libc::c_int as libc::c_ulong) as isize);
[INFO] [stdout]     |                                                                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:270:46
[INFO] [stdout]     |
[INFO] [stdout] 270 |         || tag_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:692:45
[INFO] [stdout]     |
[INFO] [stdout] 692 |     if src.is_null() || (*src).size == 0 as libc::c_int as libc::c_ulong {
[INFO] [stdout]     |                                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:692:60
[INFO] [stdout]     |
[INFO] [stdout] 692 |     if src.is_null() || (*src).size == 0 as libc::c_int as libc::c_ulong {
[INFO] [stdout]     |                                                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:275:57
[INFO] [stdout]     |
[INFO] [stdout] 275 |     librender_append_byte(buf, OPCODE_CREATE_ELEMENT as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:283:27
[INFO] [stdout]     |
[INFO] [stdout] 283 |     mut attr_name: *const libc::c_char,
[INFO] [stdout]     |                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:285:28
[INFO] [stdout]     |
[INFO] [stdout] 285 |     mut attr_value: *const libc::c_char,
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:292:32
[INFO] [stdout]     |
[INFO] [stdout] 292 |         || attr_name_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:292:52
[INFO] [stdout]     |
[INFO] [stdout] 292 |         || attr_name_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:293:33
[INFO] [stdout]     |
[INFO] [stdout] 293 |         || attr_value_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:293:53
[INFO] [stdout]     |
[INFO] [stdout] 293 |         || attr_value_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:298:56
[INFO] [stdout]     |
[INFO] [stdout] 298 |     librender_append_byte(buf, OPCODE_SET_ATTRIBUTE as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:315:55
[INFO] [stdout]     |
[INFO] [stdout] 315 |     librender_append_byte(buf, OPCODE_APPEND_CHILD as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:324:57
[INFO] [stdout]     |
[INFO] [stdout] 324 |     librender_append_byte(buf, OPCODE_APPEND_SIBLING as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:333:55
[INFO] [stdout]     |
[INFO] [stdout] 333 |     librender_append_byte(buf, OPCODE_REMOVE_CHILD as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:342:56
[INFO] [stdout]     |
[INFO] [stdout] 342 |     librender_append_byte(buf, OPCODE_REPLACE_CHILD as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:348:22
[INFO] [stdout]     |
[INFO] [stdout] 348 |     mut text: *const libc::c_char,
[INFO] [stdout]     |                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:354:27
[INFO] [stdout]     |
[INFO] [stdout] 354 |         || text_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:354:47
[INFO] [stdout]     |
[INFO] [stdout] 354 |         || text_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:359:52
[INFO] [stdout]     |
[INFO] [stdout] 359 |     librender_append_byte(buf, OPCODE_TEXT_NODE as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:367:22
[INFO] [stdout]     |
[INFO] [stdout] 367 |     mut text: *const libc::c_char,
[INFO] [stdout]     |                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:373:27
[INFO] [stdout]     |
[INFO] [stdout] 373 |         || text_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:373:47
[INFO] [stdout]     |
[INFO] [stdout] 373 |         || text_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:378:51
[INFO] [stdout]     |
[INFO] [stdout] 378 |     librender_append_byte(buf, OPCODE_SET_TEXT as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:386:27
[INFO] [stdout]     |
[INFO] [stdout] 386 |     mut attr_name: *const libc::c_char,
[INFO] [stdout]     |                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `librender` (lib test) due to 155 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:392:32
[INFO] [stdout]     |
[INFO] [stdout] 392 |         || attr_name_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:392:52
[INFO] [stdout]     |
[INFO] [stdout] 392 |         || attr_name_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                                    ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:397:59
[INFO] [stdout]     |
[INFO] [stdout] 397 |     librender_append_byte(buf, OPCODE_REMOVE_ATTRIBUTE as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                           ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:405:28
[INFO] [stdout]     |
[INFO] [stdout] 405 |     mut style_name: *const libc::c_char,
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:407:29
[INFO] [stdout]     |
[INFO] [stdout] 407 |     mut style_value: *const libc::c_char,
[INFO] [stdout]     |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:414:33
[INFO] [stdout]     |
[INFO] [stdout] 414 |         || style_name_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:414:53
[INFO] [stdout]     |
[INFO] [stdout] 414 |         || style_name_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:415:34
[INFO] [stdout]     |
[INFO] [stdout] 415 |         || style_value_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:415:54
[INFO] [stdout]     |
[INFO] [stdout] 415 |         || style_value_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                                      ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:420:48
[INFO] [stdout]     |
[INFO] [stdout] 420 |     librender_append_byte(buf, OPCODE_STYLE as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:438:28
[INFO] [stdout]     |
[INFO] [stdout] 438 |     mut event_type: *const libc::c_char,
[INFO] [stdout]     |                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:444:33
[INFO] [stdout]     |
[INFO] [stdout] 444 |         || event_type_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:444:53
[INFO] [stdout]     |
[INFO] [stdout] 444 |         || event_type_length as libc::c_int == 0 as libc::c_int
[INFO] [stdout]     |                                                     ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:449:57
[INFO] [stdout]     |
[INFO] [stdout] 449 |     librender_append_byte(buf, OPCODE_EVENT_LISTENER as libc::c_int as uint8_t);
[INFO] [stdout]     |                                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:464:46
[INFO] [stdout]     |
[INFO] [stdout] 464 |     librender_append_byte(buf, OPCODE_NOP as libc::c_int as uint8_t);
[INFO] [stdout]     |                                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:470:26
[INFO] [stdout]     |
[INFO] [stdout] 470 |     mut filename: *const libc::c_char,
[INFO] [stdout]     |                          ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:476:78
[INFO] [stdout]     |
[INFO] [stdout] 476 |     let mut file: *mut FILE = fopen(filename, b"wb\0" as *const u8 as *const libc::c_char);
[INFO] [stdout]     |                                                                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:481:78
[INFO] [stdout]     |
[INFO] [stdout] 481 |             b"Failed to open file %s for writing\n\0" as *const u8 as *const libc::c_char,
[INFO] [stdout]     |                                                                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:488:33
[INFO] [stdout]     |
[INFO] [stdout] 488 |         (*buf).buffer as *const libc::c_void,
[INFO] [stdout]     |                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:489:14
[INFO] [stdout]     |
[INFO] [stdout] 489 |         1 as libc::c_int as libc::c_ulong,
[INFO] [stdout]     |              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:489:29
[INFO] [stdout]     |
[INFO] [stdout] 489 |         1 as libc::c_int as libc::c_ulong,
[INFO] [stdout]     |                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:503:24
[INFO] [stdout]     |
[INFO] [stdout] 503 |     (*buf).size = 0 as libc::c_int as size_t;
[INFO] [stdout]     |                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:511:49
[INFO] [stdout]     |
[INFO] [stdout] 511 |     if buffers.is_null() || num_buffers == 0 as libc::c_int as libc::c_ulong {
[INFO] [stdout]     |                                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:511:64
[INFO] [stdout]     |
[INFO] [stdout] 511 |     if buffers.is_null() || num_buffers == 0 as libc::c_int as libc::c_ulong {
[INFO] [stdout]     |                                                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:515:39
[INFO] [stdout]     |
[INFO] [stdout] 515 |     let mut total_size: size_t = 0 as libc::c_int as size_t;
[INFO] [stdout]     |                                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:516:30
[INFO] [stdout]     |
[INFO] [stdout] 516 |     let mut i: size_t = 0 as libc::c_int as size_t;
[INFO] [stdout]     |                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:520:41
[INFO] [stdout]     |
[INFO] [stdout] 520 |             total_size = (total_size as libc::c_ulong)
[INFO] [stdout]     |                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:534:32
[INFO] [stdout]     |
[INFO] [stdout] 534 |     let mut i_0: size_t = 0 as libc::c_int as size_t;
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:559:32
[INFO] [stdout]     |
[INFO] [stdout] 559 |         || (*src).size == 0 as libc::c_int as libc::c_ulong
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:559:47
[INFO] [stdout]     |
[INFO] [stdout] 559 |         || (*src).size == 0 as libc::c_int as libc::c_ulong
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:577:31
[INFO] [stdout]     |
[INFO] [stdout] 577 |         (*buf).buffer as *mut libc::c_void,
[INFO] [stdout]     |                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:578:72
[INFO] [stdout]     |
[INFO] [stdout] 578 |         new_capacity.wrapping_mul(::core::mem::size_of::<uint8_t>() as libc::c_ulong),
[INFO] [stdout]     |                                                                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:584:71
[INFO] [stdout]     |
[INFO] [stdout] 584 |             b"Failed to reallocate buffer\n\0" as *const u8 as *const libc::c_char,
[INFO] [stdout]     |                                                                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:586:19
[INFO] [stdout]     |
[INFO] [stdout] 586 |         exit(1 as libc::c_int);
[INFO] [stdout]     |                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:601:34
[INFO] [stdout]     |
[INFO] [stdout] 601 |         || bytecode_size == 0 as libc::c_int as libc::c_ulong
[INFO] [stdout]     |                                  ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:601:49
[INFO] [stdout]     |
[INFO] [stdout] 601 |         || bytecode_size == 0 as libc::c_int as libc::c_ulong
[INFO] [stdout]     |                                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:620:47
[INFO] [stdout]     |
[INFO] [stdout] 620 |         (*buf).capacity = ((*buf).capacity as libc::c_ulong)
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:621:32
[INFO] [stdout]     |
[INFO] [stdout] 621 |             .wrapping_mul(2 as libc::c_int as libc::c_ulong) as size_t
[INFO] [stdout]     |                                ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:621:47
[INFO] [stdout]     |
[INFO] [stdout] 621 |             .wrapping_mul(2 as libc::c_int as libc::c_ulong) as size_t
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:625:35
[INFO] [stdout]     |
[INFO] [stdout] 625 |             (*buf).buffer as *mut libc::c_void,
[INFO] [stdout]     |                                   ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:626:81
[INFO] [stdout]     |
[INFO] [stdout] 626 |             ((*buf).capacity).wrapping_mul(::core::mem::size_of::<uint8_t>() as libc::c_ulong),
[INFO] [stdout]     |                                                                                 ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:633:31
[INFO] [stdout]     |
[INFO] [stdout] 633 |                     as *const libc::c_char,
[INFO] [stdout]     |                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:635:23
[INFO] [stdout]     |
[INFO] [stdout] 635 |             exit(1 as libc::c_int);
[INFO] [stdout]     |                       ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:643:57
[INFO] [stdout]     |
[INFO] [stdout] 643 |             *((*buf).buffer).offset(i.wrapping_sub(1 as libc::c_int as libc::c_ulong) as isize);
[INFO] [stdout]     |                                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:643:72
[INFO] [stdout]     |
[INFO] [stdout] 643 |             *((*buf).buffer).offset(i.wrapping_sub(1 as libc::c_int as libc::c_ulong) as isize);
[INFO] [stdout]     |                                                                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:664:47
[INFO] [stdout]     |
[INFO] [stdout] 664 |     while i < ((*buf).size).wrapping_sub(1 as libc::c_int as libc::c_ulong) {
[INFO] [stdout]     |                                               ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:664:62
[INFO] [stdout]     |
[INFO] [stdout] 664 |     while i < ((*buf).size).wrapping_sub(1 as libc::c_int as libc::c_ulong) {
[INFO] [stdout]     |                                                              ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:666:57
[INFO] [stdout]     |
[INFO] [stdout] 666 |             *((*buf).buffer).offset(i.wrapping_add(1 as libc::c_int as libc::c_ulong) as isize);
[INFO] [stdout]     |                                                         ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:666:72
[INFO] [stdout]     |
[INFO] [stdout] 666 |             *((*buf).buffer).offset(i.wrapping_add(1 as libc::c_int as libc::c_ulong) as isize);
[INFO] [stdout]     |                                                                        ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:692:45
[INFO] [stdout]     |
[INFO] [stdout] 692 |     if src.is_null() || (*src).size == 0 as libc::c_int as libc::c_ulong {
[INFO] [stdout]     |                                             ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc`
[INFO] [stdout]    --> src/target.rs:692:60
[INFO] [stdout]     |
[INFO] [stdout] 692 |     if src.is_null() || (*src).size == 0 as libc::c_int as libc::c_ulong {
[INFO] [stdout]     |                                                            ^^^^ use of undeclared crate or module `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `librender` (lib) due to 155 previous errors
[INFO] running `Command { std: "docker" "inspect" "c0a15c480db192a29f5ab9d9d2df93c04fe7172d18c381dfb967ab00e44bd234", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0a15c480db192a29f5ab9d9d2df93c04fe7172d18c381dfb967ab00e44bd234", kill_on_drop: false }`
[INFO] [stdout] c0a15c480db192a29f5ab9d9d2df93c04fe7172d18c381dfb967ab00e44bd234
