[INFO] updating cached repository https://github.com/zihuyishi/org_blog [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0698ec5e40fcc794fa1432a170852825106245c1 [INFO] testing zihuyishi/org_blog against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzihuyishi%2Forg_blog" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zihuyishi/org_blog on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] crate git repo https://github.com/zihuyishi/org_blog already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 924008de6f089beba428fb355185d11fe40c6bd8c4a2eff444c90c9c36cb4e26 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "924008de6f089beba428fb355185d11fe40c6bd8c4a2eff444c90c9c36cb4e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "924008de6f089beba428fb355185d11fe40c6bd8c4a2eff444c90c9c36cb4e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "924008de6f089beba428fb355185d11fe40c6bd8c4a2eff444c90c9c36cb4e26", kill_on_drop: false }` [INFO] [stdout] 924008de6f089beba428fb355185d11fe40c6bd8c4a2eff444c90c9c36cb4e26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b1f74aa58e10c268005108de71d37dc88ad94130b31a7c69ea9f2208bc55cc2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2b1f74aa58e10c268005108de71d37dc88ad94130b31a7c69ea9f2208bc55cc2", kill_on_drop: false }` [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling filetime v0.1.15 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling plugin v0.2.6 [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 router v0.6.0 [INFO] [stderr] Compiling logger v0.4.0 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling staticfile v0.5.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling org_blog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/utils/load_config.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let f = try!(File::open("config.json")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/utils/load_config.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | try!(reader.read_to_string(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/routers/api.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | routers: HashMap>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/ls_blog.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | / lazy_static! { [INFO] [stdout] 124 | | static ref G_BLOGS: RwLock = RwLock::new(BlogsKeeper::new()); [INFO] [stdout] 125 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/utils/ls_blog.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | / lazy_static! { [INFO] [stdout] 124 | | static ref G_BLOGS: RwLock = RwLock::new(BlogsKeeper::new()); [INFO] [stdout] 125 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `path` on type `iron::Url` [INFO] [stdout] --> src/routers/api.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | match self.routers.get(&req.url.path.join("/")) { [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 35 | match self.routers.get(&req.url.path().join("/")) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `query` on type `iron::Url` [INFO] [stdout] --> src/routers/api.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 70 | let result: String = match req.url.query { [INFO] [stdout] | ^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 70 | let result: String = match req.url.query() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/ls_blog.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | return Some(Value::Object(map)); [INFO] [stdout] | ^^^ expected struct `serde_json::Map`, found struct `std::collections::BTreeMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found struct `std::collections::BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `org_blog`. [INFO] [stdout] error[E0599]: no method named `as_boolean` found for enum `serde_json::Value` in the current scope [INFO] [stdout] --> src/utils/load_config.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | f.as_boolean() [INFO] [stdout] | ^^^^^^^^^^ help: there is an associated function with a similar name: `is_boolean` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0599]: no method named `as_string` found for enum `serde_json::Value` in the current scope [INFO] [stdout] --> src/utils/load_config.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | f.as_string().and_then(|s| Some(s.to_string())) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `is_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2b1f74aa58e10c268005108de71d37dc88ad94130b31a7c69ea9f2208bc55cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b1f74aa58e10c268005108de71d37dc88ad94130b31a7c69ea9f2208bc55cc2", kill_on_drop: false }` [INFO] [stdout] 2b1f74aa58e10c268005108de71d37dc88ad94130b31a7c69ea9f2208bc55cc2