Skip to content

Instantly share code, notes, and snippets.

@hayd

hayd/build.out Secret

Created December 11, 2018 07:08
Show Gist options
  • Save hayd/4772d5d53cd60219a7c98e139ae6b0de to your computer and use it in GitHub Desktop.
Save hayd/4772d5d53cd60219a7c98e139ae6b0de to your computer and use it in GitHub Desktop.
ninja: Entering directory `/Users/hayd/OSS/deno/target/debug'
[1/9] ACTION //:deno_bin_rustc(//build/toolchain/mac:clang_x64)
FAILED: rust_crates/deno_bin.o
python ../../build_extra/rust/run.py rustc ../../src/main.rs --crate-name=deno_bin --crate-type=bin --emit=obj,dep-info --out-dir=rust_crates -Cextra-filename= -Cmetadata=\"_rustc\ 1.31.0\ \(abe02cefd\ 2018-12-04\)\" -L dependency=rust_crates --color=always -g -Dwarnings --extern atty=rust_crates/libatty.rlib --extern dirs=rust_crates/libdirs.rlib --extern futures=rust_crates/libfutures.rlib --extern getopts=rust_crates/libgetopts.rlib --extern http=rust_crates/libhttp.rlib --extern hyper=rust_crates/libhyper.rlib --extern hyper_rustls=rust_crates/libhyper_rustls.rlib --extern lazy_static=rust_crates/liblazy_static.rlib --extern libc=rust_crates/liblibc.rlib --extern log=rust_crates/liblog.rlib --extern rand=rust_crates/librand.rlib --extern remove_dir_all=rust_crates/libremove_dir_all.rlib --extern ring=rust_crates/libring.rlib --extern rustyline=rust_crates/librustyline.rlib --extern serde_json=rust_crates/libserde_json.rlib --extern source_map_mappings=rust_crates/libsource_map_mappings.rlib --extern tempfile=rust_crates/libtempfile.rlib --extern tokio=rust_crates/libtokio.rlib --extern tokio_executor=rust_crates/libtokio_executor.rlib --extern tokio_fs=rust_crates/libtokio_fs.rlib --extern tokio_io=rust_crates/libtokio_io.rlib --extern tokio_process=rust_crates/libtokio_process.rlib --extern tokio_threadpool=rust_crates/libtokio_threadpool.rlib --extern url=rust_crates/liburl.rlib --extern flatbuffers=rust_crates/libflatbuffers.rlib
error[E0432]: unresolved import `dirs`
--> ../../src/main.rs:2:5
|
2 | use dirs;
| ^^^^ no `dirs` in the root
error[E0432]: unresolved import `flatbuffers`
--> ../../src/main.rs:3:5
|
3 | use flatbuffers;
| ^^^^^^^^^^^ no `flatbuffers` in the root
error[E0432]: unresolved import `getopts`
--> ../../src/main.rs:4:5
|
4 | use getopts;
| ^^^^^^^ no `getopts` in the root
error[E0432]: unresolved import `hyper`
--> ../../src/main.rs:5:5
|
5 | use hyper;
| ^^^^^ no `hyper` in the root
error[E0432]: unresolved import `hyper_rustls`
--> ../../src/main.rs:6:5
|
6 | use hyper_rustls;
| ^^^^^^^^^^^^ no `hyper_rustls` in the root
error[E0432]: unresolved import `rand`
--> ../../src/main.rs:7:5
|
7 | use rand;
| ^^^^ no `rand` in the root
error[E0432]: unresolved import `ring`
--> ../../src/main.rs:8:5
|
8 | use ring;
| ^^^^ no `ring` in the root
error[E0432]: unresolved import `serde_json`
--> ../../src/main.rs:9:5
|
9 | use serde_json;
| ^^^^^^^^^^ no `serde_json` in the root
error[E0432]: unresolved import `tokio`
--> ../../src/main.rs:10:5
|
10 | use tokio;
| ^^^^^ no `tokio` in the root
error[E0432]: unresolved import `tokio_executor`
--> ../../src/main.rs:11:5
|
11 | use tokio_executor;
| ^^^^^^^^^^^^^^ no `tokio_executor` in the root
error[E0432]: unresolved import `tokio_io`
--> ../../src/main.rs:12:5
|
12 | use tokio_io;
| ^^^^^^^^ no `tokio_io` in the root
error[E0432]: unresolved import `tokio_process`
--> ../../src/main.rs:13:5
|
13 | use tokio_process;
| ^^^^^^^^^^^^^ no `tokio_process` in the root
error[E0432]: unresolved import `tokio_threadpool`
--> ../../src/main.rs:14:5
|
14 | use tokio_threadpool;
| ^^^^^^^^^^^^^^^^ no `tokio_threadpool` in the root
error[E0432]: unresolved import `url`
--> ../../src/main.rs:15:5
|
15 | use url;
| ^^^ no `url` in the root
error[E0432]: unresolved import `libc`
--> ../../src/flags.rs:6:5
|
6 | use libc::c_int;
| ^^^^ maybe a missing `extern crate libc;`?
error[E0432]: unresolved import `libc`
--> ../../src/isolate.rs:17:5
|
17 | use libc::c_void;
| ^^^^ maybe a missing `extern crate libc;`?
error[E0432]: unresolved import `source_map_mappings`
--> ../../src/js_errors.rs:13:5
|
13 | use source_map_mappings::parse_mappings;
| ^^^^^^^^^^^^^^^^^^^ maybe a missing `extern crate source_map_mappings;`?
error[E0432]: unresolved import `source_map_mappings`
--> ../../src/js_errors.rs:14:5
|
14 | use source_map_mappings::Bias;
| ^^^^^^^^^^^^^^^^^^^ maybe a missing `extern crate source_map_mappings;`?
error[E0432]: unresolved import `source_map_mappings`
--> ../../src/js_errors.rs:15:5
|
15 | use source_map_mappings::Mappings;
| ^^^^^^^^^^^^^^^^^^^ maybe a missing `extern crate source_map_mappings;`?
error[E0432]: unresolved import `libc`
--> ../../src/libdeno.rs:2:5
|
2 | use libc::c_char;
| ^^^^ maybe a missing `extern crate libc;`?
error[E0432]: unresolved import `libc`
--> ../../src/libdeno.rs:3:5
|
3 | use libc::c_int;
| ^^^^ maybe a missing `extern crate libc;`?
error[E0433]: failed to resolve: maybe a missing `extern crate http;`?
--> ../../src/msg_util.rs:6:5
|
6 | use http::header::HeaderName;
| ^^^^ maybe a missing `extern crate http;`?
error[E0433]: failed to resolve: maybe a missing `extern crate http;`?
--> ../../src/msg_util.rs:7:5
|
7 | use http::uri::Uri;
| ^^^^ maybe a missing `extern crate http;`?
error[E0432]: unresolved import `libc`
--> ../../src/libdeno.rs:4:5
|
4 | use libc::c_void;
| ^^^^ maybe a missing `extern crate libc;`?
error[E0432]: unresolved import `http`
--> ../../src/msg_util.rs:8:5
|
8 | use http::Method;
| ^^^^ maybe a missing `extern crate http;`?
error[E0432]: unresolved import `remove_dir_all`
--> ../../src/ops.rs:25:5
|
25 | use remove_dir_all::remove_dir_all;
| ^^^^^^^^^^^^^^ maybe a missing `extern crate remove_dir_all;`?
error[E0432]: unresolved import `atty`
--> ../../src/permissions.rs:6:5
|
6 | use atty;
| ^^^^ no `atty` in the root
error[E0433]: failed to resolve: maybe a missing `extern crate rustyline;`?
--> ../../src/repl.rs:8:5
|
8 | use rustyline::error::ReadlineError::Interrupted;
| ^^^^^^^^^ maybe a missing `extern crate rustyline;`?
error[E0432]: unresolved import `rustyline`
--> ../../src/repl.rs:7:5
|
7 | use rustyline;
| ^^^^^^^^^ no `rustyline` in the root
error[E0432]: unresolved import `rustyline`
--> ../../src/repl.rs:14:5
|
14 | use rustyline::Editor;
| ^^^^^^^^^ maybe a missing `extern crate rustyline;`?
error[E0433]: failed to resolve: use of undeclared type or module `Url`
--> ../../src/deno_dir.rs:316:15
|
316 | let r = Url::from_directory_path(&containing_file);
| ^^^ use of undeclared type or module `Url`
error[E0433]: failed to resolve: use of undeclared type or module `Url`
--> ../../src/deno_dir.rs:853:5
|
853 | Url::parse(p)
| ^^^ use of undeclared type or module `Url`
error[E0433]: failed to resolve: use of undeclared type or module `Url`
--> ../../src/deno_dir.rs:855:5
|
855 | Url::from_file_path(p).map_err(|_err| url::ParseError::IdnaError)
| ^^^ use of undeclared type or module `Url`
error[E0433]: failed to resolve: use of undeclared type or module `Options`
--> ../../src/flags.rs:123:18
|
123 | let mut opts = Options::new();
| ^^^^^^^ use of undeclared type or module `Options`
error[E0433]: failed to resolve: use of undeclared type or module `Client`
--> ../../src/http_util.rs:26:3
|
26 | Client::builder().build(c)
| ^^^^^^ use of undeclared type or module `Client`
error[E0433]: failed to resolve: use of undeclared type or module `Uri`
--> ../../src/http_util.rs:46:5
|
46 | Uri::from_parts(new_uri_parts).unwrap()
| ^^^ use of undeclared type or module `Uri`
error[E0433]: failed to resolve: use of undeclared type or module `Uri`
--> ../../src/http_util.rs:52:5
|
52 | Uri::from_parts(new_uri_parts).unwrap()
| ^^^ use of undeclared type or module `Uri`
error[E0433]: failed to resolve: use of undeclared type or module `Request`
--> ../../src/msg_util.rs:99:15
|
99 | let mut r = Request::new(body);
| ^^^^^^^ use of undeclared type or module `Request`
error[E0433]: failed to resolve: use of undeclared type or module `Uri`
--> ../../src/msg_util.rs:104:11
|
104 | let u = Uri::from_str(u).unwrap();
| ^^^ use of undeclared type or module `Uri`
error[E0433]: failed to resolve: use of undeclared type or module `HeaderName`
--> ../../src/msg_util.rs:117:18
|
117 | let name = HeaderName::from_bytes(key.as_bytes()).unwrap();
| ^^^^^^^^^^ use of undeclared type or module `HeaderName`
error[E0433]: failed to resolve: use of undeclared type or module `HeaderValue`
--> ../../src/msg_util.rs:119:15
|
119 | let v = HeaderValue::from_str(value).unwrap();
| ^^^^^^^^^^^ use of undeclared type or module `HeaderValue`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:131:26
|
131 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:149:28
|
149 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:185:21
|
185 | let mut builder = FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:263:24
|
263 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:371:22
|
371 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:423:28
|
423 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:509:24
|
509 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:597:26
|
597 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:671:30
|
671 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:709:30
|
709 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:775:24
|
775 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:856:24
|
856 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:885:24
|
885 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:932:24
|
932 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1058:24
|
1058 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1093:22
|
1093 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1127:24
|
1127 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `TcpListener`
--> ../../src/ops.rs:1193:20
|
1193 | let listener = TcpListener::bind(&addr)?;
| ^^^^^^^^^^^ use of undeclared type or module `TcpListener`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1196:24
|
1196 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1217:22
|
1217 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `TcpStream`
--> ../../src/ops.rs:1280:12
|
1280 | let op = TcpStream::connect(&addr)
| ^^^^^^^^^ use of undeclared type or module `TcpStream`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1294:22
|
1294 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1318:22
|
1318 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1417:22
|
1417 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1464:24
|
1464 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `TcpStream`
--> ../../src/resources.rs:152:11
|
152 | TcpStream::shutdown(f, how).map_err(DenoError::from)
| ^^^^^^^^^ use of undeclared type or module `TcpStream`
error[E0412]: cannot find type `Url` in this scope
--> ../../src/deno_dir.rs:310:12
|
310 | let j: Url = if containing_file == "."
| ^^^ did you mean `url`?
error[E0412]: cannot find type `Url` in this scope
--> ../../src/deno_dir.rs:373:45
|
373 | fn get_cache_filename(basedir: &Path, url: &Url) -> PathBuf {
| ^^^ did you mean `url`?
error[E0412]: cannot find type `Options` in this scope
--> ../../src/flags.rs:33:25
|
33 | pub fn get_usage(opts: &Options) -> String {
| ^^^^^^^ did you mean `Option`?
error[E0412]: cannot find type `Options` in this scope
--> ../../src/flags.rs:56:10
|
56 | opts: &Options,
| ^^^^^^^ did you mean `Option`?
error[E0412]: cannot find type `Body` in this scope
--> ../../src/http_body.rs:15:9
|
15 | body: Body,
| ^^^^ not found in this scope
error[E0412]: cannot find type `Chunk` in this scope
--> ../../src/http_body.rs:16:17
|
16 | chunk: Option<Chunk>,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Body` in this scope
--> ../../src/http_body.rs:21:21
|
21 | pub fn from(body: Body) -> Self {
| ^^^^ not found in this scope
error[E0405]: cannot find trait `AsyncRead` in this scope
--> ../../src/http_body.rs:36:6
|
36 | impl AsyncRead for HttpBody {
| ^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `HttpConnector` in this scope
--> ../../src/http_util.rs:14:47
|
14 | type Connector = hyper_rustls::HttpsConnector<HttpConnector>;
| ^^^^^^^^^^^^^ did you mean `Connector`?
error[E0412]: cannot find type `Client` in this scope
--> ../../src/http_util.rs:23:24
|
23 | pub fn get_client() -> Client<Connector, hyper::Body> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:31:41
|
31 | fn resolve_uri_from_location(base_uri: &Uri, location: &str) -> Uri {
| ^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:31:65
|
31 | fn resolve_uri_from_location(base_uri: &Uri, location: &str) -> Uri {
| ^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:35:16
|
35 | .parse::<Uri>()
| ^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:40:16
|
40 | .parse::<Uri>()
| ^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:59:33
|
59 | let url = module_name.parse::<Uri>().unwrap();
| ^^^ not found in this scope
error[E0425]: cannot find value `CONTENT_TYPE` in this scope
--> ../../src/http_util.rs:91:12
|
91 | .get(CONTENT_TYPE)
| ^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `HeaderMap` in this scope
--> ../../src/msg_util.rs:16:16
|
16 | type Headers = HeaderMap<HeaderValue>;
| ^^^^^^^^^ did you mean `Headers`?
error[E0412]: cannot find type `HeaderValue` in this scope
--> ../../src/msg_util.rs:16:26
|
16 | type Headers = HeaderMap<HeaderValue>;
| ^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Request` in this scope
--> ../../src/msg_util.rs:36:7
|
36 | r: &Request<Body>,
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `Body` in this scope
--> ../../src/msg_util.rs:36:15
|
36 | r: &Request<Body>,
| ^^^^ not found in this scope
error[E0412]: cannot find type `Response` in this scope
--> ../../src/msg_util.rs:80:7
|
80 | r: &Response<Body>,
| ^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Body` in this scope
--> ../../src/msg_util.rs:80:16
|
80 | r: &Response<Body>,
| ^^^^ not found in this scope
error[E0412]: cannot find type `Body` in this scope
--> ../../src/msg_util.rs:97:9
|
97 | body: Body,
| ^^^^ not found in this scope
error[E0412]: cannot find type `Request` in this scope
--> ../../src/msg_util.rs:98:6
|
98 | ) -> Request<Body> {
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `Body` in this scope
--> ../../src/msg_util.rs:98:14
|
98 | ) -> Request<Body> {
| ^^^^ not found in this scope
error[E0412]: cannot find type `FlatBufferBuilder` in this scope
--> ../../src/ops.rs:228:17
|
228 | builder: &mut FlatBufferBuilder<'_>,
| ^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `TcpStream` in this scope
--> ../../src/ops.rs:1213:38
|
1213 | fn new_conn(cmd_id: u32, tcp_stream: TcpStream) -> OpResult {
| ^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
2 | use std::net::TcpStream;
|
error[E0412]: cannot find type `TcpStream` in this scope
--> ../../src/resources.rs:125:42
|
125 | pub fn poll_accept(&mut self) -> Poll<(TcpStream, SocketAddr), Error> {
| ^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
12 | use std::net::TcpStream;
|
error[E0405]: cannot find trait `AsyncRead` in this scope
--> ../../src/resources.rs:166:6
|
166 | impl AsyncRead for Resource {
| ^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `AsyncWrite` in this scope
--> ../../src/resources.rs:195:6
|
195 | impl AsyncWrite for Resource {
| ^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `TcpStream` in this scope
--> ../../src/tokio_util.rs:61:16
|
61 | type Item = (TcpStream, SocketAddr);
| ^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
2 | use std::net::TcpStream;
|
error[E0405]: cannot find trait `AsyncWrite` in this scope
--> ../../src/tokio_write.rs:30:6
|
30 | A: AsyncWrite,
| ^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `AsyncWrite` in this scope
--> ../../src/tokio_write.rs:40:6
|
40 | A: AsyncWrite,
| ^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `TcpStream` in this scope
--> ../../src/eager_unix.rs:15:16
|
15 | tcp_stream: &TcpStream,
| ^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
2 | use std::net::TcpStream;
|
error[E0412]: cannot find type `TcpStream` in this scope
--> ../../src/eager_unix.rs:38:16
|
38 | tcp_stream: &TcpStream,
| ^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
2 | use std::net::TcpStream;
|
error[E0412]: cannot find type `TcpListener` in this scope
--> ../../src/eager_unix.rs:60:18
|
60 | tcp_listener: &TcpListener,
| ^^^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
2 | use std::net::TcpListener;
|
error: unused import: `url::Url`
--> ../../src/deno_dir.rs:21:5
|
21 | use url::Url;
| ^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
error: unused import: `url::ParseError::*`
--> ../../src/errors.rs:61:13
|
61 | use url::ParseError::*;
| ^^^^^^^^^^^^^^^^^^
error: unused import: `getopts::Options`
--> ../../src/flags.rs:5:5
|
5 | use getopts::Options;
| ^^^^^^^^^^^^^^^^
error: unused import: `rand::Rng`
--> ../../src/fs.rs:3:5
|
3 | use rand::Rng;
| ^^^^^^^^^
error: unused import: `hyper::body::Payload`
--> ../../src/http_body.rs:4:5
|
4 | use hyper::body::Payload;
| ^^^^^^^^^^^^^^^^^^^^
error: unused import: `hyper::Body`
--> ../../src/http_body.rs:5:5
|
5 | use hyper::Body;
| ^^^^^^^^^^^
error: unused import: `hyper::Chunk`
--> ../../src/http_body.rs:6:5
|
6 | use hyper::Chunk;
| ^^^^^^^^^^^^
error: unused import: `tokio::io::AsyncRead`
--> ../../src/http_body.rs:10:5
|
10 | use tokio::io::AsyncRead;
| ^^^^^^^^^^^^^^^^^^^^
error: unused imports: `Client`, `HttpConnector`
--> ../../src/http_util.rs:9:21
|
9 | use hyper::client::{Client, HttpConnector};
| ^^^^^^ ^^^^^^^^^^^^^
error: unused import: `hyper::header::CONTENT_TYPE`
--> ../../src/http_util.rs:10:5
|
10 | use hyper::header::CONTENT_TYPE;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `hyper::Uri`
--> ../../src/http_util.rs:11:5
|
11 | use hyper::Uri;
| ^^^^^^^^^^
error: unused import: `http::header::HeaderName`
--> ../../src/msg_util.rs:6:5
|
6 | use http::header::HeaderName;
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `http::uri::Uri`
--> ../../src/msg_util.rs:7:5
|
7 | use http::uri::Uri;
| ^^^^^^^^^^^^^^
error: unused import: `hyper::header::HeaderMap`
--> ../../src/msg_util.rs:9:5
|
9 | use hyper::header::HeaderMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `hyper::header::HeaderValue`
--> ../../src/msg_util.rs:10:5
|
10 | use hyper::header::HeaderValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `hyper::Body`
--> ../../src/msg_util.rs:11:5
|
11 | use hyper::Body;
| ^^^^^^^^^^^
error: unused import: `hyper::Request`
--> ../../src/msg_util.rs:12:5
|
12 | use hyper::Request;
| ^^^^^^^^^^^^^^
error: unused import: `hyper::Response`
--> ../../src/msg_util.rs:13:5
|
13 | use hyper::Response;
| ^^^^^^^^^^^^^^^
error: unused import: `std::str::FromStr`
--> ../../src/msg_util.rs:14:5
|
14 | use std::str::FromStr;
| ^^^^^^^^^^^^^^^^^
error: unused import: `flatbuffers::FlatBufferBuilder`
--> ../../src/ops.rs:19:5
|
19 | use flatbuffers::FlatBufferBuilder;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `hyper::rt::Future`
--> ../../src/ops.rs:24:5
|
24 | use hyper::rt::Future;
| ^^^^^^^^^^^^^^^^^
error: unused import: `tokio::net::TcpListener`
--> ../../src/ops.rs:41:5
|
41 | use tokio::net::TcpListener;
| ^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `tokio::net::TcpStream`
--> ../../src/ops.rs:42:5
|
42 | use tokio::net::TcpStream;
| ^^^^^^^^^^^^^^^^^^^^^
error: unused import: `tokio_process::CommandExt`
--> ../../src/ops.rs:43:5
|
43 | use tokio_process::CommandExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `rustyline`
--> ../../src/repl.rs:7:5
|
7 | use rustyline;
| ^^^^^^^^^
error: unused import: `rustyline::error::ReadlineError::Interrupted`
--> ../../src/repl.rs:8:5
|
8 | use rustyline::error::ReadlineError::Interrupted;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unused imports: `AsyncRead`, `AsyncWrite`
--> ../../src/resources.rs:35:17
|
35 | use tokio::io::{AsyncRead, AsyncWrite};
| ^^^^^^^^^ ^^^^^^^^^^
error: unused import: `tokio::net::TcpStream`
--> ../../src/resources.rs:36:5
|
36 | use tokio::net::TcpStream;
| ^^^^^^^^^^^^^^^^^^^^^
error: unused import: `tokio::net::TcpStream`
--> ../../src/tokio_util.rs:11:5
|
11 | use tokio::net::TcpStream;
| ^^^^^^^^^^^^^^^^^^^^^
error: unused import: `tokio::io::AsyncWrite`
--> ../../src/tokio_write.rs:5:5
|
5 | use tokio::io::AsyncWrite;
| ^^^^^^^^^^^^^^^^^^^^^
error: unused imports: `TcpListener`, `TcpStream`
--> ../../src/eager_unix.rs:11:18
|
11 | use tokio::net::{TcpListener, TcpStream};
| ^^^^^^^^^^^ ^^^^^^^^^
error: aborting due to 134 previous errors
Some errors occurred: E0405, E0412, E0425, E0432, E0433.
For more information about an error, try `rustc --explain E0405`.
[2/9] ACTION //:test_rs_bin_rustc(//build/toolchain/mac:clang_x64)
FAILED: rust_crates/test_rs_bin.o
python ../../build_extra/rust/run.py rustc ../../src/main.rs --crate-name=test_rs_bin --crate-type=bin --emit=obj,dep-info --out-dir=rust_crates -Cextra-filename= -Cmetadata=\"_rustc\ 1.31.0\ \(abe02cefd\ 2018-12-04\)\" -L dependency=rust_crates --color=always -g --test -Dwarnings --extern atty=rust_crates/libatty.rlib --extern dirs=rust_crates/libdirs.rlib --extern futures=rust_crates/libfutures.rlib --extern getopts=rust_crates/libgetopts.rlib --extern http=rust_crates/libhttp.rlib --extern hyper=rust_crates/libhyper.rlib --extern hyper_rustls=rust_crates/libhyper_rustls.rlib --extern lazy_static=rust_crates/liblazy_static.rlib --extern libc=rust_crates/liblibc.rlib --extern log=rust_crates/liblog.rlib --extern rand=rust_crates/librand.rlib --extern remove_dir_all=rust_crates/libremove_dir_all.rlib --extern ring=rust_crates/libring.rlib --extern rustyline=rust_crates/librustyline.rlib --extern serde_json=rust_crates/libserde_json.rlib --extern source_map_mappings=rust_crates/libsource_map_mappings.rlib --extern tempfile=rust_crates/libtempfile.rlib --extern tokio=rust_crates/libtokio.rlib --extern tokio_executor=rust_crates/libtokio_executor.rlib --extern tokio_fs=rust_crates/libtokio_fs.rlib --extern tokio_io=rust_crates/libtokio_io.rlib --extern tokio_process=rust_crates/libtokio_process.rlib --extern tokio_threadpool=rust_crates/libtokio_threadpool.rlib --extern url=rust_crates/liburl.rlib --extern flatbuffers=rust_crates/libflatbuffers.rlib
error[E0432]: unresolved import `dirs`
--> ../../src/main.rs:2:5
|
2 | use dirs;
| ^^^^ no `dirs` in the root
error[E0432]: unresolved import `flatbuffers`
--> ../../src/main.rs:3:5
|
3 | use flatbuffers;
| ^^^^^^^^^^^ no `flatbuffers` in the root
error[E0432]: unresolved import `getopts`
--> ../../src/main.rs:4:5
|
4 | use getopts;
| ^^^^^^^ no `getopts` in the root
error[E0432]: unresolved import `hyper`
--> ../../src/main.rs:5:5
|
5 | use hyper;
| ^^^^^ no `hyper` in the root
error[E0432]: unresolved import `hyper_rustls`
--> ../../src/main.rs:6:5
|
6 | use hyper_rustls;
| ^^^^^^^^^^^^ no `hyper_rustls` in the root
error[E0432]: unresolved import `rand`
--> ../../src/main.rs:7:5
|
7 | use rand;
| ^^^^ no `rand` in the root
error[E0432]: unresolved import `ring`
--> ../../src/main.rs:8:5
|
8 | use ring;
| ^^^^ no `ring` in the root
error[E0432]: unresolved import `serde_json`
--> ../../src/main.rs:9:5
|
9 | use serde_json;
| ^^^^^^^^^^ no `serde_json` in the root
error[E0432]: unresolved import `tokio`
--> ../../src/main.rs:10:5
|
10 | use tokio;
| ^^^^^ no `tokio` in the root
error[E0432]: unresolved import `tokio_executor`
--> ../../src/main.rs:11:5
|
11 | use tokio_executor;
| ^^^^^^^^^^^^^^ no `tokio_executor` in the root
error[E0432]: unresolved import `tokio_io`
--> ../../src/main.rs:12:5
|
12 | use tokio_io;
| ^^^^^^^^ no `tokio_io` in the root
error[E0432]: unresolved import `tokio_process`
--> ../../src/main.rs:13:5
|
13 | use tokio_process;
| ^^^^^^^^^^^^^ no `tokio_process` in the root
error[E0432]: unresolved import `tokio_threadpool`
--> ../../src/main.rs:14:5
|
14 | use tokio_threadpool;
| ^^^^^^^^^^^^^^^^ no `tokio_threadpool` in the root
error[E0432]: unresolved import `url`
--> ../../src/main.rs:15:5
|
15 | use url;
| ^^^ no `url` in the root
error[E0432]: unresolved import `tempfile`
--> ../../src/deno_dir.rs:19:5
|
19 | use tempfile::TempDir;
| ^^^^^^^^ maybe a missing `extern crate tempfile;`?
error[E0432]: unresolved import `libc`
--> ../../src/flags.rs:6:5
|
6 | use libc::c_int;
| ^^^^ maybe a missing `extern crate libc;`?
error[E0432]: unresolved import `libc`
--> ../../src/isolate.rs:17:5
|
17 | use libc::c_void;
| ^^^^ maybe a missing `extern crate libc;`?
error[E0432]: unresolved import `source_map_mappings`
--> ../../src/js_errors.rs:13:5
|
13 | use source_map_mappings::parse_mappings;
| ^^^^^^^^^^^^^^^^^^^ maybe a missing `extern crate source_map_mappings;`?
error[E0432]: unresolved import `source_map_mappings`
--> ../../src/js_errors.rs:14:5
|
14 | use source_map_mappings::Bias;
| ^^^^^^^^^^^^^^^^^^^ maybe a missing `extern crate source_map_mappings;`?
error[E0432]: unresolved import `source_map_mappings`
--> ../../src/js_errors.rs:15:5
|
15 | use source_map_mappings::Mappings;
| ^^^^^^^^^^^^^^^^^^^ maybe a missing `extern crate source_map_mappings;`?
error[E0432]: unresolved import `libc`
--> ../../src/libdeno.rs:2:5
|
2 | use libc::c_char;
| ^^^^ maybe a missing `extern crate libc;`?
error[E0432]: unresolved import `libc`
--> ../../src/libdeno.rs:3:5
|
3 | use libc::c_int;
| ^^^^ maybe a missing `extern crate libc;`?
error[E0433]: failed to resolve: maybe a missing `extern crate http;`?
--> ../../src/msg_util.rs:6:5
|
6 | use http::header::HeaderName;
| ^^^^ maybe a missing `extern crate http;`?
error[E0433]: failed to resolve: maybe a missing `extern crate http;`?
--> ../../src/msg_util.rs:7:5
|
7 | use http::uri::Uri;
| ^^^^ maybe a missing `extern crate http;`?
error[E0432]: unresolved import `libc`
--> ../../src/libdeno.rs:4:5
|
4 | use libc::c_void;
| ^^^^ maybe a missing `extern crate libc;`?
error[E0432]: unresolved import `http`
--> ../../src/msg_util.rs:8:5
|
8 | use http::Method;
| ^^^^ maybe a missing `extern crate http;`?
error[E0432]: unresolved import `remove_dir_all`
--> ../../src/ops.rs:25:5
|
25 | use remove_dir_all::remove_dir_all;
| ^^^^^^^^^^^^^^ maybe a missing `extern crate remove_dir_all;`?
error[E0432]: unresolved import `atty`
--> ../../src/permissions.rs:6:5
|
6 | use atty;
| ^^^^ no `atty` in the root
error[E0433]: failed to resolve: maybe a missing `extern crate rustyline;`?
--> ../../src/repl.rs:8:5
|
8 | use rustyline::error::ReadlineError::Interrupted;
| ^^^^^^^^^ maybe a missing `extern crate rustyline;`?
error[E0432]: unresolved import `rustyline`
--> ../../src/repl.rs:7:5
|
7 | use rustyline;
| ^^^^^^^^^ no `rustyline` in the root
error[E0432]: unresolved import `rustyline`
--> ../../src/repl.rs:14:5
|
14 | use rustyline::Editor;
| ^^^^^^^^^ maybe a missing `extern crate rustyline;`?
error[E0433]: failed to resolve: use of undeclared type or module `Url`
--> ../../src/deno_dir.rs:316:15
|
316 | let r = Url::from_directory_path(&containing_file);
| ^^^ use of undeclared type or module `Url`
error[E0433]: failed to resolve: use of undeclared type or module `Url`
--> ../../src/deno_dir.rs:392:13
|
392 | let url = Url::parse("http://example.com:1234/path/to/file.ts").unwrap();
| ^^^ use of undeclared type or module `Url`
error[E0433]: failed to resolve: use of undeclared type or module `Url`
--> ../../src/deno_dir.rs:853:5
|
853 | Url::parse(p)
| ^^^ use of undeclared type or module `Url`
error[E0433]: failed to resolve: use of undeclared type or module `Url`
--> ../../src/deno_dir.rs:855:5
|
855 | Url::from_file_path(p).map_err(|_err| url::ParseError::IdnaError)
| ^^^ use of undeclared type or module `Url`
error[E0433]: failed to resolve: use of undeclared type or module `Options`
--> ../../src/flags.rs:123:18
|
123 | let mut opts = Options::new();
| ^^^^^^^ use of undeclared type or module `Options`
error[E0433]: failed to resolve: use of undeclared type or module `Body`
--> ../../src/http_body.rs:93:14
|
93 | let body = Body::from("hello world");
| ^^^^ use of undeclared type or module `Body`
error[E0433]: failed to resolve: use of undeclared type or module `Client`
--> ../../src/http_util.rs:26:3
|
26 | Client::builder().build(c)
| ^^^^^^ use of undeclared type or module `Client`
error[E0433]: failed to resolve: use of undeclared type or module `Uri`
--> ../../src/http_util.rs:46:5
|
46 | Uri::from_parts(new_uri_parts).unwrap()
| ^^^ use of undeclared type or module `Uri`
error[E0433]: failed to resolve: use of undeclared type or module `Uri`
--> ../../src/http_util.rs:52:5
|
52 | Uri::from_parts(new_uri_parts).unwrap()
| ^^^ use of undeclared type or module `Uri`
error[E0433]: failed to resolve: use of undeclared type or module `Request`
--> ../../src/msg_util.rs:99:15
|
99 | let mut r = Request::new(body);
| ^^^^^^^ use of undeclared type or module `Request`
error[E0433]: failed to resolve: use of undeclared type or module `Uri`
--> ../../src/msg_util.rs:104:11
|
104 | let u = Uri::from_str(u).unwrap();
| ^^^ use of undeclared type or module `Uri`
error[E0433]: failed to resolve: use of undeclared type or module `HeaderName`
--> ../../src/msg_util.rs:117:18
|
117 | let name = HeaderName::from_bytes(key.as_bytes()).unwrap();
| ^^^^^^^^^^ use of undeclared type or module `HeaderName`
error[E0433]: failed to resolve: use of undeclared type or module `HeaderValue`
--> ../../src/msg_util.rs:119:15
|
119 | let v = HeaderValue::from_str(value).unwrap();
| ^^^^^^^^^^^ use of undeclared type or module `HeaderValue`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:131:26
|
131 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:149:28
|
149 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:185:21
|
185 | let mut builder = FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:263:24
|
263 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:371:22
|
371 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:423:28
|
423 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:509:24
|
509 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:597:26
|
597 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:671:30
|
671 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:709:30
|
709 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:775:24
|
775 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:856:24
|
856 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:885:24
|
885 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:932:24
|
932 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1058:24
|
1058 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1093:22
|
1093 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1127:24
|
1127 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `TcpListener`
--> ../../src/ops.rs:1193:20
|
1193 | let listener = TcpListener::bind(&addr)?;
| ^^^^^^^^^^^ use of undeclared type or module `TcpListener`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1196:24
|
1196 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1217:22
|
1217 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `TcpStream`
--> ../../src/ops.rs:1280:12
|
1280 | let op = TcpStream::connect(&addr)
| ^^^^^^^^^ use of undeclared type or module `TcpStream`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1294:22
|
1294 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1318:22
|
1318 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1417:22
|
1417 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `FlatBufferBuilder`
--> ../../src/ops.rs:1464:24
|
1464 | let builder = &mut FlatBufferBuilder::new();
| ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FlatBufferBuilder`
error[E0433]: failed to resolve: use of undeclared type or module `TcpStream`
--> ../../src/resources.rs:152:11
|
152 | TcpStream::shutdown(f, how).map_err(DenoError::from)
| ^^^^^^^^^ use of undeclared type or module `TcpStream`
error[E0412]: cannot find type `Url` in this scope
--> ../../src/deno_dir.rs:310:12
|
310 | let j: Url = if containing_file == "."
| ^^^ did you mean `url`?
error[E0412]: cannot find type `Url` in this scope
--> ../../src/deno_dir.rs:373:45
|
373 | fn get_cache_filename(basedir: &Path, url: &Url) -> PathBuf {
| ^^^ did you mean `url`?
error[E0412]: cannot find type `Options` in this scope
--> ../../src/flags.rs:33:25
|
33 | pub fn get_usage(opts: &Options) -> String {
| ^^^^^^^ did you mean `Option`?
help: possible candidates are found in other modules, you can import them into scope
|
2 | use resources::test::Options;
|
2 | use resources::test::test::Options;
|
error[E0412]: cannot find type `Options` in this scope
--> ../../src/flags.rs:56:10
|
56 | opts: &Options,
| ^^^^^^^ did you mean `Option`?
help: possible candidates are found in other modules, you can import them into scope
|
2 | use resources::test::Options;
|
2 | use resources::test::test::Options;
|
error[E0412]: cannot find type `Body` in this scope
--> ../../src/http_body.rs:15:9
|
15 | body: Body,
| ^^^^ not found in this scope
error[E0412]: cannot find type `Chunk` in this scope
--> ../../src/http_body.rs:16:17
|
16 | chunk: Option<Chunk>,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Body` in this scope
--> ../../src/http_body.rs:21:21
|
21 | pub fn from(body: Body) -> Self {
| ^^^^ not found in this scope
error[E0405]: cannot find trait `AsyncRead` in this scope
--> ../../src/http_body.rs:36:6
|
36 | impl AsyncRead for HttpBody {
| ^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `HttpConnector` in this scope
--> ../../src/http_util.rs:14:47
|
14 | type Connector = hyper_rustls::HttpsConnector<HttpConnector>;
| ^^^^^^^^^^^^^ did you mean `Connector`?
error[E0412]: cannot find type `Client` in this scope
--> ../../src/http_util.rs:23:24
|
23 | pub fn get_client() -> Client<Connector, hyper::Body> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:31:41
|
31 | fn resolve_uri_from_location(base_uri: &Uri, location: &str) -> Uri {
| ^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:31:65
|
31 | fn resolve_uri_from_location(base_uri: &Uri, location: &str) -> Uri {
| ^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:35:16
|
35 | .parse::<Uri>()
| ^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:40:16
|
40 | .parse::<Uri>()
| ^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:59:33
|
59 | let url = module_name.parse::<Uri>().unwrap();
| ^^^ not found in this scope
error[E0425]: cannot find value `CONTENT_TYPE` in this scope
--> ../../src/http_util.rs:91:12
|
91 | .get(CONTENT_TYPE)
| ^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:132:40
|
132 | let url = "http://deno.land".parse::<Uri>().unwrap();
| ^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:139:41
|
139 | let url = "https://deno.land".parse::<Uri>().unwrap();
| ^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:146:42
|
146 | let url = "http://deno.land/x".parse::<Uri>().unwrap();
| ^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:154:42
|
154 | let url = "http://deno.land/x".parse::<Uri>().unwrap();
| ^^^ not found in this scope
error[E0412]: cannot find type `Uri` in this scope
--> ../../src/http_util.rs:162:42
|
162 | let url = "http://deno.land/x".parse::<Uri>().unwrap();
| ^^^ not found in this scope
error[E0412]: cannot find type `HeaderMap` in this scope
--> ../../src/msg_util.rs:16:16
|
16 | type Headers = HeaderMap<HeaderValue>;
| ^^^^^^^^^ did you mean `Headers`?
error[E0412]: cannot find type `HeaderValue` in this scope
--> ../../src/msg_util.rs:16:26
|
16 | type Headers = HeaderMap<HeaderValue>;
| ^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Request` in this scope
--> ../../src/msg_util.rs:36:7
|
36 | r: &Request<Body>,
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `Body` in this scope
--> ../../src/msg_util.rs:36:15
|
36 | r: &Request<Body>,
| ^^^^ not found in this scope
error[E0412]: cannot find type `Response` in this scope
--> ../../src/msg_util.rs:80:7
|
80 | r: &Response<Body>,
| ^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Body` in this scope
--> ../../src/msg_util.rs:80:16
|
80 | r: &Response<Body>,
| ^^^^ not found in this scope
error[E0412]: cannot find type `Body` in this scope
--> ../../src/msg_util.rs:97:9
|
97 | body: Body,
| ^^^^ not found in this scope
error[E0412]: cannot find type `Request` in this scope
--> ../../src/msg_util.rs:98:6
|
98 | ) -> Request<Body> {
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `Body` in this scope
--> ../../src/msg_util.rs:98:14
|
98 | ) -> Request<Body> {
| ^^^^ not found in this scope
error[E0412]: cannot find type `FlatBufferBuilder` in this scope
--> ../../src/ops.rs:228:17
|
228 | builder: &mut FlatBufferBuilder<'_>,
| ^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `TcpStream` in this scope
--> ../../src/ops.rs:1213:38
|
1213 | fn new_conn(cmd_id: u32, tcp_stream: TcpStream) -> OpResult {
| ^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
2 | use std::net::TcpStream;
|
error[E0412]: cannot find type `TcpStream` in this scope
--> ../../src/resources.rs:125:42
|
125 | pub fn poll_accept(&mut self) -> Poll<(TcpStream, SocketAddr), Error> {
| ^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
12 | use std::net::TcpStream;
|
error[E0405]: cannot find trait `AsyncRead` in this scope
--> ../../src/resources.rs:166:6
|
166 | impl AsyncRead for Resource {
| ^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `AsyncWrite` in this scope
--> ../../src/resources.rs:195:6
|
195 | impl AsyncWrite for Resource {
| ^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `TcpStream` in this scope
--> ../../src/tokio_util.rs:61:16
|
61 | type Item = (TcpStream, SocketAddr);
| ^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
2 | use std::net::TcpStream;
|
error[E0405]: cannot find trait `AsyncWrite` in this scope
--> ../../src/tokio_write.rs:30:6
|
30 | A: AsyncWrite,
| ^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `AsyncWrite` in this scope
--> ../../src/tokio_write.rs:40:6
|
40 | A: AsyncWrite,
| ^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `TcpStream` in this scope
--> ../../src/eager_unix.rs:15:16
|
15 | tcp_stream: &TcpStream,
| ^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
2 | use std::net::TcpStream;
|
error[E0412]: cannot find type `TcpStream` in this scope
--> ../../src/eager_unix.rs:38:16
|
38 | tcp_stream: &TcpStream,
| ^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
2 | use std::net::TcpStream;
|
error[E0412]: cannot find type `TcpListener` in this scope
--> ../../src/eager_unix.rs:60:18
|
60 | tcp_listener: &TcpListener,
| ^^^^^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
2 | use std::net::TcpListener;
|
error: unused import: `url::Url`
--> ../../src/deno_dir.rs:21:5
|
21 | use url::Url;
| ^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
error: unused import: `url::ParseError::*`
--> ../../src/errors.rs:61:13
|
61 | use url::ParseError::*;
| ^^^^^^^^^^^^^^^^^^
error: unused import: `getopts::Options`
--> ../../src/flags.rs:5:5
|
5 | use getopts::Options;
| ^^^^^^^^^^^^^^^^
error: unused import: `rand::Rng`
--> ../../src/fs.rs:3:5
|
3 | use rand::Rng;
| ^^^^^^^^^
error: unused import: `hyper::body::Payload`
--> ../../src/http_body.rs:4:5
|
4 | use hyper::body::Payload;
| ^^^^^^^^^^^^^^^^^^^^
error: unused import: `hyper::Body`
--> ../../src/http_body.rs:5:5
|
5 | use hyper::Body;
| ^^^^^^^^^^^
error: unused import: `hyper::Chunk`
--> ../../src/http_body.rs:6:5
|
6 | use hyper::Chunk;
| ^^^^^^^^^^^^
error: unused import: `tokio::io::AsyncRead`
--> ../../src/http_body.rs:10:5
|
10 | use tokio::io::AsyncRead;
| ^^^^^^^^^^^^^^^^^^^^
error: unused imports: `Client`, `HttpConnector`
--> ../../src/http_util.rs:9:21
|
9 | use hyper::client::{Client, HttpConnector};
| ^^^^^^ ^^^^^^^^^^^^^
error: unused import: `hyper::header::CONTENT_TYPE`
--> ../../src/http_util.rs:10:5
|
10 | use hyper::header::CONTENT_TYPE;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `hyper::Uri`
--> ../../src/http_util.rs:11:5
|
11 | use hyper::Uri;
| ^^^^^^^^^^
error: unused import: `http::header::HeaderName`
--> ../../src/msg_util.rs:6:5
|
6 | use http::header::HeaderName;
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `http::uri::Uri`
--> ../../src/msg_util.rs:7:5
|
7 | use http::uri::Uri;
| ^^^^^^^^^^^^^^
error: unused import: `hyper::header::HeaderMap`
--> ../../src/msg_util.rs:9:5
|
9 | use hyper::header::HeaderMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `hyper::header::HeaderValue`
--> ../../src/msg_util.rs:10:5
|
10 | use hyper::header::HeaderValue;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `hyper::Body`
--> ../../src/msg_util.rs:11:5
|
11 | use hyper::Body;
| ^^^^^^^^^^^
error: unused import: `hyper::Request`
--> ../../src/msg_util.rs:12:5
|
12 | use hyper::Request;
| ^^^^^^^^^^^^^^
error: unused import: `hyper::Response`
--> ../../src/msg_util.rs:13:5
|
13 | use hyper::Response;
| ^^^^^^^^^^^^^^^
error: unused import: `std::str::FromStr`
--> ../../src/msg_util.rs:14:5
|
14 | use std::str::FromStr;
| ^^^^^^^^^^^^^^^^^
error: unused import: `flatbuffers::FlatBufferBuilder`
--> ../../src/ops.rs:19:5
|
19 | use flatbuffers::FlatBufferBuilder;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `hyper::rt::Future`
--> ../../src/ops.rs:24:5
|
24 | use hyper::rt::Future;
| ^^^^^^^^^^^^^^^^^
error: unused import: `tokio::net::TcpListener`
--> ../../src/ops.rs:41:5
|
41 | use tokio::net::TcpListener;
| ^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `tokio::net::TcpStream`
--> ../../src/ops.rs:42:5
|
42 | use tokio::net::TcpStream;
| ^^^^^^^^^^^^^^^^^^^^^
error: unused import: `tokio_process::CommandExt`
--> ../../src/ops.rs:43:5
|
43 | use tokio_process::CommandExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
error: unused import: `rustyline`
--> ../../src/repl.rs:7:5
|
7 | use rustyline;
| ^^^^^^^^^
error: unused import: `rustyline::error::ReadlineError::Interrupted`
--> ../../src/repl.rs:8:5
|
8 | use rustyline::error::ReadlineError::Interrupted;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: unused imports: `AsyncRead`, `AsyncWrite`
--> ../../src/resources.rs:35:17
|
35 | use tokio::io::{AsyncRead, AsyncWrite};
| ^^^^^^^^^ ^^^^^^^^^^
error: unused import: `tokio::net::TcpStream`
--> ../../src/resources.rs:36:5
|
36 | use tokio::net::TcpStream;
| ^^^^^^^^^^^^^^^^^^^^^
error: unused import: `tokio::net::TcpStream`
--> ../../src/tokio_util.rs:11:5
|
11 | use tokio::net::TcpStream;
| ^^^^^^^^^^^^^^^^^^^^^
error: unused import: `tokio::io::AsyncWrite`
--> ../../src/tokio_write.rs:5:5
|
5 | use tokio::io::AsyncWrite;
| ^^^^^^^^^^^^^^^^^^^^^
error: unused imports: `TcpListener`, `TcpStream`
--> ../../src/eager_unix.rs:11:18
|
11 | use tokio::net::{TcpListener, TcpStream};
| ^^^^^^^^^^^ ^^^^^^^^^
error: aborting due to 142 previous errors
Some errors occurred: E0405, E0412, E0425, E0432, E0433.
For more information about an error, try `rustc --explain E0405`.
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment