[INFO] cloning repository https://github.com/zihuyishi/org_blog [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zihuyishi/org_blog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzihuyishi%2Forg_blog"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzihuyishi%2Forg_blog'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0698ec5e40fcc794fa1432a170852825106245c1 [INFO] testing zihuyishi/org_blog against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzihuyishi%2Forg_blog" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zihuyishi/org_blog on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/zihuyishi/org_blog [INFO] finished tweaking git repo https://github.com/zihuyishi/org_blog [INFO] tweaked toml for git repo https://github.com/zihuyishi/org_blog written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/zihuyishi/org_blog already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4fc2a0ceb2389f071d6f6d588ddcb1f091d88b8f4dfa66c213841b467440fca4 [INFO] running `"docker" "start" "-a" "4fc2a0ceb2389f071d6f6d588ddcb1f091d88b8f4dfa66c213841b467440fca4"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling filetime v0.1.15 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling mount v0.4.0 [INFO] [stderr] Compiling logger v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling staticfile v0.5.0 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling org_blog v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utils/load_config.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | let f = try!(File::open("config.json")); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/utils/load_config.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | try!(reader.read_to_string(&mut buffer)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/routers/api.rs:10:34 [INFO] [stderr] | [INFO] [stderr] 10 | routers: HashMap>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils/ls_blog.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | / lazy_static! { [INFO] [stderr] 124 | | static ref G_BLOGS: RwLock = RwLock::new(BlogsKeeper::new()); [INFO] [stderr] 125 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/utils/ls_blog.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | / lazy_static! { [INFO] [stderr] 124 | | static ref G_BLOGS: RwLock = RwLock::new(BlogsKeeper::new()); [INFO] [stderr] 125 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `path` on type `iron::Url` [INFO] [stderr] --> src/routers/api.rs:35:41 [INFO] [stderr] | [INFO] [stderr] 35 | match self.routers.get(&req.url.path.join("/")) { [INFO] [stderr] | ^^^^ method, not a field [INFO] [stderr] | [INFO] [stderr] help: use parentheses to call the method [INFO] [stderr] | [INFO] [stderr] 35 | match self.routers.get(&req.url.path().join("/")) { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `query` on type `iron::Url` [INFO] [stderr] --> src/routers/api.rs:70:40 [INFO] [stderr] | [INFO] [stderr] 70 | let result: String = match req.url.query { [INFO] [stderr] | ^^^^^ method, not a field [INFO] [stderr] | [INFO] [stderr] help: use parentheses to call the method [INFO] [stderr] | [INFO] [stderr] 70 | let result: String = match req.url.query() { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils/ls_blog.rs:66:39 [INFO] [stderr] | [INFO] [stderr] 66 | return Some(Value::Object(map)); [INFO] [stderr] | ^^^ expected struct `serde_json::Map`, found struct `std::collections::BTreeMap` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `serde_json::Map` [INFO] [stderr] found struct `std::collections::BTreeMap` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_boolean` found for enum `serde_json::Value` in the current scope [INFO] [stderr] --> src/utils/load_config.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | f.as_boolean() [INFO] [stderr] | ^^^^^^^^^^ help: there is an associated function with a similar name: `is_boolean` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_string` found for enum `serde_json::Value` in the current scope [INFO] [stderr] --> src/utils/load_config.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | f.as_string().and_then(|s| Some(s.to_string())) [INFO] [stderr] | ^^^^^^^^^ help: there is an associated function with a similar name: `is_string` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0599, E0615. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `org_blog`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4fc2a0ceb2389f071d6f6d588ddcb1f091d88b8f4dfa66c213841b467440fca4"` [INFO] running `"docker" "rm" "-f" "4fc2a0ceb2389f071d6f6d588ddcb1f091d88b8f4dfa66c213841b467440fca4"` [INFO] [stdout] 4fc2a0ceb2389f071d6f6d588ddcb1f091d88b8f4dfa66c213841b467440fca4