{"action":"created","issue":{"url":"https://api.github.com/repos/zonyitoo/shadowsocks-rust/issues/16","labels_url":"https://api.github.com/repos/zonyitoo/shadowsocks-rust/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/zonyitoo/shadowsocks-rust/issues/16/comments","events_url":"https://api.github.com/repos/zonyitoo/shadowsocks-rust/issues/16/events","html_url":"https://github.com/zonyitoo/shadowsocks-rust/issues/16","id":115457303,"number":16,"title":"运行cargo build，遇到错误，如何解决？","user":{"login":"luckypoem","id":1657864,"avatar_url":"https://avatars.githubusercontent.com/u/1657864?v=3","gravatar_id":"","url":"https://api.github.com/users/luckypoem","html_url":"https://github.com/luckypoem","followers_url":"https://api.github.com/users/luckypoem/followers","following_url":"https://api.github.com/users/luckypoem/following{/other_user}","gists_url":"https://api.github.com/users/luckypoem/gists{/gist_id}","starred_url":"https://api.github.com/users/luckypoem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckypoem/subscriptions","organizations_url":"https://api.github.com/users/luckypoem/orgs","repos_url":"https://api.github.com/users/luckypoem/repos","events_url":"https://api.github.com/users/luckypoem/events{/privacy}","received_events_url":"https://api.github.com/users/luckypoem/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-11-06T08:08:22Z","updated_at":"2015-11-11T08:58:39Z","closed_at":"2015-11-10T01:21:04Z","body":"hi.\r\n\r\nroot@AR:~/shadowsocks-rust# ls\r\nCargo.toml  examples  LICENSE  README.md  src\r\nroot@AR:~/shadowsocks-rust# cargo build\r\n    Updating git repository `https://github.com/zonyitoo/libsodium-sys.git`\r\n    Updating git repository `https://github.com/zonyitoo/coio-rs.git`\r\n    Updating registry `https://github.com/rust-lang/crates.io-index`\r\n    Updating git repository `https://github.com/zonyitoo/lru-cache.git`\r\n    Updating git repository `https://github.com/carllerche/mio.git`\r\n    Updating git repository `https://github.com/zonyitoo/context-rs.git`\r\n    Updating git repository `https://github.com/alexcrichton/miow`\r\n    Updating git repository `https://github.com/carllerche/bytes`\r\n    Updating git repository `https://github.com/carllerche/nix-rust`\r\n   Compiling pkg-config v0.3.6\r\n   Compiling slab v0.1.2\r\n   Compiling winapi-build v0.1.1\r\n   Compiling cfg-if v0.1.0\r\n   Compiling libc v0.1.12\r\n   Compiling ansi_term v0.6.3\r\n   Compiling libc v0.2.1\r\n   Compiling bytes v0.2.10 (https://github.com/carllerche/bytes?rev=7edb577d0a#7edb577d)\r\n   Compiling bitflags v0.3.2\r\n   Compiling strsim v0.4.0\r\n   Compiling byteorder v0.3.13\r\n   Compiling linked-hash-map v0.0.6\r\n/root/.cargo/registry/src/github.com-121aea75f9ef2ce2/linked-hash-map-0.0.6/src/lib.rs:31:1: 31:28 error: #[feature] may not be used on the stable release channel\r\n/root/.cargo/registry/src/github.com-121aea75f9ef2ce2/linked-hash-map-0.0.6/src/lib.rs:31 #![feature(hashmap_hasher)]\r\n                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/root/.cargo/registry/src/github.com-121aea75f9ef2ce2/linked-hash-map-0.0.6/src/lib.rs:32:1: 32:21 error: #[feature] may not be used on the stable release channel\r\n/root/.cargo/registry/src/github.com-121aea75f9ef2ce2/linked-hash-map-0.0.6/src/lib.rs:32 #![feature(box_raw)]\r\n                                                                                          ^~~~~~~~~~~~~~~~~~~~\r\n/root/.cargo/registry/src/github.com-121aea75f9ef2ce2/linked-hash-map-0.0.6/src/lib.rs:33:1: 33:24 error: #[feature] may not be used on the stable release channel\r\n/root/.cargo/registry/src/github.com-121aea75f9ef2ce2/linked-hash-map-0.0.6/src/lib.rs:33 #![feature(iter_order)]\r\n                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~\r\nerror: aborting due to 3 previous errors\r\n   Compiling winapi v0.2.4\r\n   Compiling rustc-serialize v0.3.16\r\n   Compiling advapi32-sys v0.1.2\r\n   Compiling ws2_32-sys v0.1.0\r\n   Compiling kernel32-sys v0.1.4\r\n   Compiling log v0.3.3\r\n   Compiling libsodium-sys v0.1.1 (https://github.com/zonyitoo/libsodium-sys.git#bf59b517)\r\n   Compiling nix v0.4.1 (https://github.com/carllerche/nix-rust?rev=ad87c3bdc9#ad87c3bd)\r\n   Compiling clap v1.4.7\r\nBuild failed, waiting for other jobs to finish...\r\nCould not compile `linked-hash-map`.\r\n\r\nTo learn more, run the command again with --verbose.\r\nroot@AR:~/shadowsocks-rust#\r\n\r\nhow to fix it?\r\nthanks!"},"comment":{"url":"https://api.github.com/repos/zonyitoo/shadowsocks-rust/issues/comments/155708397","html_url":"https://github.com/zonyitoo/shadowsocks-rust/issues/16#issuecomment-155708397","issue_url":"https://api.github.com/repos/zonyitoo/shadowsocks-rust/issues/16","id":155708397,"user":{"login":"luckypoem","id":1657864,"avatar_url":"https://avatars.githubusercontent.com/u/1657864?v=3","gravatar_id":"","url":"https://api.github.com/users/luckypoem","html_url":"https://github.com/luckypoem","followers_url":"https://api.github.com/users/luckypoem/followers","following_url":"https://api.github.com/users/luckypoem/following{/other_user}","gists_url":"https://api.github.com/users/luckypoem/gists{/gist_id}","starred_url":"https://api.github.com/users/luckypoem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luckypoem/subscriptions","organizations_url":"https://api.github.com/users/luckypoem/orgs","repos_url":"https://api.github.com/users/luckypoem/repos","events_url":"https://api.github.com/users/luckypoem/events{/privacy}","received_events_url":"https://api.github.com/users/luckypoem/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T08:58:38Z","updated_at":"2015-11-11T08:58:38Z","body":"hi.\r\n我在另一台64位的vps上运行curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly失败。不知为何？\r\n\r\nroot@VM:~# uname -a\r\nLinux VM 2.6.32-042stab111.11 #1 SMP Tue Sep 1 18:19:12 MSK 2015 x86_64 x86_64 x         86_64 GNU/Linux\r\nroot@VM:~# curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel                                                                                        =nightly\r\n\r\nWelcome to Rust.\r\n\r\nWARNING: This script appears to be running as root. While it will work\r\ncorrectly, it is no longer necessary for rustup.sh to run as root.\r\n\r\nThis script will download the Rust compiler and its package manager, Cargo, and\r\ninstall them to /usr/local. You may install elsewhere by running this script\r\nwith the --prefix=<path> option.\r\n\r\nThe installer will run under 'sudo' and may ask you for your password. If you do\r\nnot want the script to run 'sudo' then pass it the --disable-sudo flag.\r\n\r\nYou may uninstall later by running /usr/local/lib/rustlib/uninstall.sh,\r\nor by running this script again with the --uninstall flag.\r\n\r\nContinue? (y/N) y\r\n\r\nrustup: gpg available. signatures will be verified\r\nrustup: downloading manifest for 'nightly'\r\nrustup: downloading toolchain for 'nightly'\r\n######################################################################## 100.0%\r\ngpg: Signature made Mon Nov  9 05:12:35 2015 EST using RSA key ID 7B3B09DC\r\ngpg: Good signature from \"Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>\"\r\ngpg: WARNING: This key is not certified with a trusted signature!\r\ngpg:          There is no indication that the signature belongs to the owner.\r\nPrimary key fingerprint: 108F 6620 5EAE B0AA A8DD  5E1C 85AB 96E6 FA1B E5FE\r\n     Subkey fingerprint: C134 66B7 E169 A085 1886  3216 5CB4 A934 7B3B 09DC\r\nrustup: extracting installer\r\n^[[B^[[Brustup: installing toolchain for 'nightly'\r\nsh: 1386: sudo: not found\r\nrustup: command failed: sudo sh /root/.rustup/tmp/tmp-15956-10/rust-nightly-x86_64-unknown-linux-gnu/install.sh --prefix=/usr/local\r\nrustup: failed to install toolchain\r\nroot@VM:~#\r\n谢谢你"}}