[INFO] updating cached repository https://github.com/huonw/multibuilder [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3a651a72b276ee45ff66f588414f5fded4a04391 [INFO] checking huonw/multibuilder against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuonw%2Fmultibuilder" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huonw/multibuilder on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/huonw/multibuilder [INFO] finished tweaking git repo https://github.com/huonw/multibuilder [INFO] tweaked toml for git repo https://github.com/huonw/multibuilder written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/huonw/multibuilder already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/rust-lang/glob` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 36e647ae6efa4524d230b6115392548f35e7f10310625e1612b287c54d1f6546 [INFO] running `"docker" "start" "-a" "36e647ae6efa4524d230b6115392548f35e7f10310625e1612b287c54d1f6546"` [INFO] [stderr] Checking glob v0.3.0 (https://github.com/rust-lang/glob#f54e935e) [INFO] [stderr] Checking multibuilder v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stderr] --> src/task_worker.rs:41:28 [INFO] [stderr] | [INFO] [stderr] 41 | task::spawn(proc() { [INFO] [stderr] | ^ expected one of `)`, `,`, `.`, `?`, or an operator here [INFO] [stderr] [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `let` [INFO] [stderr] --> src/task_worker.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 53 | println!("Building {}", hash.value) [INFO] [stderr] | - help: a semicolon may be missing here [INFO] [stderr] ... [INFO] [stderr] 56 | let hash_dir = build_dir.join(hash.value.as_slice()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `unused_variable` [INFO] [stderr] --> src/git.rs:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | #[allow(unused_variable)] // error handling should be better [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stderr] --> src/task_worker.rs:41:28 [INFO] [stderr] | [INFO] [stderr] 41 | task::spawn(proc() { [INFO] [stderr] | ^ expected one of `)`, `,`, `.`, `?`, or an operator here [INFO] [stderr] [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `let` [INFO] [stderr] --> src/task_worker.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 53 | println!("Building {}", hash.value) [INFO] [stderr] | - help: a semicolon may be missing here [INFO] [stderr] ... [INFO] [stderr] 56 | let hash_dir = build_dir.join(hash.value.as_slice()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `unused_variable` [INFO] [stderr] --> src/git.rs:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | #[allow(unused_variable)] // error handling should be better [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::fs` [INFO] [stderr] --> src/main.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | use std::io::fs::PathExtensions; [INFO] [stderr] | ^^ could not find `fs` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::Command` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::io::Command as IoCommand; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::Append`, `std::io::ReadWrite`, `std::io::File`, `std::io::timer` [INFO] [stderr] --> src/main.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | use std::io::{Append, ReadWrite, stdout, File, timer}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^ no `timer` in `io` [INFO] [stderr] | | | | [INFO] [stderr] | | | no `File` in `io` [INFO] [stderr] | | no `ReadWrite` in `io` [INFO] [stderr] | no `Append` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::fs` [INFO] [stderr] --> src/commit_walker.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::fs::File; [INFO] [stderr] | ^^ could not find `fs` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::fs` [INFO] [stderr] --> src/git.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::fs::PathExtensions; [INFO] [stderr] | ^^ could not find `fs` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::process` [INFO] [stderr] --> src/git.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::process::{Command, ProcessOutput}; [INFO] [stderr] | ^^^^^^^ could not find `process` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::process` [INFO] [stderr] --> src/task_worker.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::process::ProcessOutput; [INFO] [stderr] | ^^^^^^^ could not find `process` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::comm` [INFO] [stderr] --> src/task_worker.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{task, str, comm}; [INFO] [stderr] | ^^^^ no `comm` in the root [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `phase` in this scope [INFO] [stderr] --> src/main.rs:9:3 [INFO] [stderr] | [INFO] [stderr] 9 | #[phase(plugin, link)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/commit_walker.rs:73:21 [INFO] [stderr] | [INFO] [stderr] 73 | info!("Next candidate is too old, not building"); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/commit_walker.rs:81:25 [INFO] [stderr] | [INFO] [stderr] 81 | info!("Parent too old, not building"); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/git.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | #[deriving(Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/git.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | #[deriving(Clone, Encodable, Decodable, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/git.rs:18:3 [INFO] [stderr] | [INFO] [stderr] 18 | #[deriving(Clone, PartialEq, Eq, Hash, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/git.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | info!("{} already exists, reusing", dir.display()); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/git.rs:47:17 [INFO] [stderr] | [INFO] [stderr] 47 | fail!("Couldn't copy {} to {}: `{}` `{}`", [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `warn` in this scope [INFO] [stderr] --> src/git.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 66 | warn!("Repo.rev_parse failed with {}: {} {}", [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `warn` in this scope [INFO] [stderr] --> src/git.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | warn!("Repo.checkout failed with {}: {} {}", [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `warn` in this scope [INFO] [stderr] --> src/git.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | warn!("Repo.pull failed with {}: {} {}", [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/build.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/build.rs:22:3 [INFO] [stderr] | [INFO] [stderr] 22 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `error` in this scope [INFO] [stderr] --> src/task_worker.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | error!("TaskWorker dropped!") [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug` in this scope [INFO] [stderr] --> src/task_worker.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | debug!("main task hung up? bailing"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug` in this scope [INFO] [stderr] --> src/task_worker.rs:68:17 [INFO] [stderr] | [INFO] [stderr] 68 | debug!("Finished a built with {}", result); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug` in this scope [INFO] [stderr] --> src/task_worker.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | debug!("status success: {}", status.success()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `warn` in this scope [INFO] [stderr] --> src/task_worker.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | warn!("run_build {} {} failed with {}: {} {}", [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:36:3 [INFO] [stderr] | [INFO] [stderr] 36 | #[deriving(Encodable, Decodable, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:59:3 [INFO] [stderr] | [INFO] [stderr] 59 | #[deriving(Encodable, Decodable, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:69:3 [INFO] [stderr] | [INFO] [stderr] 69 | #[deriving(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:78:23 [INFO] [stderr] | [INFO] [stderr] 78 | Err(e) => fail!("couldn't open {} ({})", p.display(), e), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:98:21 [INFO] [stderr] | [INFO] [stderr] 98 | Err(err) => fail!("{}", err), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/main.rs:174:23 [INFO] [stderr] | [INFO] [stderr] 174 | None => { info!("No more commits to build"); break }, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/main.rs:180:17 [INFO] [stderr] | [INFO] [stderr] 180 | info!("Sending {} to worker {}", hash.value, i); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/main.rs:188:13 [INFO] [stderr] | [INFO] [stderr] 188 | info!("No more builds, running when_finished"); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug` in this scope [INFO] [stderr] --> src/main.rs:190:17 [INFO] [stderr] | [INFO] [stderr] 190 | debug!("Running {}", cmd); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `error` in this scope [INFO] [stderr] --> src/main.rs:196:21 [INFO] [stderr] | [INFO] [stderr] 196 | error!("{} failed", cmd.name); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug` in this scope [INFO] [stderr] --> src/main.rs:210:21 [INFO] [stderr] | [INFO] [stderr] 210 | debug!("removing a worker, other end hung up"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:243:33 [INFO] [stderr] | [INFO] [stderr] 243 | ... fail!("mkdir failed on {} with {}", [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:269:41 [INFO] [stderr] | [INFO] [stderr] 269 | ... fail!("mv failed with {}", str::from_utf8(mv.error.as_slice())) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:280:41 [INFO] [stderr] | [INFO] [stderr] 280 | ... fail!("rm failed on {} with {}", p.display(), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug` in this scope [INFO] [stderr] --> src/main.rs:295:21 [INFO] [stderr] | [INFO] [stderr] 295 | debug!("Removing worker, it's useless now"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Bounded` in `num` [INFO] [stderr] --> src/commit_walker.rs:28:64 [INFO] [stderr] | [INFO] [stderr] 28 | earliest_build: earliest_build.unwrap_or(std::num::Bounded::min_value()), [INFO] [stderr] | ^^^^^^^ could not find `Bounded` in `num` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | Path::new(matches.opt_str("c").unwrap()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:108:17 [INFO] [stderr] | [INFO] [stderr] 108 | Path::new(matches.opt_str("config").unwrap()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | Path::new("config.json") [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:113:17 [INFO] [stderr] | [INFO] [stderr] 113 | Path::new(matches.opt_str("a").unwrap()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:115:17 [INFO] [stderr] | [INFO] [stderr] 115 | Path::new(matches.opt_str("already-built").unwrap()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | Path::new("already-built.txt") [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:146:28 [INFO] [stderr] | [INFO] [stderr] 146 | let build_dir = is_dir(Path::new(config.build_parent_dir.as_slice())); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | let main_repo_dir = is_dir(Path::new(config.main_repo.as_slice())); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:156:20 [INFO] [stderr] | [INFO] [stderr] 156 | is_dir(Path::new(output.parent_dir.as_slice())); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:233:49 [INFO] [stderr] | [INFO] [stderr] 233 | ... let suboutput_dir = Path::new(output.parent_dir.as_slice()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/git.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | pub path: Path [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/git.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(p: Path) -> Repo { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/git.rs:31:36 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn new_subrepo(&self, dir: Path) -> Repo { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/git.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | from_str(time.trim()) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use serialize::json::from_str; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/build.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | Local(Path), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/build.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | impl fmt::Show for BuiltLocation { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Local` in this scope [INFO] [stderr] --> src/build.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let Local(ref p) = *self; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use build::BuiltLocation::Local; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/task_worker.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | pub stream: (Sender, Receiver) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 12 | pub stream: (Send, Receiver) [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/task_worker.rs:12:44 [INFO] [stderr] | [INFO] [stderr] 12 | pub stream: (Sender, Receiver) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/task_worker.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new(build_dir: Path, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in module `task` [INFO] [stderr] --> src/task_worker.rs:41:15 [INFO] [stderr] | [INFO] [stderr] 41 | task::spawn(proc() { [INFO] [stderr] | ^^^^^ not found in `task` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `proc` in this scope [INFO] [stderr] --> src/task_worker.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | task::spawn(proc() { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `BuildHash` in module `build` [INFO] [stderr] --> src/task_worker.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | build::BuildHash(hash) => { [INFO] [stderr] | ^^^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use build::BuildInstruction::BuildHash; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Success` in module `build` [INFO] [stderr] --> src/task_worker.rs:61:36 [INFO] [stderr] | [INFO] [stderr] 61 | ... build::Success(build::Local(subrepo.path), hash) [INFO] [stderr] | ^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use build::BuildResult::Success; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Local` in module `build` [INFO] [stderr] --> src/task_worker.rs:61:51 [INFO] [stderr] | [INFO] [stderr] 61 | ... build::Success(build::Local(subrepo.path), hash) [INFO] [stderr] | ^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use build::BuiltLocation::Local; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Failure` in module `build` [INFO] [stderr] --> src/task_worker.rs:63:36 [INFO] [stderr] | [INFO] [stderr] 63 | ... build::Failure(ha... [INFO] [stderr] | ^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use build::BuildResult::Failure; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/main.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | fn is_dir(p: Path) -> Path { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/main.rs:31:23 [INFO] [stderr] | [INFO] [stderr] 31 | fn is_dir(p: Path) -> Path { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:40:32 [INFO] [stderr] | [INFO] [stderr] 40 | num_local_builders: Option, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/main.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | fn load(p: &Path) -> Config { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Reader` in this scope [INFO] [stderr] --> src/main.rs:81:61 [INFO] [stderr] | [INFO] [stderr] 81 | let json = json::from_reader(reader as &mut Reader).ok().expect(msg.as_slice()); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stderr] --> src/main.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | let args = std::os::args(); [INFO] [stderr] | ^^^^ not found in `std::os` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stderr] --> src/main.rs:92:23 [INFO] [stderr] | [INFO] [stderr] 92 | vec![getopts::optopt("c", "config", "configuration file (default ./config.json)", "PATH"), [INFO] [stderr] | ^^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stderr] --> src/main.rs:93:20 [INFO] [stderr] | [INFO] [stderr] 93 | getopts::optopt("a", "already-built", [INFO] [stderr] | ^^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stderr] --> src/main.rs:95:20 [INFO] [stderr] | [INFO] [stderr] 95 | getopts::optflag("h", "help", "show this help message")]; [INFO] [stderr] | ^^^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stderr] --> src/main.rs:97:60 [INFO] [stderr] | [INFO] [stderr] 97 | let (config_path, already_built_path) = match getopts::getopts(args.tail(), opts.as_slice()) { [INFO] [stderr] | ^^^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stderr] --> src/main.rs:101:41 [INFO] [stderr] | [INFO] [stderr] 101 | println!("{}", getopts::usage(args[0].as_slice(), opts.as_slice())); [INFO] [stderr] | ^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:172:14 [INFO] [stderr] | [INFO] [stderr] 172 | for i in range(0, num_workers) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `BuildHash` in module `build` [INFO] [stderr] --> src/main.rs:181:36 [INFO] [stderr] | [INFO] [stderr] 181 | worker.send(build::BuildHash(hash)); [INFO] [stderr] | ^^^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use build::BuildInstruction::BuildHash; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:206:28 [INFO] [stderr] | [INFO] [stderr] 206 | 'scanner: for i in range(0, workers.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Failure` in module `build` [INFO] [stderr] --> src/main.rs:214:27 [INFO] [stderr] | [INFO] [stderr] 214 | Ok(build::Failure(hash)) => { [INFO] [stderr] | ^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use build::BuildResult::Failure; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Success` in module `build` [INFO] [stderr] --> src/main.rs:223:27 [INFO] [stderr] | [INFO] [stderr] 223 | Ok(build::Success(loc, hash)) => { [INFO] [stderr] | ^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use build::BuildResult::Success; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Local` in module `build` [INFO] [stderr] --> src/main.rs:249:40 [INFO] [stderr] | [INFO] [stderr] 249 | ... build::Local(p) => { [INFO] [stderr] | ^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use build::BuiltLocation::Local; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `BuildHash` in module `build` [INFO] [stderr] --> src/main.rs:299:54 [INFO] [stderr] | [INFO] [stderr] 299 | Some(hash) => workers[i].send(build::BuildHash(hash)), [INFO] [stderr] | ^^^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use build::BuildInstruction::BuildHash; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `stdout` [INFO] [stderr] --> src/main.rs:14:34 [INFO] [stderr] | [INFO] [stderr] 14 | use std::io::{Append, ReadWrite, stdout, File, timer}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Sha` [INFO] [stderr] --> src/main.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | use git::{Repo, Sha}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `str` [INFO] [stderr] --> src/task_worker.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{task, str, comm}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | extern crate serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | extern crate getopts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | extern crate term; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use serialize::Decodable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use serialize::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:205:24 [INFO] [stderr] | [INFO] [stderr] 205 | let mut term = term::stdout().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:216:29 [INFO] [stderr] | [INFO] [stderr] 216 | term.fg(term::color::RED).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:225:29 [INFO] [stderr] | [INFO] [stderr] 225 | term.fg(term::color::GREEN).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | extern crate log; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:81:28 [INFO] [stderr] | [INFO] [stderr] 81 | let json = json::from_reader(reader as &mut Reader).ok().expect(msg.as_slice()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | Decodable::decode(&mut json::Decoder::new(json)).unwrap() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:82:40 [INFO] [stderr] | [INFO] [stderr] 82 | Decodable::decode(&mut json::Decoder::new(json)).unwrap() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 100 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0531, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error[E0432]: unresolved import `std::io::fs` [INFO] [stderr] --> src/main.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | use std::io::fs::PathExtensions; [INFO] [stderr] | ^^ could not find `fs` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::Command` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::io::Command as IoCommand; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::Append`, `std::io::ReadWrite`, `std::io::File`, `std::io::timer` [INFO] [stderr] --> src/main.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 14 | use std::io::{Append, ReadWrite, stdout, File, timer}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^ no `timer` in `io` [INFO] [stderr] | | | | [INFO] [stderr] | | | no `File` in `io` [INFO] [stderr] | | no `ReadWrite` in `io` [INFO] [stderr] | no `Append` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::fs` [INFO] [stderr] --> src/commit_walker.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::fs::File; [INFO] [stderr] | ^^ could not find `fs` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::fs` [INFO] [stderr] --> src/git.rs:2:14 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::fs::PathExtensions; [INFO] [stderr] | ^^ could not find `fs` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::process` [INFO] [stderr] --> src/git.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::process::{Command, ProcessOutput}; [INFO] [stderr] | ^^^^^^^ could not find `process` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::process` [INFO] [stderr] --> src/task_worker.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::process::ProcessOutput; [INFO] [stderr] | ^^^^^^^ could not find `process` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::comm` [INFO] [stderr] --> src/task_worker.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{task, str, comm}; [INFO] [stderr] | ^^^^ no `comm` in the root [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `phase` in this scope [INFO] [stderr] --> src/main.rs:9:3 [INFO] [stderr] | [INFO] [stderr] 9 | #[phase(plugin, link)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/commit_walker.rs:73:21 [INFO] [stderr] | [INFO] [stderr] 73 | info!("Next candidate is too old, not building"); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/commit_walker.rs:81:25 [INFO] [stderr] | [INFO] [stderr] 81 | info!("Parent too old, not building"); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/git.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | #[deriving(Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/git.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | #[deriving(Clone, Encodable, Decodable, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/git.rs:18:3 [INFO] [stderr] | [INFO] [stderr] 18 | #[deriving(Clone, PartialEq, Eq, Hash, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/git.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | info!("{} already exists, reusing", dir.display()); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/git.rs:47:17 [INFO] [stderr] | [INFO] [stderr] 47 | fail!("Couldn't copy {} to {}: `{}` `{}`", [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `warn` in this scope [INFO] [stderr] --> src/git.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 66 | warn!("Repo.rev_parse failed with {}: {} {}", [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `warn` in this scope [INFO] [stderr] --> src/git.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | warn!("Repo.checkout failed with {}: {} {}", [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `warn` in this scope [INFO] [stderr] --> src/git.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | warn!("Repo.pull failed with {}: {} {}", [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/build.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/build.rs:22:3 [INFO] [stderr] | [INFO] [stderr] 22 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `error` in this scope [INFO] [stderr] --> src/task_worker.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | error!("TaskWorker dropped!") [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug` in this scope [INFO] [stderr] --> src/task_worker.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | debug!("main task hung up? bailing"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug` in this scope [INFO] [stderr] --> src/task_worker.rs:68:17 [INFO] [stderr] | [INFO] [stderr] 68 | debug!("Finished a built with {}", result); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug` in this scope [INFO] [stderr] --> src/task_worker.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | debug!("status success: {}", status.success()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `warn` in this scope [INFO] [stderr] --> src/task_worker.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | warn!("run_build {} {} failed with {}: {} {}", [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:36:3 [INFO] [stderr] | [INFO] [stderr] 36 | #[deriving(Encodable, Decodable, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:59:3 [INFO] [stderr] | [INFO] [stderr] 59 | #[deriving(Encodable, Decodable, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/main.rs:69:3 [INFO] [stderr] | [INFO] [stderr] 69 | #[deriving(Encodable, Decodable, Clone, Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:78:23 [INFO] [stderr] | [INFO] [stderr] 78 | Err(e) => fail!("couldn't open {} ({})", p.display(), e), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:98:21 [INFO] [stderr] | [INFO] [stderr] 98 | Err(err) => fail!("{}", err), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/main.rs:174:23 [INFO] [stderr] | [INFO] [stderr] 174 | None => { info!("No more commits to build"); break }, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/main.rs:180:17 [INFO] [stderr] | [INFO] [stderr] 180 | info!("Sending {} to worker {}", hash.value, i); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `info` in this scope [INFO] [stderr] --> src/main.rs:188:13 [INFO] [stderr] | [INFO] [stderr] 188 | info!("No more builds, running when_finished"); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug` in this scope [INFO] [stderr] --> src/main.rs:190:17 [INFO] [stderr] | [INFO] [stderr] 190 | debug!("Running {}", cmd); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `error` in this scope [INFO] [stderr] --> src/main.rs:196:21 [INFO] [stderr] | [INFO] [stderr] 196 | error!("{} failed", cmd.name); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug` in this scope [INFO] [stderr] --> src/main.rs:210:21 [INFO] [stderr] | [INFO] [stderr] 210 | debug!("removing a worker, other end hung up"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: could not compile `multibuilder`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:243:33 [INFO] [stderr] | [INFO] [stderr] 243 | ... fail!("mkdir failed on {} with {}", [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:269:41 [INFO] [stderr] | [INFO] [stderr] 269 | ... fail!("mv failed with {}", str::from_utf8(mv.error.as_slice())) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:280:41 [INFO] [stderr] | [INFO] [stderr] 280 | ... fail!("rm failed on {} with {}", p.display(), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `debug` in this scope [INFO] [stderr] --> src/main.rs:295:21 [INFO] [stderr] | [INFO] [stderr] 295 | debug!("Removing worker, it's useless now"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Bounded` in `num` [INFO] [stderr] --> src/commit_walker.rs:28:64 [INFO] [stderr] | [INFO] [stderr] 28 | earliest_build: earliest_build.unwrap_or(std::num::Bounded::min_value()), [INFO] [stderr] | ^^^^^^^ could not find `Bounded` in `num` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | Path::new(matches.opt_str("c").unwrap()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:108:17 [INFO] [stderr] | [INFO] [stderr] 108 | Path::new(matches.opt_str("config").unwrap()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:110:17 [INFO] [stderr] | [INFO] [stderr] 110 | Path::new("config.json") [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:113:17 [INFO] [stderr] | [INFO] [stderr] 113 | Path::new(matches.opt_str("a").unwrap()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:115:17 [INFO] [stderr] | [INFO] [stderr] 115 | Path::new(matches.opt_str("already-built").unwrap()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | Path::new("already-built.txt") [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:146:28 [INFO] [stderr] | [INFO] [stderr] 146 | let build_dir = is_dir(Path::new(config.build_parent_dir.as_slice())); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | let main_repo_dir = is_dir(Path::new(config.main_repo.as_slice())); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:156:20 [INFO] [stderr] | [INFO] [stderr] 156 | is_dir(Path::new(output.parent_dir.as_slice())); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:233:49 [INFO] [stderr] | [INFO] [stderr] 233 | ... let suboutput_dir = Path::new(output.parent_dir.as_slice()) [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/git.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | pub path: Path [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/git.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(p: Path) -> Repo { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/git.rs:31:36 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn new_subrepo(&self, dir: Path) -> Repo { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/git.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | from_str(time.trim()) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use serialize::json::from_str; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/build.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | Local(Path), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stderr] --> src/build.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | impl fmt::Show for BuiltLocation { [INFO] [stderr] | ^^^^ not found in `fmt` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Local` in this scope [INFO] [stderr] --> src/build.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let Local(ref p) = *self; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use build::BuiltLocation::Local; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/task_worker.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | pub stream: (Sender, Receiver) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 12 | pub stream: (Send, Receiver) [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/task_worker.rs:12:44 [INFO] [stderr] | [INFO] [stderr] 12 | pub stream: (Sender, Receiver) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/task_worker.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new(build_dir: Path, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in module `task` [INFO] [stderr] --> src/task_worker.rs:41:15 [INFO] [stderr] | [INFO] [stderr] 41 | task::spawn(proc() { [INFO] [stderr] | ^^^^^ not found in `task` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `proc` in this scope [INFO] [stderr] --> src/task_worker.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | task::spawn(proc() { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `BuildHash` in module `build` [INFO] [stderr] --> src/task_worker.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | build::BuildHash(hash) => { [INFO] [stderr] | ^^^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use build::BuildInstruction::BuildHash; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Success` in module `build` [INFO] [stderr] --> src/task_worker.rs:61:36 [INFO] [stderr] | [INFO] [stderr] 61 | ... build::Success(build::Local(subrepo.path), hash) [INFO] [stderr] | ^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use build::BuildResult::Success; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Local` in module `build` [INFO] [stderr] --> src/task_worker.rs:61:51 [INFO] [stderr] | [INFO] [stderr] 61 | ... build::Success(build::Local(subrepo.path), hash) [INFO] [stderr] | ^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use build::BuiltLocation::Local; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Failure` in module `build` [INFO] [stderr] --> src/task_worker.rs:63:36 [INFO] [stderr] | [INFO] [stderr] 63 | ... build::Failure(ha... [INFO] [stderr] | ^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use build::BuildResult::Failure; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/main.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | fn is_dir(p: Path) -> Path { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/main.rs:31:23 [INFO] [stderr] | [INFO] [stderr] 31 | fn is_dir(p: Path) -> Path { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:40:32 [INFO] [stderr] | [INFO] [stderr] 40 | num_local_builders: Option, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/main.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | fn load(p: &Path) -> Config { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Reader` in this scope [INFO] [stderr] --> src/main.rs:81:61 [INFO] [stderr] | [INFO] [stderr] 81 | let json = json::from_reader(reader as &mut Reader).ok().expect(msg.as_slice()); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `std::os` [INFO] [stderr] --> src/main.rs:89:25 [INFO] [stderr] | [INFO] [stderr] 89 | let args = std::os::args(); [INFO] [stderr] | ^^^^ not found in `std::os` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stderr] --> src/main.rs:92:23 [INFO] [stderr] | [INFO] [stderr] 92 | vec![getopts::optopt("c", "config", "configuration file (default ./config.json)", "PATH"), [INFO] [stderr] | ^^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `optopt` in crate `getopts` [INFO] [stderr] --> src/main.rs:93:20 [INFO] [stderr] | [INFO] [stderr] 93 | getopts::optopt("a", "already-built", [INFO] [stderr] | ^^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `optflag` in crate `getopts` [INFO] [stderr] --> src/main.rs:95:20 [INFO] [stderr] | [INFO] [stderr] 95 | getopts::optflag("h", "help", "show this help message")]; [INFO] [stderr] | ^^^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `getopts` in crate `getopts` [INFO] [stderr] --> src/main.rs:97:60 [INFO] [stderr] | [INFO] [stderr] 97 | let (config_path, already_built_path) = match getopts::getopts(args.tail(), opts.as_slice()) { [INFO] [stderr] | ^^^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `usage` in crate `getopts` [INFO] [stderr] --> src/main.rs:101:41 [INFO] [stderr] | [INFO] [stderr] 101 | println!("{}", getopts::usage(args[0].as_slice(), opts.as_slice())); [INFO] [stderr] | ^^^^^ not found in `getopts` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:172:14 [INFO] [stderr] | [INFO] [stderr] 172 | for i in range(0, num_workers) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `BuildHash` in module `build` [INFO] [stderr] --> src/main.rs:181:36 [INFO] [stderr] | [INFO] [stderr] 181 | worker.send(build::BuildHash(hash)); [INFO] [stderr] | ^^^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use build::BuildInstruction::BuildHash; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:206:28 [INFO] [stderr] | [INFO] [stderr] 206 | 'scanner: for i in range(0, workers.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Failure` in module `build` [INFO] [stderr] --> src/main.rs:214:27 [INFO] [stderr] | [INFO] [stderr] 214 | Ok(build::Failure(hash)) => { [INFO] [stderr] | ^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use build::BuildResult::Failure; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Success` in module `build` [INFO] [stderr] --> src/main.rs:223:27 [INFO] [stderr] | [INFO] [stderr] 223 | Ok(build::Success(loc, hash)) => { [INFO] [stderr] | ^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use build::BuildResult::Success; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Local` in module `build` [INFO] [stderr] --> src/main.rs:249:40 [INFO] [stderr] | [INFO] [stderr] 249 | ... build::Local(p) => { [INFO] [stderr] | ^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use build::BuiltLocation::Local; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `BuildHash` in module `build` [INFO] [stderr] --> src/main.rs:299:54 [INFO] [stderr] | [INFO] [stderr] 299 | Some(hash) => workers[i].send(build::BuildHash(hash)), [INFO] [stderr] | ^^^^^^^^^ not found in `build` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 12 | use build::BuildInstruction::BuildHash; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `stdout` [INFO] [stderr] --> src/main.rs:14:34 [INFO] [stderr] | [INFO] [stderr] 14 | use std::io::{Append, ReadWrite, stdout, File, timer}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Sha` [INFO] [stderr] --> src/main.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | use git::{Repo, Sha}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `str` [INFO] [stderr] --> src/task_worker.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{task, str, comm}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | extern crate serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | extern crate getopts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | extern crate term; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use serialize::Decodable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use serialize::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:205:24 [INFO] [stderr] | [INFO] [stderr] 205 | let mut term = term::stdout().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:216:29 [INFO] [stderr] | [INFO] [stderr] 216 | term.fg(term::color::RED).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:225:29 [INFO] [stderr] | [INFO] [stderr] 225 | term.fg(term::color::GREEN).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | extern crate log; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:81:28 [INFO] [stderr] | [INFO] [stderr] 81 | let json = json::from_reader(reader as &mut Reader).ok().expect(msg.as_slice()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | Decodable::decode(&mut json::Decoder::new(json)).unwrap() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:82:40 [INFO] [stderr] | [INFO] [stderr] 82 | Decodable::decode(&mut json::Decoder::new(json)).unwrap() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 100 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0531, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `multibuilder`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "36e647ae6efa4524d230b6115392548f35e7f10310625e1612b287c54d1f6546"` [INFO] running `"docker" "rm" "-f" "36e647ae6efa4524d230b6115392548f35e7f10310625e1612b287c54d1f6546"` [INFO] [stdout] 36e647ae6efa4524d230b6115392548f35e7f10310625e1612b287c54d1f6546